summaryrefslogtreecommitdiff
path: root/repo/system/sed.xibuild
diff options
context:
space:
mode:
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
}