updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / selinux-usr-policycoreutils-old / PKGBUILD
blobd3c848cb4103e5c17bdc1f4255f248af6627325a
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
7 _release=20080909
8 pkgver=1.34.16
9 pkgrel=1
10 pkgdesc="SELinux userspace (policycoreutils) compatabile with CentOS 5.4"
11 arch=('i686' 'x86_64')
12 url="http://userspace.selinuxproject.org"
13 license=('GPL')
14 depends=('selinux-usr-libsemanage-old>=1.10.9' 'selinux-usr-libselinux-old>=1.34.15')
15 options=(!emptydirs)
16 source=(http://userspace.selinuxproject.org/releases/${_release}/stable/${_origname}-${pkgver}.tar.gz)
17 md5sums=('09814a5febe457a6f653e1f5e63e299b')
19 build() {
20   cd "${srcdir}/${_origname}-${pkgver}"
22   sed -i 's|/usr/bin/install|install|g' po/Makefile
23   sed -i 's|-Werror||g' setfiles/Makefile
25   make || return 1
26   make DESTDIR=${pkgdir} install