mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-07 23:24:05 +00:00
26 lines
726 B
Bash
26 lines
726 B
Bash
|
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
||
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
||
|
|
||
|
pkgname=selinux-usr-policycoreutils
|
||
|
pkgver=1.34.16
|
||
|
pkgrel=2
|
||
|
pkgdesc="selinux userspace (policycoreutils)"
|
||
|
arch=(i686 x86_64)
|
||
|
url="http://www.nsa.gov/selinux/index.cfm"
|
||
|
license=('GPL')
|
||
|
depends=(selinux-pam selinux-usr-libsemanage selinux-usr-libselinux)
|
||
|
makedepends=(selinux-flex)
|
||
|
options=(!emptydirs)
|
||
|
source=(http://www.nsa.gov/selinux/archives/policycoreutils-$pkgver.tgz)
|
||
|
md5sums=('1d81b23f26cef6b030159ff1a38b45b3')
|
||
|
|
||
|
build() {
|
||
|
cd $srcdir/policycoreutils-$pkgver
|
||
|
|
||
|
sed -i 's|/usr/bin/install|install|g' po/Makefile
|
||
|
sed -i 's|-Werror||g' setfiles/Makefile
|
||
|
|
||
|
make || return 1
|
||
|
make DESTDIR=$startdir/pkg install
|
||
|
}
|