updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / selinux-refpolicy-src / PKGBUILD
blobb4b4da0433e4d5d0014541a08c70947a29d92828
1 # Maintainer: Nicky726 (Nicky726 <at> gmail <dot> com)
2 # Contributor: Sergej Pupykin (pupykin <dot> s+arch <at> gmail <dot> com)
4 pkgname=selinux-refpolicy-src
5 _origname=refpolicy
6 pkgver=20110726
7 pkgrel=2
8 pkgdesc="SELinux reference policy sources"
9 arch=('any')
10 url="http://oss.tresys.com/projects/refpolicy"
11 license=('GPL')
12 groups=('selinux' 'selinux-policies')
13 depends=('linux-selinux')
14 makedepends=('selinux-usr-checkpolicy>=2.0.16' 'selinux-usr-policycoreutils>=2.0.0' 
15              'selinux-usr-libsepol>=2.0.29' 'selinux-usr-libsemanage>=2.0.29' 
16              'pyxml')
17 source=(http://oss.tresys.com/files/${_origname}/${_origname}-2.${pkgver}.tar.bz2)
18 sha256sums=('8159b7535aa0f805510e4e3504b1317d7083b227f0ef3df51c6f002ed70ecedb')
20 package() {
21   cd "${srcdir}/${_origname}"
22   sed -i -e "s/python/python2/" Makefile
23   make DESTDIR="${pkgdir}" install-src