summaryrefslogtreecommitdiff
path: root/core/procps/MAKEPKG
diff options
context:
space:
mode:
Diffstat (limited to 'core/procps/MAKEPKG')
-rw-r--r--core/procps/MAKEPKG58
1 files changed, 58 insertions, 0 deletions
diff --git a/core/procps/MAKEPKG b/core/procps/MAKEPKG
new file mode 100644
index 0000000..732c78a
--- /dev/null
+++ b/core/procps/MAKEPKG
@@ -0,0 +1,58 @@
+#!/bin/mkpkg
+# description: System process utilities (ps, top, free, etc.)
+# url: https://sourceforge.net/projects/procps-ng/
+
+name=procps
+version=4.0.7
+release=1
+depends=(ncurses)
+makedeps=(bash gettext)
+#lockbox=(make)
+source=(https://gitlab.com/procps-ng/procps/-/archive/v$version/$name-v$version.tar.gz)
+renames=($name-$version.tar.xz)
+
+sha256sums=(
+ "468dfe0f29a77498286b459fcc33e24fcc2031c11a890244ba9cf1481a4f5df7"
+)
+
+build() {
+ # Use bash explicitly
+ export CONFIG_SHELL=/bin/bash
+ export SHELL=/bin/bash
+ export LINGUAS=''
+ cd $name-v$version
+
+ ./autogen.sh
+ ./configure \
+ --prefix=/ \
+ --bindir=/bin \
+ --sbindir=/sbin \
+ --libdir=/lib \
+ --includedir=/include \
+ --mandir=/usr/share/man \
+ --disable-nls \
+ --disable-kill \
+ --disable-modern-top \
+ --enable-watch8bit \
+ PKG_CONFIG=/bin/true \
+ NCURSES_CFLAGS= \
+ NCURSES_LIBS=-lncursesw
+
+ make
+ make install DESTDIR=$PKG
+
+ rm -f $PKG/bin/w
+ rm -f $PKG/usr/share/man/man1/w.1*
+ rm -rf $PKG/share
+
+ for lang in de fr pl pt_BR ro sv uk zh_CN; do
+ rm -rf $PKG/usr/share/man/$lang
+ done
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh