[arch-commits] Commit in libcap/trunk (PKGBUILD)

Allan McRae allan at archlinux.org
Sat Apr 28 17:01:23 UTC 2012


    Date: Saturday, April 28, 2012 @ 13:01:22
  Author: allan
Revision: 157460

move files from /lib to /usr/lib, add example configuration file

Modified:
  libcap/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-04-28 16:55:28 UTC (rev 157459)
+++ PKGBUILD	2012-04-28 17:01:22 UTC (rev 157460)
@@ -21,7 +21,11 @@
 
 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
 }




More information about the arch-commits mailing list