smlinux/base/pax-utils/pax-utils.SMBuild
PktSurf bee36f4989 Upgraded base/asciidoc to 10.2.1
Upgraded base/pax-utils to 1.3.8
Upgraded base/x264 to 0.164
Rewrote base/docbook build file
Discarded unnecessary hidden files in base/json-c
Disabled support for native language support in base/libsecret,util-linux
Added /usr prefix to several base build files
2024-10-21 07:54:59 +05:30

36 lines
831 B
Text
Executable file

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=pax-utils
version=1.3.8
build=1sml
homepage="https://github.com/gentoo/pax-utils"
download="https://github.com/gentoo/pax-utils/archive/refs/tags/v$version.tar.gz"
desc="ELF utilities for performing security checks on files"
requires="pyelftools docbook"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
mkdir -p smbuild && cd smbuild
meson .. \
--prefix=/usr \
--bindir=/bin \
-Dbuild_manpages=enabled
ninja
DESTDIR="$pkg" ninja install
cp ../COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
19153a007511a6a1d7c6900a9bf33756e9aed685d2df7d49bd3b359cd14e74ea778ea8082786fb526f9431d21a1e0f8d14fbe2979795609c9eac8042f57b131d pax-utils-1.3.8.tar.lz
"