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
9 pkgdesc="SELinux userspace (sepolgen)"
10 groups=('selinux' 'selinux-userspace')
11 arch=('i686' 'x86_64')
12 url="http://userspace.selinuxproject.org"
15 source=(http://userspace.selinuxproject.org/releases/${_release}/devel/${_origname}-${pkgver}.tar.gz)
16 sha256sums=('9f2f6b07912aee3ecf32060ea09bab6d8d9cfe492638b28f058b4490b44c8e78')
19 cd "${srcdir}/${_origname}-${pkgver}"
20 sed -i -e "s/shell python -c/shell python2 -c/" "src/sepolgen/Makefile"
26 cd "${srcdir}/${_origname}-${pkgver}"
27 make DESTDIR="${pkgdir}" install