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
8 pkgdesc="SELinux reference policy sources"
10 url="http://oss.tresys.com/projects/refpolicy"
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'
17 source=(http://oss.tresys.com/files/${_origname}/${_origname}-2.${pkgver}.tar.bz2)
18 sha256sums=('8159b7535aa0f805510e4e3504b1317d7083b227f0ef3df51c6f002ed70ecedb')
21 cd "${srcdir}/${_origname}"
22 sed -i -e "s/python/python2/" Makefile
23 make DESTDIR="${pkgdir}" install-src