-
Notifications
You must be signed in to change notification settings - Fork 1
/
PKGBUILD
43 lines (37 loc) · 888 Bytes
/
PKGBUILD
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Contributors:
# henning mueller <[email protected]>
pkgname=paxctld
pkgver=1.2.1
pkgrel=1
pkgdesc='PaX flags maintenance daemon'
arch=(i686 x86_64)
url=http://grsecurity.net
license=(GPL)
depends=(glibc)
backup=(
etc/$pkgname.conf
)
source=(
http://grsecurity.net/paxctld/paxctld_$pkgver.orig.tar.gz{,.sig}
$pkgname.service
)
validpgpkeys=(
DE9452CE46F42094907F108B44D1C0F82525FE49
)
prepare() {
cd "$srcdir/$pkgname-$pkgver"
sed -i 's:sbin:usr/bin:' Makefile
}
build() {
cd "$srcdir/$pkgname-$pkgver"
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
install -Dm644 "$srcdir/$pkgname.service" \
"$pkgdir/usr/lib/systemd/system/$pkgname.service"
}
sha256sums=('176823d414d75f187951818bab545a0d4e89ce0a1f01415390842d77ea40505d'
'SKIP'
'bedd98fa6bd95ff00af420e6ca1811f792825d9fb9078218e16b78653ad74cff')