blob: ec1583d7409ac5ccefb327ff4be29f9be7c24bf8 (
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
59
60
61
62
63
64
65
66
|
# Maintainer: Vincent Grande <shoober420@gmail.com>
# Contributor: Eric Vidal <eric@obarun.org>
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# Contributor: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Eric Bélanger <eric@archlinux.org>
pkgname=procps-ng-nosystemd-minimal-git
pkgver=3.3.16
pkgrel=1
pkgdesc='Utilities for monitoring your system and its processes'
url='https://gitlab.com/procps-ng/procps'
license=(GPL LGPL)
arch=(x86_64)
depends=(ncurses)
backup=('etc/sysctl.conf')
conflicts=(procps procps-ng sysvinit-tools)
provides=(procps procps-ng sysvinit-tools)
replaces=(procps sysvinit-tools)
source=("git+https://gitlab.com/procps-ng/procps.git"
'sysctl.conf'
'fs66093.patch')
sha256sums=('SKIP'
'SKIP'
'SKIP')
pkgver() {
cd procps
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd procps
sed 's:<ncursesw/:<:g' -i watch.c
# pgrep: check sanity of SC_ARG_MAX
# https://bugs.archlinux.org/task/66093
patch -p1 -i ../fs66093.patch
}
build() {
cd procps
./autogen.sh
./configure \
--prefix=/usr \
--exec-prefix=/ \
--sysconfdir=/etc \
--libdir=/usr/lib \
--bindir=/usr/bin \
--sbindir=/usr/bin \
--enable-watch8bit \
--without-systemd \
--disable-modern-top \
--disable-kill \
--disable-libselinux \
--without-elogind \
--disable-numa \
--disable-whining
make
}
package() {
cd procps
make DESTDIR="$pkgdir" install
}
|