diff options
-rw-r--r-- | main/pax-utils/APKBUILD | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/main/pax-utils/APKBUILD b/main/pax-utils/APKBUILD index e46d489e49..8a45e5f6a8 100644 --- a/main/pax-utils/APKBUILD +++ b/main/pax-utils/APKBUILD @@ -1,17 +1,18 @@ +# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=pax-utils -pkgver=0.9.1 +pkgver=1.1.5 pkgrel=0 pkgdesc="ELF related utils for ELF 32/64 binaries" -url="http://hardened.gentoo.org/pax-utils.xml" +url="https://wiki.gentoo.org/wiki/Hardened/PaX_Utilities" arch="all" -license='GPL2' +license="GPL2" depends="scanelf" -makedepends= -source="http://dev.gentoo.org/~vapier/dist/pax-utils-$pkgver.tar.xz" +makedepends="linux-headers" +source="http://distfiles.gentoo.org/distfiles/${pkgname}-${pkgver}.tar.xz" subpackages="$pkgname-doc scanelf:_scanelf" -_builddir="$srcdir"/pax-utils-$pkgver +_builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" for i in $source; do @@ -20,6 +21,7 @@ prepare() { esac done } + build() { cd "$_builddir" make || return 1 @@ -28,6 +30,8 @@ build() { package() { cd "$_builddir" make DESTDIR="$pkgdir/" install || return 1 + + # Don't conflict with main/lddtree rm -f "$pkgdir"/usr/bin/lddtree } @@ -39,6 +43,6 @@ _scanelf() { mv "$pkgdir"/usr/bin/scanelf "$subpkgdir"/usr/bin/ } -md5sums="e47c9c59832e99fe9793d23610e3462c pax-utils-0.9.1.tar.xz" -sha256sums="643ccaf6952f836c42aafcd5ad7e5f7de2d3472225a34603680b151a8b198b0c pax-utils-0.9.1.tar.xz" -sha512sums="718cf371a2b14333fcc47e7c250ba4996bc2f4b3cab3373524215c74cdf979669cfd47b48f1b08214fb958e65e7ce83ecd74bd855f5e008d235fa6c4c57dad8e pax-utils-0.9.1.tar.xz" +md5sums="bc3614322eaf88f167a608ae85d6b207 pax-utils-1.1.5.tar.xz" +sha256sums="2945b3e4df2e0dc95800bfbd3d88ab2243b2ee4ff064bbfc75734f6d9d986a89 pax-utils-1.1.5.tar.xz" +sha512sums="c03c2b867988592ad7ee3fc19cbbe203622a736889aa27a669824f4de670e8d591e1c8477529bd0481e7cdce11e94f8b55d4ef158fe21a6e2baf43b09f33b5b7 pax-utils-1.1.5.tar.xz" |