summaryrefslogtreecommitdiff
path: root/repo/system/libidn.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/libidn.xibuild
parentcb447620084a20be80d116c81c2e9ec110be7118 (diff)
added PKG_VER to xibuilds
Diffstat (limited to 'repo/system/libidn.xibuild')
-rw-r--r--repo/system/libidn.xibuild7
1 files changed, 4 insertions, 3 deletions
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
}