# Template file for 'pax-utils' pkgname=pax-utils version=1.3.8 revision=2 build_style=meson makedepends="libcap-devel" depends="python3-pyelftools" checkdepends="${depends}" short_desc="PaX aware and related utilities for ELF binaries" maintainer="Leah Neukirchen " license="GPL-2.0-only" homepage="https://cgit.gentoo.org/proj/pax-utils.git/" distfiles="https://cgit.gentoo.org/proj/pax-utils.git/snapshot/pax-utils-${version}.tar.gz" checksum=60a3ae882b0722806aa4f8f0f6256271553259eee0d3875f16c0e3b604503847 python_version=3 pre_check() { vsed -i tests/source/dotest -e '/lib\.sh/s,$,;top_srcdir="../../",' # ignore wrong symlinks # -/usr/lib64/libc.so # +/lib/libc.so vsed -i tests/lddtree/dotest-cmp -e '/fail "lddtree/s/$/ ; ret=0/' }