PKGBUILDs/community/selinux-refpolicy-src/PKGBUILD
2009-10-09 21:15:33 -05:00

22 lines
628 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
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
}