aboutsummaryrefslogtreecommitdiffstats
path: root/testing/yubikey-manager/APKBUILD
blob: 709c7c8639ba1aa95cf34e5ff106cb8646156655 (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
35
# Contributor: Daniel Everett <deverett@gmail.com>
# Maintainer: Daniel Everett <deverett@gmail.com>
pkgname=yubikey-manager
pkgver=0.7.1
pkgrel=0
pkgdesc="Python library and command line tool for configuring any YubiKey over all USB interfaces"
url="https://developers.yubico.com/yubikey-manager/"
arch="noarch"
license="BSD-2-Clause"
depends="python3 py3-ykman py-click py-usb py3-pyscard py-openssl py3-fido2
	py-cryptography py-setuptools libusb ykpers-dev yubico-c pcsc-lite
	pcsc-lite-libs"
subpackages="py3-ykman"
source="https://github.com/Yubico/yubikey-manager/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

ykman() {
	mkdir -p "$subpkgdir"/usr/
	mv "$pkgdir"/usr/lib "$subpkgdir"/usr/lib
}


sha512sums="3e9105f1c033f9314b90cf209eb52f7879fa1ea69e9ae6dac8de0b24d7d2ff6e45b6dd530917535fa645d6eea461f5b4f23bb8deb103ffc27d1f3483cfa681c7  yubikey-manager-0.7.1.tar.gz"