diff options
Diffstat (limited to 'user/gnutls/APKBUILD')
-rw-r--r-- | user/gnutls/APKBUILD | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/user/gnutls/APKBUILD b/user/gnutls/APKBUILD index 8924c70e8..72e454003 100644 --- a/user/gnutls/APKBUILD +++ b/user/gnutls/APKBUILD @@ -2,7 +2,7 @@ # Contributor: Michael Mason <ms13sp@gmail.com> # Maintainer: pkgname=gnutls -pkgver=3.6.6 +pkgver=3.6.7.1 pkgrel=0 pkgdesc="A TLS protocol implementation" url="http://www.gnutls.org/" @@ -15,11 +15,16 @@ checkdepends="diffutils" subpackages="$pkgname-dbg $pkgname-doc $pkgname-dev $pkgname-lang $pkgname-utils $pkgname-c++:xx" _v=${pkgver%.*} +_v2=$pkgver case $pkgver in -*.*.*.*) _v=${_v%.*};; +*.*.*.*) + _v=${_v%.*} + _v2=${pkgver%.*} + ;; esac source="https://www.gnupg.org/ftp/gcrypt/gnutls/v${_v}/$pkgname-$pkgver.tar.xz gnulib-tests-dont-require-gpg-passphrase.patch" +builddir="$srcdir/$pkgname-$_v2" # secfixes: # 3.5.13-r0: @@ -72,5 +77,5 @@ xx() { mv "$pkgdir"/usr/lib/lib*xx.so.* "$subpkgdir"/usr/lib/ } -sha512sums="4ff34f38d7dc543bc5750d8fdfe9be84af60c66e8d41da45f6cffc11d6c6c726784fd2d471b3416604ca1f3f9efb22ff7a290d5c92c96deda38df6ae3e794cc1 gnutls-3.6.6.tar.xz +sha512sums="c3c4178c8663e3d1207aaf771ceb43e7e75a9f11b4ea3a26fde9d04a23762b05bac8fe290b74d63b815a354b79fc3557cfc218c196e1f80eb1fbce762948a926 gnutls-3.6.7.1.tar.xz abc24ee59cc67805fe953535b0bae33080fc8b0bf788304377f6d10ec8c162c4cf203a69c98a4ba3483b4c60ed7a204433cc7db9b8190eddb0d68f6fb6dad52d gnulib-tests-dont-require-gpg-passphrase.patch" |