# Contributor: Daniel Everett # Maintainer: Daniel Everett 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"