updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / selinux-usr-sepolgen / PKGBUILD
blobe001c85523f1ed717e0490893f233f45f6a75cf0
1 # Maintainer: Nicky726 (Nicky726 <at> gmail <dot> com)                 
2 # Contributor: Sergej Pupykin (pupykin <dot> s+arch <at> gmail <dot> com)
4 pkgname=selinux-usr-sepolgen
5 _origname=sepolgen
6 _release=20110727
7 pkgver=1.1.0
8 pkgrel=1
9 pkgdesc="SELinux userspace (sepolgen)"
10 groups=('selinux' 'selinux-userspace')
11 arch=('i686' 'x86_64')
12 url="http://userspace.selinuxproject.org"
13 license=('GPL')
14 depends=('python2')
15 source=(http://userspace.selinuxproject.org/releases/${_release}/devel/${_origname}-${pkgver}.tar.gz)
16 sha256sums=('9f2f6b07912aee3ecf32060ea09bab6d8d9cfe492638b28f058b4490b44c8e78')
18 build() {
19   cd "${srcdir}/${_origname}-${pkgver}"
20   sed -i -e "s/shell  python -c/shell python2 -c/" "src/sepolgen/Makefile"
22   make
25 package(){
26   cd "${srcdir}/${_origname}-${pkgver}"
27   make DESTDIR="${pkgdir}" install