OCaml 4.14.0 rebuild
[arch-packages.git] / procps-ng / trunk / PKGBUILD
blobd2c6f9065d64f50932d2211ee125ae1e098b2477
1 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
2 # Contributor:  Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
3 # Contributor: Gaetan Bisson <bisson@archlinux.org>
4 # Contributor: Eric Bélanger <eric@archlinux.org>
6 pkgname=procps-ng
7 pkgver=3.3.17
8 pkgrel=1
9 pkgdesc='Utilities for monitoring your system and its processes'
10 url='https://gitlab.com/procps-ng/procps'
11 license=(GPL LGPL)
12 arch=(x86_64)
13 depends=(glibc ncurses libncursesw.so systemd-libs)
14 makedepends=(systemd)
15 conflicts=(procps sysvinit-tools)
16 provides=(procps sysvinit-tools libprocps.so)
17 replaces=(procps sysvinit-tools)
18 options=('!emptydirs')
19 source=(https://downloads.sourceforge.net/project/$pkgname/Production/${pkgname}-${pkgver}.tar.xz{,.asc})
20 sha256sums=('4518b3e7aafd34ec07d0063d250fd474999b20b200218c3ae56f5d2113f141b4'
21             'SKIP')
22 b2sums=('43aa1a21d4f0725b1c02457f343cf1fc66bc1771b25c6eaf689c9775c190e90545bfac1729f027abc4d3d13de37ffac4828554b5b25e12bcf6af9540de1695f3'
23         'SKIP')
24 validpgpkeys=(
25   '5D3DF0F538B327C0AA7A77A2022166C0FF3C84E3' # Craig Small <csmall@debian.org>
26   '5D2FB320B825D93904D205193938F96BDF50FEA5' # Craig Small <csmall@debian.org>
29 prepare() {
30   cd procps-$pkgver
31   sed 's:<ncursesw/:<:g' -i watch.c
34 build() {
35   cd procps-$pkgver
36   ./configure \
37     --prefix=/usr \
38     --exec-prefix=/ \
39     --sysconfdir=/etc \
40     --libdir=/usr/lib \
41     --bindir=/usr/bin \
42     --sbindir=/usr/bin \
43     --enable-watch8bit \
44     --with-systemd \
45     --disable-modern-top \
46     --disable-kill
48   make
51 package() {
52   cd procps-$pkgver
53   make DESTDIR="$pkgdir" install
56 # vim: ts=2 sw=2 et: