aboutsummaryrefslogtreecommitdiffstats
path: root/testing/qtpass/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/qtpass/APKBUILD')
-rw-r--r--testing/qtpass/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/qtpass/APKBUILD b/testing/qtpass/APKBUILD
new file mode 100644
index 0000000000..40b5b7f3e2
--- /dev/null
+++ b/testing/qtpass/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Thomas Kienlen <kommander@laposte.net>
+# Maintainer: Thomas Kienlen <kommander@laposte.net>
+pkgname=qtpass
+_pkgname=QtPass
+pkgver=1.3.2
+pkgrel=0
+pkgdesc="Multi-platform GUI for pass"
+url="https://qtpass.org/"
+arch="all"
+license="GPL-3.0-or-later"
+depends="gnupg pwgen"
+makedepends="qt5-qttools-dev qt5-qtsvg-dev"
+source="https://github.com/IJHack/qtpass/archive/v$pkgver/qtpass-$pkgver.tar.gz"
+subpackages="$pkgname-doc"
+
+builddir="$srcdir/$_pkgname-$pkgver"
+
+build() {
+ qmake-qt5
+ make
+}
+
+check() {
+ QT_QPA_PLATFORM=offscreen make check
+}
+
+package() {
+ install -D -m0755 main/qtpass "$pkgdir/usr/bin/$pkgname"
+ install -D -m0644 artwork/icon.png "$pkgdir/usr/share/pixmaps/$pkgname.png"
+ install -D -m0644 $pkgname.desktop "$pkgdir/usr/share/applications/$pkgname.desktop"
+ install -D -m0644 $pkgname.1 "$pkgdir/usr/share/man/man1/$pkgname.1"
+}
+
+sha512sums="9026f74f6ff75fcef2f6a0862484a2a1eaed1370edd0659e8b4d20039affe846e0da3a0a26a804563813bc678638ab67fa516441208e70c7e9de9b2eda876a10 qtpass-1.3.2.tar.gz"