pkgs/procps-ng/PKGBUILD

41 lines
824 B
Text
Raw Normal View History

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