From 7be79568245055ffcbdb8ae4388b572af0cb2021 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Mon, 22 Dec 2025 06:16:10 -0500 Subject: [PATCH] update to 12.4-systemd: procps-ng-4.0.5 --- lfs/procps-ng-4.0.5.PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 lfs/procps-ng-4.0.5.PKGBUILD diff --git a/lfs/procps-ng-4.0.5.PKGBUILD b/lfs/procps-ng-4.0.5.PKGBUILD new file mode 100644 index 0000000..192e2c8 --- /dev/null +++ b/lfs/procps-ng-4.0.5.PKGBUILD @@ -0,0 +1,36 @@ +pkgname=procps-ng +pkgver=4.0.5 +pkgdesc='Utilities for monitoring your system and its processes' +url='https://gitlab.com/procps-ng/procps' +license=(GPL LGPL) +arch=(x86_64) +sources=("${pkgname}-${pkgver}.tar.xz") +urls=("https://sourceforge.net/projects/procps-ng/files/Production/${sources[0]}") +md5sums=("90803e64f51f192f3325d25c3335d057") + +src_prepare() { + tar -xf ${distdir}/${sources[0]} --strip-components=1 +} + +src_build() { + ./configure --prefix=/usr \ + --libdir=/usr/lib \ + --docdir=/usr/share/doc/procps-ng-${pkgver} \ + --disable-static \ + --disable-kill \ + --enable-watch8bit \ + --with-systemd + make +} + +src_check() { + chown -R leaf . + leaf_record_message "ps with output flag bsdtime,cputime,etime,etimes is known to fail without CONFIG_BSD_PROCESS_ACCT." + leaf_record_message "one pgrep test is known to fail in chroot." + su leaf -c "PATH=$PATH make check" +} + +src_install() { + make DESTDIR="${pkgdir}" install +} +