diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2019-06-05 19:06:41 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-06-05 19:06:41 +0000 |
commit | 578a855aebad71b98dfa551a5c7a7ce942e8d254 (patch) | |
tree | f15ce3d9d137e98bff76d76290092fb747f9381a | |
parent | a2500ef1ae5455f033e321b01179470b51b624aa (diff) | |
download | aports-578a855aebad71b98dfa551a5c7a7ce942e8d254.tar.bz2 aports-578a855aebad71b98dfa551a5c7a7ce942e8d254.tar.xz |
main/krb5: clarify version variables
make code more readable by use better variable names
-rw-r--r-- | main/krb5/APKBUILD | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/main/krb5/APKBUILD b/main/krb5/APKBUILD index 8a9f8da65a..633130ae62 100644 --- a/main/krb5/APKBUILD +++ b/main/krb5/APKBUILD @@ -2,12 +2,6 @@ pkgname=krb5 pkgver=1.17 pkgrel=0 - -case $pkgver in -*.*.*) _ver=${pkgver%.*};; -*) _ver=${pkgver};; -esac - pkgdesc="The Kerberos network authentication system" url="https://web.mit.edu/kerberos/www/" arch="all" @@ -19,7 +13,13 @@ makedepends="$depends_dev libverto-dev openldap-dev openssl-dev options="suid !check" subpackages="$pkgname-dev $pkgname-doc $pkgname-server $pkgname-server-ldap:ldap $pkgname-pkinit $pkgname-libs" -source="https://web.mit.edu/kerberos/dist/krb5/${_ver}/krb5-$pkgver.tar.gz + +_maj_min=$pkgver +case $pkgver in +*.*.*) _maj_min=${pkgver%.*};; +esac + +source="https://web.mit.edu/kerberos/dist/krb5/${_maj_min}/krb5-$pkgver.tar.gz mit-krb5_krb5-config_LDFLAGS.patch krb5kadmind.initd |