contrib/nextcloud-client/Pkgfile

28 lines
899 B
Plaintext
Raw Normal View History

2019-06-11 23:45:47 +02:00
# Description: Nextcloud desktop client
# URL: https://nextcloud.com/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: libevent pciutils qtkeychain qtwebengine
2019-06-11 23:45:47 +02:00
name=nextcloud-client
2020-03-04 20:09:38 +01:00
version=2.6.4
2019-06-11 23:45:47 +02:00
release=1
2019-11-06 11:57:24 +01:00
source=(https://github.com/nextcloud/desktop/archive/v$version/$name-$version.tar.gz)
2019-06-11 23:45:47 +02:00
build() {
2019-11-06 11:57:24 +01:00
cd desktop-$version
2019-09-27 20:10:21 +02:00
mkdir build ; cd build
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
2019-06-11 23:45:47 +02:00
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_SYSCONFDIR=/usr/etc/nextcloud \
2019-09-27 20:10:21 +02:00
-DNO_SHIBBOLETH=1
2019-06-11 23:45:47 +02:00
make
make DESTDIR=$PKG install
rm -r $PKG/usr/share/nextcloud
# there are no ports for nautilus nor nemo in CRUX atm
rm -r $PKG/usr/share/{nautilus-python,nemo-python}
# there is caja for mate though, only make it available if it's installed
[[ ! -e /usr/lib/pkgconfig/libcaja-extension.pc ]] && rm -r $PKG/usr/share/caja-python
2019-06-11 23:45:47 +02:00
}