# Maintainer (Arch): Chih-Hsuan Yen # Contributor (Arch): Tyler Dence # Contributor (Arch): Konstantin Shalygin # parabola changes and rationale: # - removed qt5-webengine dependency # - set athentification to HTTP/Basic _pkgname=nextcloud-client pkgname=nextcloud-client pkgver=2.5.3 _commit=477614b8c954836327eb136be1c035627f09760b pkgrel=1 pkgrel+=.par1 pkgdesc='Nextcloud desktop client, without nonfree qt5-webengine dependency' arch=(x86_64) arch+=('i686' 'armv7h') url='https://nextcloud.com/' license=(GPL) depends=(openssl sqlite qtkeychain qt5-svg xdg-utils) makedepends=(doxygen extra-cmake-modules kio python-sphinx qt5-tools git) optdepends=( 'kio: integration with Dolphin' 'nemo-python: integration with Nemo' 'python-nautilus: integration with Nautilus' 'python2-caja: integration with Caja' ) source=("$pkgname::git+https://github.com/nextcloud/desktop.git?signed#commit=$_commit" auth.patch ) # one of keys controlled by @camilasan; see https://api.github.com/users/camilasan/gpg_keys validpgpkeys=(A26B951528EA1BA1678C7AE5D406C75CEE1A36D6) sha256sums=('SKIP' '9d9509840adec2a11138c376c66d7ea73c45653f985eaebfe08103ee237abd81') backup=('etc/Nextcloud/sync-exclude.lst') prepare() { cd $pkgname patch -Np1 -i ../auth.patch mkdir -p build } build() { cd $pkgname/build cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DNO_SHIBBOLETH=1 \ .. make make doc-man } package() { cd $pkgname/build make DESTDIR="$pkgdir" install }