aboutsummaryrefslogtreecommitdiffstats
path: root/community/nextcloud-client/APKBUILD
blob: 981d60d53e4ff5165aaa601ba591cb113e0d4ce7 (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
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=nextcloud-client
pkgver=2.5.1
pkgrel=1
pkgdesc="Nextcloud Desktop Client"
url="https://github.com/nextcloud/client_theming"
arch="all !x86 !s390x !ppc64le" # qt5-qtwebengine not avail
license="GPL-2.0-only"
makedepends="$depends_dev cmake doxygen qt5-qtwebengine-dev qt5-qttools-dev
	qt5-qtwebkit-dev qt5-qtkeychain-dev"
subpackages="$pkgname-dev"
options="!check" # no testsuite
source="nextcloud-client.tar.gz::https://github.com/nextcloud/desktop/archive/v$pkgver.tar.gz"
builddir="$srcdir"/desktop-$pkgver

build() {
	cd "$builddir"
	cmake \
		-DCMAKE_BUILD_TYPE="Release" \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_SYSCONFDIR=/etc/$pkgname
	make all
}

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

sha512sums="04301f4b6283c4003ec4fed7926e11e2a627903a1b20e0b7cb4bb24b522e133d41001f48c633cad4fe3b100496d3a7826893b78074c2e3985a4c9c90122e3108  nextcloud-client.tar.gz"