# Contributor: Daniel Everett # Maintainer: Rasmus Thomsen pkgname=yubikey-manager pkgver=3.1.0 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 py3-click py3-usb py3-pyscard py3-openssl py3-fido2 py3-cryptography py3-setuptools libusb ykpers-dev yubico-c pcsc-lite pcsc-lite-libs" subpackages="py3-ykman" source="https://developers.yubico.com/yubikey-manager/Releases/yubikey-manager-$pkgver.tar.gz" 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="518eedb52cfcf725c13114c433f848b97f711e94fa9c71685916fb8cb20e5bfc431f648b0ec710ef9ebed2bc8ddd8722ca1c9865d7a1b29537b719e167ed5f60 yubikey-manager-3.1.0.tar.gz"