aboutsummaryrefslogtreecommitdiffstats
path: root/testing/yubikey-manager-qt/APKBUILD
blob: 66600a66139b6c50b9b7c132ee2e64b714cc8d71 (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=yubikey-manager-qt
pkgver=1.1.3
pkgrel=0
pkgdesc="Cross-platform application for configuring any YubiKey over all USB transports"
url="https://developers.yubico.com/yubikey-manager-qt/"
arch="all"
license="BSD-2-Clause"
depends="py3-ykman python3 py3-pyotherside qt5-qtquickcontrols
	qt5-qtgraphicaleffects"
makedepends="qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtquickcontrols2-dev"
options="!check" # No test suite present
source="https://developers.yubico.com/yubikey-manager-qt/Releases/yubikey-manager-qt-$pkgver.tar.gz
	use-py3.patch"
builddir="$srcdir/$pkgname"

build() {
	qmake-qt5
	make
}

package() {
	make INSTALL_ROOT="$pkgdir" install
	install -D -m0644 resources/ykman-gui.desktop "$pkgdir"/usr/share/applications/ykman-gui.desktop
	install -D -m0644 resources/icons/ykman.png "$pkgdir"/usr/share/pixmaps/ykman.png
}


sha512sums="84bcca3f74967ba8aa470b8dd6c8699ff6a93a85ce942934a1d0cd674a4c507ba297d9a5ebb40bae3476ea713965a7bb3816dad1110a045c338f070eb249f02b  yubikey-manager-qt-1.1.3.tar.gz
d3c0c11032ac7dbfc8d48f08766d3d98061f7382008f7ee257ac2fe4150fc20b14c0003b59b9a642259365b105700d52b6b2ebf4343fb5dfa72125a36a9fe6fb  use-py3.patch"