summaryrefslogtreecommitdiff
path: root/nextcloud-client/Pkgfile
blob: 5d70a6ed27190e3be88b8275e74fa1fc2c6146a4 (plain)
    1 # Description: Nextcloud desktop client
    2 # URL: https://nextcloud.com/
    3 # Maintainer: Tim Biermann, tbier at posteo dot de
    4 # Depends on: libevent pciutils qtkeychain qtwebengine
    5 
    6 name=nextcloud-client
    7 version=2.6.5
    8 release=1
    9 source=(https://github.com/nextcloud/desktop/archive/v$version/$name-$version.tar.gz)
   10 
   11 build() {
   12   cmake -Sdesktop-$version -Bbuild -GNinja \
   13     -DCMAKE_INSTALL_PREFIX=/usr \
   14     -DCMAKE_INSTALL_LIBDIR=lib \
   15     -DCMAKE_BUILD_TYPE=Release \
   16     -DCMAKE_INSTALL_SYSCONFDIR=/usr/etc/nextcloud \
   17     -DNO_SHIBBOLETH=1
   18   cmake --build build
   19   DESTDIR=$PKG cmake --install build
   20 
   21   rm -r $PKG/usr/share/nextcloud
   22   # there are no ports for nautilus nor nemo in CRUX atm
   23   rm -r $PKG/usr/share/{nautilus-python,nemo-python}
   24   # there is caja for mate though, only make it available if it's installed
   25   [[ ! -e /usr/lib/pkgconfig/libcaja-extension.pc ]] && rm -r $PKG/usr/share/caja-python || true
   26 }

Generated by cgit