Skip to content
Snippets Groups Projects
Commit 45f8a2c7 authored by Luca Weiss's avatar Luca Weiss Committed by Rasmus Thomsen
Browse files

testing/yubioath-desktop: new aport

parent e100ed3c
No related branches found
No related tags found
3 merge requests!11958community/rclone: upgrade to 1.52.3,!9763[3.12] community/znc: upgrade to 1.8.1,!8954testing/yubioath-desktop: new aport
# Maintainer: Luca Weiss <luca@z3ntu.xyz>
pkgname=yubioath-desktop
pkgver=5.0.4
pkgrel=0
pkgdesc="Yubico Authenticator for Desktop"
url="https://github.com/Yubico/yubioath-desktop"
arch="all !armhf" # missing qt5-qtquickcontrols2
license="BSD-2-Clause"
depends="py3-pyotherside py3-ykman ccid"
makedepends="qt5-qtquickcontrols2-dev"
source="https://github.com/Yubico/yubioath-desktop/archive/yubioath-desktop-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgname-$pkgver"
options="!check" # No tests
build() {
qmake-qt5 . \
PREFIX=/usr \
QMAKE_CFLAGS_RELEASE="$CFLAGS" \
QMAKE_CXXFLAGS_RELEASE="$CXXFLAGS"
make
}
package() {
make INSTALL_ROOT="$pkgdir" install
install -Dm644 resources/icons/com.yubico.yubioath.svg \
"$pkgdir"/usr/share/pixmaps/com.yubico.yubioath.svg
install -Dm755 resources/com.yubico.yubioath.desktop \
"$pkgdir"/usr/share/applications/com.yubico.yubioath.desktop
install -Dm755 resources/com.yubico.yubioath.appdata.xml \
"$pkgdir"/usr/share/metainfo/com.yubico.yubioath.appdata.xml
}
sha512sums="a10c7f4fb137683183ed5aaca0e996193686857edc2a6a2b86e7bc4257971a747b48aa19cfd72162ea9557d375d080bae0ed26bdfa33c07ed60f8b67572f10a3 yubioath-desktop-5.0.4.tar.gz"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment