forked from ports/contrib
28 lines
951 B
Plaintext
28 lines
951 B
Plaintext
# Description: Nextcloud desktop client
|
|
# URL: https://nextcloud.com/
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: libevent pciutils qtkeychain qtwebengine
|
|
# Optional: doxygen kde5
|
|
|
|
name=nextcloud-client
|
|
version=3.0.1
|
|
release=1
|
|
source=(https://github.com/nextcloud/desktop/archive/v$version/$name-$version-$release.tar.gz)
|
|
|
|
build() {
|
|
cmake -Sdesktop-$version -Bbuild -GNinja \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_SYSCONFDIR=/usr/etc/nextcloud \
|
|
-DNO_SHIBBOLETH=1
|
|
cmake --build build
|
|
DESTDIR=$PKG cmake --install build
|
|
|
|
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 || true
|
|
}
|