pkgs/procps-ng/PKGBUILD

41 lines
847 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"
arch=("x86_64")
url="https://gitlab.com/procps-ng/procps"
license=("GPL" "LGPL")
depends=("ncurses")
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 \
--enable-colorwatch \
--without-systemd \
--disable-kill
make
}
package() {
cd procps-ng-$pkgver
make DESTDIR=$pkgdir install
}