Commit 578a855a authored by Natanael Copa's avatar Natanael Copa

main/krb5: clarify version variables

make code more readable by use better variable names
parent a2500ef1
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment