summaryrefslogtreecommitdiff
path: root/core/libcap
diff options
context:
space:
mode:
Diffstat (limited to 'core/libcap')
-rw-r--r--core/libcap/PKGBUILD11
1 files changed, 9 insertions, 2 deletions
diff --git a/core/libcap/PKGBUILD b/core/libcap/PKGBUILD
index 1066620dd..24d2ade35 100644
--- a/core/libcap/PKGBUILD
+++ b/core/libcap/PKGBUILD
@@ -1,10 +1,10 @@
-#$Id: PKGBUILD 182644 2013-04-12 00:05:24Z allan $
+#$Id: PKGBUILD 185557 2013-05-15 05:24:44Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Hugo Doria <hugo@archlinux.org>
pkgname=libcap
pkgver=2.22
-pkgrel=4
+pkgrel=5
pkgdesc="POSIX 1003.1e capabilities"
arch=('i686' 'x86_64' 'mips64el')
url="http://sites.google.com/site/fullycapable/"
@@ -15,6 +15,13 @@ source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.a
md5sums=('b4896816b626bea445f0b3849bdd4077'
'9d0983e25e5a251d098507f9561d2b27')
+prepare() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ # install into /usr/bin
+ sed -i "/SBINDIR/s#sbin#bin#" Make.Rules
+}
+
build() {
cd ${srcdir}/${pkgname}-${pkgver}
make lib=lib