From 8f0418e4a239ba973834592537b474d3aac52d5b Mon Sep 17 00:00:00 2001 From: root Date: Sat, 13 Apr 2013 00:05:58 -0700 Subject: Sat Apr 13 00:05:58 PDT 2013 --- core/libcap/PKGBUILD | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'core/libcap') diff --git a/core/libcap/PKGBUILD b/core/libcap/PKGBUILD index 99d938bfe..70c3a306e 100644 --- a/core/libcap/PKGBUILD +++ b/core/libcap/PKGBUILD @@ -1,15 +1,16 @@ -#$Id: PKGBUILD 158556 2012-05-04 23:56:45Z allan $ +#$Id: PKGBUILD 182644 2013-04-12 00:05:24Z allan $ # Maintainer: Allan McRae # Contributor: Hugo Doria pkgname=libcap pkgver=2.22 -pkgrel=3 +pkgrel=4 pkgdesc="POSIX 1003.1e capabilities" arch=('i686' 'x86_64') url="http://sites.google.com/site/fullycapable/" license=('GPL2') depends=('glibc' 'attr') +options=('!staticlibs') source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.asc}) md5sums=('b4896816b626bea445f0b3849bdd4077' '9d0983e25e5a251d098507f9561d2b27') @@ -21,10 +22,7 @@ build() { package() { cd ${srcdir}/${pkgname}-${pkgver} - make prefix=/usr DESTDIR=${pkgdir} RAISE_SETFCAP=no install - - chmod 755 ${pkgdir}/usr/lib/libcap.so.${pkgver} - rm ${pkgdir}/usr/lib/libcap.a + make prefix=/usr lib=/lib DESTDIR=${pkgdir} RAISE_SETFCAP=no install install -Dm644 pam_cap/capability.conf \ $pkgdir/usr/share/doc/$pkgname/capability.conf.example -- cgit v1.2.3-54-g00ecf