pkgname=procps-ng pkgver=4.0.5 pkgrel=1 pkgdesc="Utilities for monitoring your system and its processes" arch=('x86_64') url="https://sourceforge.net/projects/procps-ng" license=('GPL-2.0-or-later' 'LGPL-2.0-or-later' 'LGPL-2.1-or-later') groups=('base') depends=('glibc' 'ncurses' 'systemd') options=('!emptydirs') source=(https://sourceforge.net/projects/procps-ng/files/Production/${pkgname}-${pkgver}.tar.xz) sha256sums=(c2e6d193cc78f84cd6ddb72aaf6d5c6a9162f0470e5992092057f5ff518562fa) build() { cd ${pkgname}-${pkgver} local configure_args=( --disable-static --disable-kill --with-systemd --docdir=/usr/share/doc/${pkgname}-${pkgver} ${configure_options} ) ./configure ${configure_args[@]} make src_w_LDADD='$(LDADD) -lsystemd' } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install }