40 lines
824 B
Bash
40 lines
824 B
Bash
# Maintainer: Daryl Ronningen <relms@relms.dev>
|
|
|
|
pkgname=procps-ng
|
|
pkgver=4.0.4
|
|
pkgrel=1
|
|
pkgdesc="Utilities for monitoring your system and its processes"
|
|
url="https://gitlab.com/procps-ng/procps"
|
|
license=(GPL LGPL)
|
|
arch=("x86_64")
|
|
source=("https://downloads.sourceforge.net/project/$pkgname/Production/$pkgname-$pkgver.tar.xz")
|
|
sha256sums=("22870d6feb2478adb617ce4f09a787addaf2d260c5a8aa7b17d889a962c5e42e")
|
|
|
|
prepare() {
|
|
cd procps-ng-$pkgver
|
|
sed "s:<ncursesw/:<:g" -i src/watch.c
|
|
}
|
|
|
|
build() {
|
|
cd procps-ng-$pkgver
|
|
|
|
./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
|
|
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd procps-ng-$pkgver
|
|
|
|
make DESTDIR=$pkgdir install
|
|
}
|