aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Weiss <luca@z3ntu.xyz>2020-06-07 13:51:39 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-06-07 12:26:52 +0000
commit45f8a2c7b44b710e54e149f9bf01b138d875aef5 (patch)
tree6931a623f4365331a42d0d158bf8807160ed2e0a
parente100ed3cd39722e6106eec18b7c33c61a3b86c59 (diff)
downloadaports-45f8a2c7b44b710e54e149f9bf01b138d875aef5.tar.gz
aports-45f8a2c7b44b710e54e149f9bf01b138d875aef5.tar.bz2
aports-45f8a2c7b44b710e54e149f9bf01b138d875aef5.tar.xz
testing/yubioath-desktop: new aport
-rw-r--r--testing/yubioath-desktop/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/yubioath-desktop/APKBUILD b/testing/yubioath-desktop/APKBUILD
new file mode 100644
index 0000000000..7bf595ebae
--- /dev/null
+++ b/testing/yubioath-desktop/APKBUILD
@@ -0,0 +1,35 @@
+# 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"