diff --git a/lfs-12.2-systemd/psmisc-23.7.PKGBUILD b/lfs-12.2-systemd/psmisc-23.7.PKGBUILD new file mode 100644 index 0000000..cd2f98f --- /dev/null +++ b/lfs-12.2-systemd/psmisc-23.7.PKGBUILD @@ -0,0 +1,24 @@ +pkgname="psmisc" +pkgver="23.7" +pkgdesc='Miscellaneous procfs tools' +homepage="https://gitlab.com/psmisc/psmisc" +sources="${pkgname}-${pkgver}.tar.xz" +urls="https://sourceforge.net/projects/psmisc/files/${pkgname}/${sources[0]}" +md5sums="53eae841735189a896d614cba440eb10" + +src_prepare() { + tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 +} + +src_build() { + ./configure --prefix=/usr + make +} + +src_check() { + make check +} + +src_install() { + make DESTDIR="${pkgdir}" install +}