summaryrefslogtreecommitdiff
path: root/repo/system/krb5.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-16 02:27:41 +0000
committerdavidovski <david@davidovski.xyz>2022-01-16 02:27:41 +0000
commit91ed29d7dda0c5764bfc991985bf98adab0890f0 (patch)
tree936e59025c55e921ec06ad202991c5b66710abc2 /repo/system/krb5.xibuild
parentcb447620084a20be80d116c81c2e9ec110be7118 (diff)
added PKG_VER to xibuilds
Diffstat (limited to 'repo/system/krb5.xibuild')
-rw-r--r--repo/system/krb5.xibuild7
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
}