# $Id: PKGBUILD 107777 2014-03-19 12:12:22Z tredaelli $ # Maintainer: Timothy Redaelli # Contributor: sh0 # Contributor: Maxwel pkgname=pax-utils pkgver=0.7 pkgrel=2 pkgdesc='ELF related utils for ELF 32/64 binaries that can check files for security relevant properties' url='http://hardened.gentoo.org/pax-utils.xml' arch=('i686' 'x86_64') license=('GPL') depends=('bash' 'libcap' 'python-pyelftools') source=("http://distfiles.gentoo.org/distfiles/${pkgname}-${pkgver}.tar.xz") sha256sums=('1ac4cee9a9ca97a723505eb29a25e50adeccffba3f0f0ef4f035cf082caf3b84') build() { cd "${srcdir}/${pkgname}-${pkgver}" make USE_CAP='yes' } check() { cd "${srcdir}/${pkgname}-${pkgver}" make check } package() { cd "${srcdir}/${pkgname}-${pkgver}" make USE_PYTHON='yes' DESTDIR="${pkgdir}" install }