aboutsummaryrefslogtreecommitdiffstats
path: root/community/nextcloud-client/APKBUILD
blob: 4cd454d1c684eeabf17856e5a32be17190f7d6ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=nextcloud-client
pkgver=2.6.0_p1
pkgrel=0
pkgdesc="Nextcloud Desktop Client"
url="https://github.com/nextcloud/desktop"
arch="all"
license="GPL-2.0-only"
makedepends="$depends_dev cmake doxygen qt5-qttools-dev qt5-qtkeychain-dev
	graphviz"
subpackages="$pkgname-dev"
options="!check" # no testsuite
source="$pkgname-$pkgver.tar.gz::https://github.com/nextcloud/desktop/archive/v${pkgver/_p/-fix}.tar.gz
	remove-qtwebengine.patch"
builddir="$srcdir/desktop-${pkgver/_p/-fix}"

build() {
	cmake \
		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_SYSCONFDIR=/etc/$pkgname \
		-DNO_SHIBBOLETH=TRUE \
		-DMIRALL_VERSION_SUFFIX=""
	make all
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="be02ba30e927ab8e025684b602493e549a01ba0f49b66c6a9df98f9627f7fa40ea4c3bc15aa0e057769653478f9b7b222cbe2de52d46f71c611d07912a399c55  nextcloud-client-2.6.0_p1.tar.gz
c45945cea087d6651078edc0d6315d8fa5c5229afbda2fb3a6f934e66c021d94d835bb9c07e0a1066dd6e89fabbb34b566acba5841e460a480e8a45bd7c687cf  remove-qtwebengine.patch"