2012-11-13 11:52:25 +08:00
|
|
|
pkgname=procps-ng
|
2018-05-24 08:29:40 +08:00
|
|
|
pkgver=3.3.15
|
2014-12-12 12:17:04 +08:00
|
|
|
pkgrel=1
|
2012-11-13 11:52:25 +08:00
|
|
|
pkgdesc='Utilities for monitoring your system and its processes'
|
2018-05-24 08:29:40 +08:00
|
|
|
url='https://gitlab.com/procps-ng/procps'
|
2012-11-13 11:52:25 +08:00
|
|
|
license=('GPL' 'LGPL')
|
2013-05-27 01:30:20 +08:00
|
|
|
arch=('x86_64')
|
2012-11-13 11:52:25 +08:00
|
|
|
groups=('base')
|
2018-05-24 08:29:40 +08:00
|
|
|
depends=('libsystemd' 'ncurses')
|
|
|
|
makedepends=('systemd')
|
|
|
|
source=("https://downloads.sourceforge.net/project/${pkgname}/Production/${pkgname}-${pkgver}.tar.xz")
|
|
|
|
sha1sums=('2929bc64f0cf7b2db997eef79b7187658e47230d')
|
2012-11-13 11:52:25 +08:00
|
|
|
|
2013-05-27 01:30:20 +08:00
|
|
|
conflicts=('procps')
|
|
|
|
provides=('procps')
|
|
|
|
replaces=('procps')
|
|
|
|
|
2014-03-09 20:25:26 +08:00
|
|
|
prepare() {
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
sed 's:<ncursesw/:<:g' -i watch.c
|
|
|
|
}
|
2013-05-27 01:30:20 +08:00
|
|
|
|
2012-11-13 11:52:25 +08:00
|
|
|
build() {
|
2014-03-09 20:25:26 +08:00
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
2013-05-27 01:30:20 +08:00
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--exec-prefix=/ \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--libdir=/usr/lib \
|
|
|
|
--bindir=/usr/bin \
|
|
|
|
--sbindir=/usr/bin \
|
2014-12-12 12:17:04 +08:00
|
|
|
--enable-watch8bit \
|
2018-05-24 08:29:40 +08:00
|
|
|
--with-systemd \
|
|
|
|
--disable-kill
|
2013-05-27 01:30:20 +08:00
|
|
|
make
|
2012-11-13 11:52:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2014-03-09 20:25:26 +08:00
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
2013-05-27 01:30:20 +08:00
|
|
|
make DESTDIR="${pkgdir}" install
|
2012-11-13 11:52:25 +08:00
|
|
|
}
|