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/libidn.xibuild | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'repo/system/libidn.xibuild') diff --git a/repo/system/libidn.xibuild b/repo/system/libidn.xibuild index ddb9d08..c5575bf 100644 --- a/repo/system/libidn.xibuild +++ b/repo/system/libidn.xibuild @@ -2,7 +2,8 @@ DEPS=(glibc) -SOURCE=https://ftp.gnu.org/gnu/libidn/libidn2-2.3.2.tar.gz +PKG_VER=2.3.2 +SOURCE=https://ftp.gnu.org/gnu/libidn/libidn2-$PKG_VER.tar.gz DESC="Free software implementation of IDNA2008, Punycode and TR46" build () { @@ -12,6 +13,6 @@ build () { find doc -name "Makefile*" -delete && rm -rf -v doc/{gdoc,idn.1,stamp-vti,man,texi} && - mkdir -pv $PKG_DEST/usr/share/doc/libidn-2.3.2 && - cp -r -v doc/* $PKG_DEST/usr/share/doc/libidn-2.3.2 + mkdir -pv $PKG_DEST/usr/share/doc/libidn-$PKG_VER && + cp -r -v doc/* $PKG_DEST/usr/share/doc/libidn-$PKG_VER } -- cgit v1.2.1