From 1bdcf59cca2496ef5caed4dbe8dba29275003f26 Mon Sep 17 00:00:00 2001 From: mobinmob Date: Mon, 5 Jun 2023 00:04:20 +0300 Subject: [PATCH] New package: lsof-4.98.0. --- main/lsof/.checksums | 1 + main/lsof/.pkgfiles | 9 +++++++++ main/lsof/spkgbuild | 15 +++++++++++++++ 3 files changed, 25 insertions(+) create mode 100644 main/lsof/.checksums create mode 100644 main/lsof/.pkgfiles create mode 100644 main/lsof/spkgbuild 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 +}