contrib/nextcloud-client/Pkgfile

23 lines
625 B
Plaintext

# Description: Nextcloud desktop client
# URL: https://nextcloud.com/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: libevent pciutils qtkeychain qtwebengine qtwebkit
name=nextcloud-client
version=2.6.0.1
release=1
source=(https://github.com/nextcloud/desktop/archive/v2.6.0/$name-$version.tar.gz)
build() {
cd desktop-2.6.0
mkdir build ; cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_SYSCONFDIR=/etc/nextcloud \
-DNO_SHIBBOLETH=1
make
make DESTDIR=$PKG install
rm -fr $PKG/usr/share/nextcloud/i18n
}