diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-03-19 15:49:41 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-03-19 15:49:41 +0000 |
commit | 4b2216ae4eb84eceedf08c48b166389f703ac06e (patch) | |
tree | 22a741c6e9a55053c79ae23aa300a58ba641ba4e /main/gpgme/APKBUILD | |
parent | 6205ca20ac5cda99cec278371cf62d09827334af (diff) | |
download | aports-4b2216ae4eb84eceedf08c48b166389f703ac06e.tar.bz2 aports-4b2216ae4eb84eceedf08c48b166389f703ac06e.tar.xz |
main/gpgme: moved from testing
Diffstat (limited to 'main/gpgme/APKBUILD')
-rw-r--r-- | main/gpgme/APKBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/main/gpgme/APKBUILD b/main/gpgme/APKBUILD new file mode 100644 index 0000000000..bda11b1ff3 --- /dev/null +++ b/main/gpgme/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=gpgme +pkgver=1.3.1 +pkgrel=0 +pkgdesc="gnupg made easy" +url="http://www.gnupg.org/related_software/gpgme/" +arch="all" +license="GPL" +depends=gnupg +depends_dev="libgpg-error-dev libassuan-dev" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-$pkgver.tar.bz2" + +_builddir="$srcdir"/gpgme-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm "$pkgdir"/usr/lib/*.la || return 1 +} + +md5sums="90afa8436ce2b2683c001c824bd22601 gpgme-1.3.1.tar.bz2" |