# Maintainer: tuftedocelot@fastmail.fm _pkgname=yubioath-desktop pkgname=yubico-${_pkgname} pkgver=4.3.5 pkgrel=1 pkgdesc="Crossplatform graphical user interface to generate one-time passwords." arch=('x86_64') url="https://developers.yubico.com/yubioath-desktop/" license=('BSD') depends=('pcsclite' 'ccid' 'python-pyotherside' 'yubikey-manager>=0.7.0' 'qt5-quickcontrols') makedepends=('swig' 'qt5-svg' 'libffi' 'openssl' 'qt5-base' 'git') validpgpkeys=('8D0B4EBA9345254BCEC0E843514F078FF4AB24C3' # Dag Heyman '5DE3E0509C47EA3CF04A42D34AEE18F83AFDEB23' # Emil Lundberg '57A9DEED4C6D962A923BB691816F3ED99921835E' # Emil Lundberg ) source=("git+https://github.com/Yubico/${_pkgname}.git#tag=${_pkgname}-${pkgver}?signed") sha256sums=('SKIP') conflicts=('yubico-yubioath-desktop-git') build() { cd "${_pkgname}" qmake-qt5 QMAKE_CFLAGS_RELEASE="${CFLAGS}" QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS}" QMAKE_LFLAGS_RELEASE="${LDFLAGS}" make } package() { cd "${_pkgname}" make INSTALL_ROOT="${pkgdir}/" install install -D -m0644 resources/yubioath-desktop.desktop "${pkgdir}/usr/share/applications/yubioath-desktop.desktop" install -D -m0644 resources/icons/yubioath.png "${pkgdir}/usr/share/pixmaps/yubioath.png" }