aboutsummaryrefslogtreecommitdiffstats
path: root/testing/qtpass/APKBUILD
blob: 4b7332e637ed3b34c643e5243d95fbd8ea1b7adb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Contributor: Thomas Kienlen <kommander@laposte.net>
# Maintainer: Thomas Kienlen <kommander@laposte.net>
pkgname=qtpass
_pkgname=QtPass
pkgver=1.4.0_rc1
_pkgver=${pkgver/_/-}
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/$_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="
e489b344621eebe07e4c4d417fd6f3ff02e005b4cb66beaa4c69a231f9438c5fa50e3b632cbd1b3c1252e33fdd87770a92c6b852e02b73e52b0f19d3f2a4b478  qtpass-1.4.0-rc1.tar.gz
"