updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / chpax / PKGBUILD
blobe6463668fb4a37821184a35a0e0790cc9ca06db1
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.
6 pkgname='chpax'
7 pkgver='0.7'
8 pkgrel=2
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')
12 license=('GPL')
13 install="$pkgname.install"
14 source=("http://pax.grsecurity.net/$pkgname-$pkgver.tar.gz"
15         'chpax.install')
16 sha256sums=('9c6c12d486a0200c3060745dfe56c54ec67a6566499093e71e3f234dfc961c44'
17             'd7a54309de7688e98ea31f9851110418885cc07d266ff6a01eebabd25febbb71')
19 build() {
21   cd "$srcdir/$pkgname-$pkgver"
22   sed -i -e '/^CFLAGS/s:=:+=:' -e '/TARGET/s:CFLAGS:LDFLAGS:' Makefile
23   make
27 package() {
28  cd "$srcdir/$pkgname-$pkgver"
29  make STRIP='echo' DESTDIR="$pkgdir" install
30  chmod 0644 "$pkgdir/usr/share/man/man1/chpax.1"
34 # vim: ft=sh syn=sh