summaryrefslogtreecommitdiff
path: root/core/libcap/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-05-06 11:43:14 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2012-05-06 11:43:14 +0200
commit601a559448eb957ac98aca7a6e03de59e45fff91 (patch)
tree13fc71216622c3d764aa611b6a54e1918f21c496 /core/libcap/PKGBUILD
parentc96a7351e1f295c1e311860dec19ac7b506b0c5c (diff)
parentf37e773fe397778858ea8d51601554863c252536 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/rtorrent/PKGBUILD core/libcap/PKGBUILD extra/samba/PKGBUILD extra/systemd/PKGBUILD extra/usbmuxd/PKGBUILD testing/glib2/PKGBUILD
Diffstat (limited to 'core/libcap/PKGBUILD')
-rw-r--r--core/libcap/PKGBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/core/libcap/PKGBUILD b/core/libcap/PKGBUILD
index 5cbe23582..cd7b32b4e 100644
--- a/core/libcap/PKGBUILD
+++ b/core/libcap/PKGBUILD
@@ -1,10 +1,10 @@
-#$Id: PKGBUILD 151511 2012-02-27 01:00:35Z allan $
+#$Id: PKGBUILD 158556 2012-05-04 23:56:45Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Hugo Doria <hugo@archlinux.org>
pkgname=libcap
pkgver=2.22
-pkgrel=2.1
+pkgrel=3
pkgdesc="POSIX 1003.1e capabilities"
arch=('i686' 'x86_64' 'mips64el')
url="http://sites.google.com/site/fullycapable/"
@@ -21,7 +21,11 @@ build() {
package() {
cd ${srcdir}/${pkgname}-${pkgver}
- make prefix=/usr DESTDIR=${pkgdir} LIBDIR=${pkgdir}/lib RAISE_SETFCAP=no install
- rm ${pkgdir}/lib/*.a
- chmod 755 ${pkgdir}/lib/libcap.so.${pkgver}
+ make prefix=/usr DESTDIR=${pkgdir} RAISE_SETFCAP=no install
+
+ chmod 755 ${pkgdir}/usr/lib/libcap.so.${pkgver}
+ rm ${pkgdir}/usr/lib/libcap.a
+
+ install -Dm644 pam_cap/capability.conf \
+ $pkgdir/usr/share/doc/$pkgname/capability.conf.example
}