summaryrefslogtreecommitdiffstats
path: root/abs/core/libcap/PKGBUILD
blob: 8d09b19627c60f0cb99db12f96a19eff6d6cb193 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#$Id: PKGBUILD 8870 2008-08-16 22:39:56Z eric $
# Maintainer: Arjan Timmerman <arjan@archlinux.org>
pkgname=libcap
pkgver=1.10
pkgrel=2
pkgdesc="POSIX 1003.1e capabilities"
arch=(i686 x86_64)
url="http://www.kernel.org/pub/linux/libs/security/linux-privs/"
license="GPL"
depends=('glibc')
source=(http://www.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.4/${pkgname}-${pkgver}.tar.gz
	libcap-1.10-debian.patch)
md5sums=('2c09eea823f67cfdde96177a959bc39b' 'ba642c86c4072917fcff77ec31411194')

build() {
  cd ${startdir}/src/${pkgname}-${pkgver}
  patch -Np1 -i ${startdir}/src/libcap-1.10-debian.patch || return 1
  make prefix=/usr DESTDIR=${startdir}/pkg install
  rmdir ${startdir}/pkg/usr/share/man/man2
}