summaryrefslogtreecommitdiff
path: root/repo/system/sed.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/sed.xibuild
parentcb447620084a20be80d116c81c2e9ec110be7118 (diff)
added PKG_VER to xibuilds
Diffstat (limited to 'repo/system/sed.xibuild')
-rw-r--r--repo/system/sed.xibuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/repo/system/sed.xibuild b/repo/system/sed.xibuild
index 0384f6c..90af25e 100644
--- a/repo/system/sed.xibuild
+++ b/repo/system/sed.xibuild
@@ -2,7 +2,8 @@
DEPS=(glibc acl attr)
-SOURCE=https://ftp.gnu.org/gnu/sed/sed-4.8.tar.xz
+PKG_VER=4.8
+SOURCE=https://ftp.gnu.org/gnu/sed/sed-$PKG_VER.tar.xz
DESC="GNU stream editor"
build () {
@@ -14,6 +15,6 @@ build () {
package () {
make DESTDIR=$PKG_DEST install
- install -d -m755 $PKG_DEST/usr/share/doc/sed-4.8
- install -m644 doc/sed.html $PKG_DEST/usr/share/doc/sed-4.8
+ install -d -m755 $PKG_DEST/usr/share/doc/sed-$PKG_VER
+ install -m644 doc/sed.html $PKG_DEST/usr/share/doc/sed-$PKG_VER
}