aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@alpinelinux.org>2017-11-09 14:59:19 +0000
committerCarlo Landmeter <clandmeter@alpinelinux.org>2017-11-09 15:13:05 +0000
commitc2377ba741266dc878fb6eb4d49fbd8cc610b17e (patch)
tree73b0b695c3b9ed7ad3c54866610f941bb320f4ce /testing
parent5859ad91b3cafde29880b960de6ae7dc75b16cc6 (diff)
downloadaports-c2377ba741266dc878fb6eb4d49fbd8cc610b17e.tar.bz2
aports-c2377ba741266dc878fb6eb4d49fbd8cc610b17e.tar.xz
testing/gpa: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/gpa/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/gpa/APKBUILD b/testing/gpa/APKBUILD
new file mode 100644
index 0000000000..0c46ec7ffa
--- /dev/null
+++ b/testing/gpa/APKBUILD
@@ -0,0 +1,42 @@
+# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
+# Maintainer:
+pkgname=gpa
+pkgver=0.9.10
+pkgrel=0
+pkgdesc="A graphical user interface for the GnuPG"
+url="https://www.gnupg.org/related_software/gpa/"
+arch="all"
+license="GPLv3"
+depends="gpgme-dev gtk+2.0-dev"
+depends_dev=""
+makedepends="$depends_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"