# Maintainer (Arch): Daniel Micay # Maintainer: André Silva # Maintainer: Luke R. GPG: rsa4096/3EAE8697 _pkgname=paxd pkgname=paxd-libre pkgver=1.13 pkgrel=1 pkgdesc='PaX exception daemon (a libre fork of paxd)' arch=(i686 x86_64 armv7h) url='https://github.com/g4jc/paxd-libre/' license=(MIT) replaces=($_pkgname linux-pax-flags) conflicts=($_pkgname linux-pax-flags) provides=($_pkgname linux-pax-flags) depends=(glib2) source=($pkgname-$pkgver.tar.gz::https://github.com/g4jc/paxd-libre/archive/$pkgver.tar.gz 10-enable-pax.conf) sha1sums=('15c9a79f03304af9b59bb092d70386a004d6236c' '8ee73dd288bc32438078e032dfc50a2f8ea6a5f2') backup=(etc/paxd-libre.conf) build() { cd $pkgname-$pkgver make CC=gcc } package() { cd $pkgname-$pkgver mkdir -p "$pkgdir/usr/lib/systemd/system/sysinit.target.wants" mkdir -p "$pkgdir/usr/lib/sysctl.d/" make PREFIX=/usr DESTDIR="$pkgdir" install install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" install -Dm644 ../10-enable-pax.conf "$pkgdir/usr/lib/sysctl.d/10-enable-pax.conf" }