summaryrefslogtreecommitdiff
path: root/community/paxtest/PKGBUILD
blob: add18bdf4df6ebf4615394ccc0f71774d625c835 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Maintainer: Daniel Micay <danielmicay@gmail.com>
# Contributor: Lubomir Krajcovic <lubomir.krajcovic(AT)gmail(DOT)com>
# Contributor: sh0 <mee(AT)sh0(DOT)org>
# Contributor: leoarcher <carvalho.inacio(AT)gmail(DOT)com>

pkgname=paxtest
pkgver=0.9.11
pkgrel=2
pkgdesc='PaX regression test suite'
url='http://pax.grsecurity.net'
arch=('i686' 'x86_64')
license=('GPL')
depends=(sh)
source=("http://grsecurity.net/~spender/${pkgname}-${pkgver}.tar.gz")
md5sums=('04ec4a600052c86ee341bbe0240d02c0')

_make="make -f Makefile.psm BINDIR=/usr/bin RUNDIR=/usr/lib/$pkgname"

build() {
  cd $pkgname-$pkgver
  $_make
}

package() {
  cd $pkgname-$pkgver
  $_make DESTDIR="$pkgdir" install
}