diff --git a/main/lsof/.checksums b/main/lsof/.checksums new file mode 100644 index 000000000..b8ddd4228 --- /dev/null +++ b/main/lsof/.checksums @@ -0,0 +1 @@ +34404c76c56cb761adcb93fa139c9be5 lsof-4.98.0.tar.gz diff --git a/main/lsof/.pkgfiles b/main/lsof/.pkgfiles new file mode 100644 index 000000000..c0a134f4a --- /dev/null +++ b/main/lsof/.pkgfiles @@ -0,0 +1,9 @@ +lsof-4.98.0-1 +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/local/ +drwxr-xr-x root/root usr/local/bin/ +-rwxr-xr-x root/root usr/local/bin/lsof +drwxr-xr-x root/root usr/local/share/ +drwxr-xr-x root/root usr/local/share/man/ +drwxr-xr-x root/root usr/local/share/man/man8/ +-rw-r--r-- root/root usr/local/share/man/man8/lsof.8.gz diff --git a/main/lsof/spkgbuild b/main/lsof/spkgbuild new file mode 100644 index 000000000..2c367c4e0 --- /dev/null +++ b/main/lsof/spkgbuild @@ -0,0 +1,15 @@ +# description : LiSt Open Files +# homepage : https://lsof.readthedocs.io/en/latest/ +# depends : libtirpc + +name=lsof +version=4.98.0 +release=1 +source="https://github.com/lsof-org/lsof/releases/download/$version/lsof-$version.tar.gz" + +build() { + cd $name-$version + ./configure --prefix=/usr + make + make DESTDIR=$PKG install +}