diff options
author | davidovski <david@davidovski.xyz> | 2022-01-16 02:27:41 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-01-16 02:27:41 +0000 |
commit | 91ed29d7dda0c5764bfc991985bf98adab0890f0 (patch) | |
tree | 936e59025c55e921ec06ad202991c5b66710abc2 /repo/system/krb5.xibuild | |
parent | cb447620084a20be80d116c81c2e9ec110be7118 (diff) |
added PKG_VER to xibuilds
Diffstat (limited to 'repo/system/krb5.xibuild')
-rw-r--r-- | repo/system/krb5.xibuild | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/repo/system/krb5.xibuild b/repo/system/krb5.xibuild index 8769e1f..c4f3abe 100644 --- a/repo/system/krb5.xibuild +++ b/repo/system/krb5.xibuild @@ -2,7 +2,8 @@ DEPS=(glibc e2fsprogs libldap keyutils) -SOURCE=https://kerberos.org/dist/krb5/1.19/krb5-1.19.2.tar.gz +PKG_VER=1.19.2 +SOURCE=https://kerberos.org/dist/krb5/$(echo $PKG_VER | cut -d. -f-2)/krb5-$PKG_VER.tar.gz DESC="The Kerberos network authentication system" build () { @@ -30,6 +31,6 @@ build () { make make DESTDIR=$PKG_DEST install - install -v -dm755 $PKG_DEST/usr/share/doc/krb5-1.19.2 && - cp -vfr ../doc/* $PKG_DEST/usr/share/doc/krb5-1.19.2 + install -v -dm755 $PKG_DEST/usr/share/doc/krb5-$PKG_VER && + cp -vfr ../doc/* $PKG_DEST/usr/share/doc/krb5-$PKG_VER } |