diff options
-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 94e741c25..644dced34 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.7 +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="ae9b8996eb9b7269d28213f0aca3a4a17890ba8d47e3dc3b8e754ab8e2b4251e9412aaaa161a8bf56167f04cc169b4cada46f55a7bde92b955eb36cd717a99f3 gnutls-3.6.7.tar.xz +sha512sums="c3c4178c8663e3d1207aaf771ceb43e7e75a9f11b4ea3a26fde9d04a23762b05bac8fe290b74d63b815a354b79fc3557cfc218c196e1f80eb1fbce762948a926 gnutls-3.6.7.1.tar.xz abc24ee59cc67805fe953535b0bae33080fc8b0bf788304377f6d10ec8c162c4cf203a69c98a4ba3483b4c60ed7a204433cc7db9b8190eddb0d68f6fb6dad52d gnulib-tests-dont-require-gpg-passphrase.patch" |