# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=yubikey-manager-qt pkgver=1.2.5 pkgrel=1 pkgdesc="Cross-platform application for configuring any YubiKey over all USB transports" url="https://developers.yubico.com/yubikey-manager-qt/" arch="all !armhf" # armhf blocked by qt5-qtdeclarative license="BSD-2-Clause" depends="py3-ykman python3 py3-pyotherside qt5-qtquickcontrols qt5-qtgraphicaleffects yubikey-manager" makedepends="qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtquickcontrols2-dev" options="!check" # No test suite present source="https://github.com/Yubico/yubikey-manager-qt/archive/yubikey-manager-qt-$pkgver.tar.gz use-py3.patch" builddir="$srcdir/$pkgname-$pkgname-$pkgver" 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=" 61cfb04502905ab4f9f0b184d5684c64e9fa08d1fbc26a89e5c19b1de5014a65e6f04bbc56a577ff0d8665e3e92048bed01f650aa3c5d6768eb1021801a9d433 yubikey-manager-qt-1.2.5.tar.gz d3c0c11032ac7dbfc8d48f08766d3d98061f7382008f7ee257ac2fe4150fc20b14c0003b59b9a642259365b105700d52b6b2ebf4343fb5dfa72125a36a9fe6fb use-py3.patch "