1 # Maintainer: Jason Axelson (bostonvaulter <at> gmail <dot> com)
2 # Contributor: Nicky726 (Nicky726 <at> gmail <dot> com)
3 # Contributor: Sergej Pupykin (pupykin <dot> s+arch <at> gmail <dot> com)
5 pkgname=selinux-usr-policycoreutils-old
6 _origname=policycoreutils
10 pkgdesc="SELinux userspace (policycoreutils) compatabile with CentOS 5.4"
11 arch=('i686' 'x86_64')
12 url="http://userspace.selinuxproject.org"
14 depends=('selinux-usr-libsemanage-old>=1.10.9' 'selinux-usr-libselinux-old>=1.34.15')
16 source=(http://userspace.selinuxproject.org/releases/${_release}/stable/${_origname}-${pkgver}.tar.gz)
17 md5sums=('09814a5febe457a6f653e1f5e63e299b')
20 cd "${srcdir}/${_origname}-${pkgver}"
22 sed -i 's|/usr/bin/install|install|g' po/Makefile
23 sed -i 's|-Werror||g' setfiles/Makefile
26 make DESTDIR=${pkgdir} install