summaryrefslogtreecommitdiff
path: root/repo/system/ncurses.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/ncurses.xibuild
parentcb447620084a20be80d116c81c2e9ec110be7118 (diff)
added PKG_VER to xibuilds
Diffstat (limited to 'repo/system/ncurses.xibuild')
-rw-r--r--repo/system/ncurses.xibuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/repo/system/ncurses.xibuild b/repo/system/ncurses.xibuild
index c42d402..c02f7c4 100644
--- a/repo/system/ncurses.xibuild
+++ b/repo/system/ncurses.xibuild
@@ -2,7 +2,8 @@
DEPS=(glibc)
-SOURCE=https://invisible-mirror.net/archives/ncurses/ncurses-6.3.tar.gz
+PKG_VER=6.3
+SOURCE=https://invisible-mirror.net/archives/ncurses/ncurses-$PKG_VER.tar.gz
DESC="curses emulation library"
@@ -28,6 +29,6 @@ package () {
ln -sfv libncurses.so $PKG_DEST/usr/lib/libcurses.so
# install docs
- mkdir -pv $PKG_DEST/usr/share/doc/ncurses-6.3
- cp -v -R doc/* $PKG_DEST/usr/share/doc/ncurses-6.3
+ mkdir -pv $PKG_DEST/usr/share/doc/ncurses-$PKG_VER
+ cp -v -R doc/* $PKG_DEST/usr/share/doc/ncurses-$PKG_VER
}