diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-09-08 14:39:13 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-09-08 14:39:13 +0000 |
commit | 02ce0ec4f14ac2a30502b82c770c3af435bf6eb7 (patch) | |
tree | 749b87db1334b431835ffd85b060f88aa98e2f07 /main | |
parent | 9581de6217820045c34c4bf6611ea024d587e324 (diff) | |
download | aports-02ce0ec4f14ac2a30502b82c770c3af435bf6eb7.tar.bz2 aports-02ce0ec4f14ac2a30502b82c770c3af435bf6eb7.tar.xz |
main/gcr: moved from testing
Diffstat (limited to 'main')
-rw-r--r-- | main/gcr/APKBUILD | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/main/gcr/APKBUILD b/main/gcr/APKBUILD new file mode 100644 index 0000000000..5e6026aefd --- /dev/null +++ b/main/gcr/APKBUILD @@ -0,0 +1,51 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=gcr +pkgver=3.12.2 +pkgrel=1 +pkgdesc="A library for bits of crypto UI and parsing" +url="http://live.gnome.org/CryptoGlue/" +arch="all" +license="LGPLv2+" +depends="" +depends_dev="glib-dev gtk+3.0-dev libgcrypt-dev p11-kit-dev" +makedepends="$depends_dev gobject-introspection-dev libxslt vala" +install="" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +source="http://download.gnome.org/sources/gcr/3.12/gcr-$pkgver.tar.xz" + +_builddir="$srcdir"/gcr-$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 \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --enable-introspection \ + --enable-vala \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="8d4564abbbd6c4aa03a68a016c692d96 gcr-3.12.2.tar.xz" +sha256sums="456e20615ab178aa92eeabdea64dcce535c10d5af189171d9375291a2447d21c gcr-3.12.2.tar.xz" +sha512sums="7c74302a4485e6909e39721b0beeeeb5920d218c4e8ab5a1878be33457f2b6d59df165bf2e6b606efc8275b8e45dffe8d28ac202cf835f7f2483237258a4d6b2 gcr-3.12.2.tar.xz" |