summaryrefslogtreecommitdiff
path: root/repo/util/procps-ng.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-16 15:02:47 +0000
committerdavidovski <david@davidovski.xyz>2022-01-16 15:02:47 +0000
commit003727289cc45e29eff0c0c48ad0f9660f96644f (patch)
tree0fd7f0ac830dee29984262980b8c144e26aa09ba /repo/util/procps-ng.xibuild
parentd2d97f84d5c037d7a6b8db6c497a5987030b7335 (diff)
separated patch, build, check and package stages
Diffstat (limited to 'repo/util/procps-ng.xibuild')
-rw-r--r--repo/util/procps-ng.xibuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/repo/util/procps-ng.xibuild b/repo/util/procps-ng.xibuild
index a5748ec..2c8731c 100644
--- a/repo/util/procps-ng.xibuild
+++ b/repo/util/procps-ng.xibuild
@@ -2,15 +2,22 @@
DEPS=(glibc ncurses)
-SOURCE=https://sourceforge.net/projects/procps-ng/files/Production/procps-ng-3.3.17.tar.xz
+PKG_VER=3.3.17
+SOURCE=https://sourceforge.net/projects/procps-ng/files/Production/procps-ng-$PKG_VER.tar.xz
DESC="Utilities for monitoring your system and its processes"
build () {
./configure --prefix=/usr \
- --docdir=/usr/share/doc/procps-ng-3.3.17 \
+ --docdir=/usr/share/doc/procps-ng-$PKG_VER \
--disable-static \
--disable-kill
make
+}
+
+check () {
make check
+}
+
+package () {
make DESTDIR=$PKG_DEST install
}