aboutsummaryrefslogtreecommitdiffstats
path: root/community/nitrokey-app/APKBUILD
blob: 268556243706a9a2127e0adeffca81fe36a55467 (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=nitrokey-app
pkgver=1.4
pkgrel=0
arch="all"
url="https://nitrokey.com/"
pkgdesc="Nitrokey's Application"
license="GPL-3.0-or-later"
makedepends="cmake libnitrokey-dev qt5-qtbase-dev qt5-qtsvg-dev qt5-qttools-dev cppcodec"
source="https://github.com/Nitrokey/nitrokey-app/archive/v$pkgver/nitrokey-app-v$pkgver.tar.gz"
options="!check" # No tests

build() {
	cmake \
		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	make
}

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

sha512sums="e0a29bd312b5f8bd1a5bd09ac118b9191a9261341e31f59d355e119fce488c23978af804113f96a93d1b5301ad17e53c2cfaefc9f5ec3b37fdd1ba304325f8a9  nitrokey-app-v1.4.tar.gz"