From 91ed29d7dda0c5764bfc991985bf98adab0890f0 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 16 Jan 2022 02:27:41 +0000 Subject: added PKG_VER to xibuilds --- repo/system/krb5.xibuild | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'repo/system/krb5.xibuild') 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 } -- cgit v1.2.1