aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gpa/APKBUILD
blob: d5516d98bf91db8022ef90610072364cdce7b22c (plain)
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
38
39
40
41
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer:
pkgname=gpa
pkgver=0.9.10
pkgrel=1
pkgdesc="A graphical user interface for the GnuPG"
url="https://www.gnupg.org/related_software/gpa/"
arch="all"
license="GPLv3"
depends=""
makedepends="gpgme-dev gtk+2.0-dev"
install=""
subpackages="$pkgname-doc"
source="ftp://ftp.gnupg.org/gcrypt/gpa/gpa-$pkgver.tar.bz2"
builddir="$srcdir/gpa-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--disable-nls
	make
}

check() {
	cd "$builddir"
	msg "Running testsuites..."
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="ff81a78e6b7c46307af6648a2e691a5e8185db229ccc5e259f2c3c05a3c86b337dde492069e7e9510c155fbc64d71cc4e2f109a00400bfb7560c558b753c42a9  gpa-0.9.10.tar.bz2"