30 lines
829 B
Bash
30 lines
829 B
Bash
# Template file for 'lsof'
|
|
pkgname=lsof
|
|
version=4.98.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-security"
|
|
hostmakedepends=groff
|
|
checkdepends="util-linux procps-ng"
|
|
short_desc="LiSt Open Files"
|
|
maintainer="Subhaditya Nath <sn03.general@gmail.com>"
|
|
license="custom:lsof"
|
|
homepage="https://github.com/lsof-org/lsof"
|
|
changelog="https://raw.githubusercontent.com/lsof-org/lsof/master/00DIST"
|
|
distfiles="https://github.com/lsof-org/lsof/releases/download/${version}/lsof-${version}.tar.gz"
|
|
checksum=2f8efa62cdf8715348b8f76bf32abf59f109a1441df35c686d23dccdeed34d99
|
|
|
|
post_extract() {
|
|
# Fix GitHub CI quirks
|
|
if [ $XBPS_BUILD_ENVIRONMENT = void-packages-ci ]; then
|
|
patch -Np1 <"$FILESDIR/fix-github-ci.patch"
|
|
fi
|
|
|
|
# Ensure tests always run
|
|
ln -sf /bin/true tests/CkTestDB
|
|
}
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|