diff options
author | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2017-10-18 16:21:09 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2017-10-19 04:37:10 +0000 |
commit | 4776604e8265684cd8f52a50ebeba5c90fdfb99d (patch) | |
tree | 12c1221be983594e05c09b869fc4a53cb60c0c9a /main/gcr | |
parent | 400a9d407533b3a1cdf721c5ede9a52dd455cc87 (diff) | |
download | aports-4776604e8265684cd8f52a50ebeba5c90fdfb99d.tar.bz2 aports-4776604e8265684cd8f52a50ebeba5c90fdfb99d.tar.xz |
main/gcr: update project url and modernize
Diffstat (limited to 'main/gcr')
-rw-r--r-- | main/gcr/APKBUILD | 30 |
1 files changed, 8 insertions, 22 deletions
diff --git a/main/gcr/APKBUILD b/main/gcr/APKBUILD index f8b11cba9e..296936b246 100644 --- a/main/gcr/APKBUILD +++ b/main/gcr/APKBUILD @@ -1,31 +1,20 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=gcr pkgver=3.20.0 -pkgrel=0 +pkgrel=1 pkgdesc="A library for bits of crypto UI and parsing" -url="http://live.gnome.org/CryptoGlue/" +url="https://wiki.gnome.org/Projects/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/${pkgver%.*}/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 -} +builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -35,16 +24,13 @@ build() { --infodir=/usr/share/info \ --localstatedir=/var \ --enable-introspection \ - --enable-vala \ - || return 1 - make || return 1 + --enable-vala + make } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } -md5sums="4314bf89eac293dd0a9d806593ff1b35 gcr-3.20.0.tar.xz" -sha256sums="90572c626d8a708225560c42b4421f7941315247fa1679d4ef569bde7f4bb379 gcr-3.20.0.tar.xz" sha512sums="0acd0fb085a38507b1cc895ac773f91c6f4e14d2ea7e27b8e74c85ef78426597b6ea08ebee696452b0651939ec4a0d8a4a2523c41b3a8a0bd1b0d7b338b1d9c7 gcr-3.20.0.tar.xz" |