blob: 732c78a685aeba6a97311891d0c504b2636554a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
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
|