updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / selinux-usr-libsemanage-old / PKGBUILD
blob1ace6814d26b125fa9ac4174baecf136bfbe8341
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-libsemanage-old
6 _origname=libsemanage
7 _release=20080909
8 pkgver=1.10.9
9 pkgrel=1
10 pkgdesc="SELinux userspace (libsemanage including python bindings) compatabile with CentOS 5.4"
11 arch=('i686' 'x86_64')
12 url="http://userspace.selinuxproject.org"
13 license=('GPL')
14 depends=('ustr' 'selinux-usr-libselinux-old>=1.34.15')
15 conflicts=('selinux-usr-libsemanage-python')
16 options=(!emptydirs)
17 source=(http://userspace.selinuxproject.org/releases/${_release}/stable/${_origname}-${pkgver}.tar.gz)
18 md5sums=('a2eecb5e0a419cef7f39066378e59dcb')
20 build() {
21   cd "${srcdir}/${_origname}-${pkgver}"
22   make || return 1
23   make DESTDIR=${pkgdir} install
24   # Build python wrapper, which is needed for semanage tool
25   make pywrap || return 1
26   make DESTDIR="${pkgdir}" install-pywrap