1 # Maintainer: Nicky726 (Nicky726 <at> gmail <dot> com)
2 # Contributor: Sergej Pupykin (pupykin <dot> s+arch <at> gmail <dot> com)
4 pkgname=selinux-usr-libsemanage
9 pkgdesc="SELinux userspace (libsemanage including python bindings)"
10 arch=('i686' 'x86_64')
11 url="http://userspace.selinuxproject.org"
13 groups=('selinux' 'selinux-userspace')
14 depends=('ustr' 'selinux-usr-libselinux>=2.1.0' 'python2')
15 conflicts=('selinux-usr-libsemanage-python')
17 source=(http://userspace.selinuxproject.org/releases/${_release}/devel/${_origname}-${pkgver}.tar.gz)
18 sha256sums=('004c05e32326b1658a85743a950b322d509032dc7c7f652989d7a20ec3652d0f')
21 cd "${srcdir}/${_origname}-${pkgver}"
23 sed -i -e "s/shell python -c/shell python2 -c/" "src/Makefile"
25 # Build python wrapper, which is needed for semanage tool
30 cd "${srcdir}/${_origname}-${pkgver}"
31 make DESTDIR="${pkgdir}" install
32 make DESTDIR="${pkgdir}" install-pywrap