[arch-commits] Commit in libcap/repos (3 files)

Dave Reisner dreisner at archlinux.org
Sat Apr 28 17:41:04 EDT 2012


    Date: Saturday, April 28, 2012 @ 17:41:04
  Author: dreisner
Revision: 157509

db-move: moved libcap from [staging] to [testing] (i686)

Added:
  libcap/repos/testing-i686/
  libcap/repos/testing-i686/PKGBUILD
    (from rev 157502, libcap/repos/staging-i686/PKGBUILD)
Deleted:
  libcap/repos/staging-i686/

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: libcap/repos/testing-i686/PKGBUILD (from rev 157502, libcap/repos/staging-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-04-28 21:41:04 UTC (rev 157509)
@@ -0,0 +1,31 @@
+#$Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: Hugo Doria <hugo at archlinux.org>
+
+pkgname=libcap
+pkgver=2.22
+pkgrel=3
+pkgdesc="POSIX 1003.1e capabilities"
+arch=('i686' 'x86_64')
+url="http://sites.google.com/site/fullycapable/"
+license=('GPL2')
+depends=('glibc' 'attr')
+source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.asc})
+md5sums=('b4896816b626bea445f0b3849bdd4077'
+         '9d0983e25e5a251d098507f9561d2b27')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make
+}
+
+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
+  
+  install -Dm644 pam_cap/capability.conf \
+    $pkgdir/usr/share/doc/$pkgname/capability.conf.example
+}



More information about the arch-commits mailing list