diff options
| author | rawnix ports <ports@rawnix.org> | 2026-09-26 18:19:05 +0000 |
|---|---|---|
| committer | rawnix ports <ports@rawnix.org> | 2026-09-26 18:19:05 +0000 |
| commit | c82e88dd00d1b0b7fcfb4e5628d99611388cef6f (patch) | |
| tree | 56d864b5a5c6c145edd96178ae219a8f90e191a6 /opt/lsof/MAKEPKG | |
| download | ports-c82e88dd00d1b0b7fcfb4e5628d99611388cef6f.tar.gz | |
sync 2026-09-26 18:19 UTC
1672 files changed, 151396 insertions(+)
Diffstat (limited to 'opt/lsof/MAKEPKG')
| -rw-r--r-- | opt/lsof/MAKEPKG | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/opt/lsof/MAKEPKG b/opt/lsof/MAKEPKG new file mode 100644 index 0000000..6524bf5 --- /dev/null +++ b/opt/lsof/MAKEPKG @@ -0,0 +1,36 @@ +#!/bin/mkpkg +# description: Lists information about open files for running processes +# url: https://github.com/lsof-org/lsof + +name=lsof +version=4.99.7 +release=1 +depends=() +source=(https://github.com/lsof-org/lsof/releases/download/$version/$name-$version.tar.gz) +sha256sums=( + "4a10391aab0b8ce1f539e82a1966693b2a6cf225972a6504ebb7ec4fa71675de" +) + +build() { + cd $name-$version + ./configure \ + --prefix=/usr \ + --sbindir=/usr/bin \ + --bindir=/usr/bin \ + --mandir=/usr/share/man \ + --disable-static \ + --without-libtirpc + make + make DESTDIR=$PKG install + + # Remove liblsof shared library and headers (not needed for CLI usage) + rm -rf $PKG/usr/include + rm -rf $PKG/usr/lib +} + +signify() { + untrusted comment: public key + RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3 +} + +# vim: filetype=sh |
