# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Sergej Pupykin pkgname=selinux-refpolicy-src pkgver=20081210 pkgrel=1 pkgdesc="SELinux reference policy" arch=(i686 x86_64) url="http://oss.tresys.com/projects/refpolicy" license=('GPL') depends=() options=() source=(http://oss.tresys.com/files/refpolicy/refpolicy-2.$pkgver.tar.bz2) md5sums=('1c2996051ab0912dbfab4998c8edb1d8') build() { cd "$startdir/src/refpolicy" install -d -m0755 $pkgdir/etc/selinux/refpolicy/src/policy make DESTDIR="$pkgdir" install-src || return 1 rm -rf $pkgdir/etc/selinux/refpolicy/src/policy.old }