summaryrefslogtreecommitdiff
path: root/repo/devel/patch.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/devel/patch.xibuild')
-rw-r--r--repo/devel/patch.xibuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/repo/devel/patch.xibuild b/repo/devel/patch.xibuild
index 728fc1d..7d1dfd0 100644
--- a/repo/devel/patch.xibuild
+++ b/repo/devel/patch.xibuild
@@ -2,11 +2,15 @@
DEPS=(glibc attr)
-SOURCE=https://ftp.gnu.org/gnu/patch/patch-2.7.tar.xz
+PKG_VER=2.7
+SOURCE=https://ftp.gnu.org/gnu/patch/patch-$PKG_VER.tar.xz
DESC="A utility to apply patch files to a file"
build () {
./configure --prefix=/usr
make
+}
+
+package () {
make DESTDIR=$PKG_DEST install
}