diff options
author | Nicolas Iooss | 2014-10-24 13:35:27 +0200 |
---|---|---|
committer | Nicolas Iooss | 2015-06-27 11:44:57 +0800 |
commit | 236fc869029e32ea77e128f54fc173e2e1b26386 (patch) | |
tree | 2e3a19f0f8308bc0e6bf2d137c0a07e18948cf5f | |
download | aur-236fc869029e32ea77e128f54fc173e2e1b26386.tar.gz |
Import selinux-refpolicy-src 20130424-1
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b6f124eb20b4 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = selinux-refpolicy-src + pkgdesc = SELinux reference policy sources + pkgver = 20130424 + pkgrel = 1 + url = http://oss.tresys.com/projects/refpolicy + arch = any + groups = selinux + groups = selinux-policies + license = GPL + makedepends = selinux-usr-checkpolicy>=2.1.8 + makedepends = selinux-usr-policycoreutils>=2.1.10 + makedepends = selinux-usr-libsepol>=2.1.4 + makedepends = selinux-usr-libsemanage>=2.0.29 + makedepends = pyxml + depends = linux-selinux + source = http://oss.tresys.com/files/refpolicy/refpolicy-2.20130424.tar.bz2 + sha256sums = 6039ba854f244a39dc727cc7db25632f7b933bb271c803772d754d4354f5aef4 + +pkgname = selinux-refpolicy-src + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..59260a267901 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Nicky726 (Nicky726 <at> gmail <dot> com) +# Contributor: Sergej Pupykin (pupykin <dot> s+arch <at> gmail <dot> com) + +pkgname=selinux-refpolicy-src +_origname=refpolicy +pkgver=20130424 +pkgrel=1 +pkgdesc="SELinux reference policy sources" +arch=('any') +url="http://oss.tresys.com/projects/refpolicy" +license=('GPL') +groups=('selinux' 'selinux-policies') +depends=('linux-selinux') +makedepends=('selinux-usr-checkpolicy>=2.1.8' 'selinux-usr-policycoreutils>=2.1.10' + 'selinux-usr-libsepol>=2.1.4' 'selinux-usr-libsemanage>=2.0.29' + 'pyxml') +source=(http://oss.tresys.com/files/${_origname}/${_origname}-2.${pkgver}.tar.bz2) +sha256sums=('6039ba854f244a39dc727cc7db25632f7b933bb271c803772d754d4354f5aef4') + +package() { + cd "${srcdir}/${_origname}" + sed -i -e "s/python/python2/" Makefile + make DESTDIR="${pkgdir}" install-src +} |