blob: 918c4028e503b5cd5df90c2433d388a6aa3d376d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# $Id$
# Maintainer: Eric Bélanger <eric@archlinux.org>
# SELinux Maintainer: Nicolas Iooss (nicolas <dot> iooss <at> m4x <dot> org)
# SELinux Contributor: Timothée Ravier <tim@siosm.fr>
# SELinux Contributor: Nicky726 <Nicky726@gmail.com>
pkgname=psmisc-selinux
pkgver=22.21
pkgrel=3
pkgdesc="Miscellaneous procfs tools with SELinux support"
arch=('i686' 'x86_64')
url="http://psmisc.sourceforge.net/index.html"
license=('GPL')
groups=('selinux')
depends=('ncurses' 'libselinux')
conflicts=("${pkgname/-selinux}" "selinux-${pkgname/-selinux}")
provides=("${pkgname/-selinux}=${pkgver}-${pkgrel}"
"selinux-${pkgname/-selinux}=${pkgver}-${pkgrel}")
source=(http://downloads.sourceforge.net/psmisc/${pkgname/-selinux}-${pkgver}.tar.gz
psmisc-fuser.patch)
sha1sums=('09fabbef4539b58b6b8738a73da3d21d5daa1a58'
'e739ad5b14ca836db5859f0755d8f2fc8e86de69')
prepare() {
cd "${srcdir}/${pkgname/-selinux}-${pkgver}"
patch -p1 -i ../psmisc-fuser.patch
}
build() {
cd "${srcdir}/${pkgname/-selinux}-${pkgver}"
./configure --prefix=/usr --enable-selinux
make
}
package() {
cd "${srcdir}/${pkgname/-selinux}-${pkgver}"
make DESTDIR="${pkgdir}" install
}
|