1 # Contributor: DaNiMoTh <jjdanimoth@@@gmail.com>
2 # Contributor: sh0 <mee@@@sh0.org>
4 # Fri Dec 23 09:36:57 CET 2011: PKGBUILD cleanup without PKGREL bump.
9 pkgdesc='Manages various PaX related flags for ELF32, ELF64, and a.out binaries'
10 url='http://pax.grsecurity.net/'
11 arch=('i686' 'x86_64')
13 install="$pkgname.install"
14 source=("http://pax.grsecurity.net/$pkgname-$pkgver.tar.gz"
16 sha256sums=('9c6c12d486a0200c3060745dfe56c54ec67a6566499093e71e3f234dfc961c44'
17 'd7a54309de7688e98ea31f9851110418885cc07d266ff6a01eebabd25febbb71')
21 cd "$srcdir/$pkgname-$pkgver"
22 sed -i -e '/^CFLAGS/s:=:+=:' -e '/TARGET/s:CFLAGS:LDFLAGS:' Makefile
28 cd "$srcdir/$pkgname-$pkgver"
29 make STRIP='echo' DESTDIR="$pkgdir" install
30 chmod 0644 "$pkgdir/usr/share/man/man1/chpax.1"