From 9af6e3c451546cdce8b95bb00f30cd11d3005257 Mon Sep 17 00:00:00 2001 From: xhaa123 Date: Sat, 7 Sep 2024 23:18:11 +0800 Subject: [PATCH] procps-ng 4.0.4-1 --- procps-ng/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 procps-ng/PKGBUILD diff --git a/procps-ng/PKGBUILD b/procps-ng/PKGBUILD new file mode 100644 index 0000000..7af2eb2 --- /dev/null +++ b/procps-ng/PKGBUILD @@ -0,0 +1,36 @@ +# This is an example PKGBUILD file. Use this as a start to creating your own, +# and remove these comments. For more information, see 'man PKGBUILD'. +# NOTE: Please fill out the license field for your package! If it is unknown, +# then please put 'unknown'. + +# Maintainer: Future Linux Team +pkgname=procps-ng +pkgver=4.0.4 +pkgrel=1 +pkgdesc="Utilities for monitoring your system and its processes" +arch=('x86_64') +url="https://sourceforge.net/projects/procps-ng" +license=('GPL' 'LGPL') +groups=('base') +depends=('glibc' 'ncurses' 'systemd') +options=('!emptydirs') +source=(https://sourceforge.net/projects/procps-ng/files/Production/${pkgname}-${pkgver}.tar.xz) +sha256sums=(22870d6feb2478adb617ce4f09a787addaf2d260c5a8aa7b17d889a962c5e42e) + +build() { + cd ${pkgname}-${pkgver} + + ${CONFIGURE} \ + --disable-static \ + --disable-kill \ + --with-systemd \ + --docdir=/usr/share/doc/${pkgname}-${pkgver} + + make src_w_LDADD='$(LDADD) -lsystemd' +} + +package() { + cd ${pkgname}-${pkgver} + + make DESTDIR=${pkgdir} install +}