pkgs/procps-ng/PKGBUILD

42 lines
847 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"
arch=("x86_64")
2023-12-11 13:18:00 +00:00
url="https://gitlab.com/procps-ng/procps"
license=("GPL" "LGPL")
depends=("ncurses")
2023-12-08 02:05:38 +00:00
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 \
2023-12-11 13:18:00 +00:00
--enable-colorwatch \
2023-12-08 02:05:38 +00:00
--without-systemd \
--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
}