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

Allan McRae allan at archlinux.org
Thu Nov 3 05:57:58 EDT 2011


    Date: Thursday, November 3, 2011 @ 05:57:57
  Author: allan
Revision: 141933

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  libcap/repos/testing-i686/
  libcap/repos/testing-i686/PKGBUILD
    (from rev 141932, libcap/trunk/PKGBUILD)
  libcap/repos/testing-x86_64/
  libcap/repos/testing-x86_64/PKGBUILD
    (from rev 141932, libcap/trunk/PKGBUILD)

-------------------------+
 testing-i686/PKGBUILD   |   27 +++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD |   27 +++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)

Copied: libcap/repos/testing-i686/PKGBUILD (from rev 141932, libcap/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2011-11-03 09:57:57 UTC (rev 141933)
@@ -0,0 +1,27 @@
+#$Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: Hugo Doria <hugo at archlinux.org>
+
+pkgname=libcap
+pkgver=2.22
+pkgrel=2
+pkgdesc="POSIX 1003.1e capabilities"
+arch=('i686' 'x86_64')
+url="http://sites.google.com/site/fullycapable/"
+license=('GPL2')
+depends=('glibc' 'attr')
+source=(http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/${pkgname}-${pkgver}.tar.gz{,.asc})
+md5sums=('b4896816b626bea445f0b3849bdd4077'
+         '9d0983e25e5a251d098507f9561d2b27')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make
+}
+
+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}
+}

Copied: libcap/repos/testing-x86_64/PKGBUILD (from rev 141932, libcap/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2011-11-03 09:57:57 UTC (rev 141933)
@@ -0,0 +1,27 @@
+#$Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: Hugo Doria <hugo at archlinux.org>
+
+pkgname=libcap
+pkgver=2.22
+pkgrel=2
+pkgdesc="POSIX 1003.1e capabilities"
+arch=('i686' 'x86_64')
+url="http://sites.google.com/site/fullycapable/"
+license=('GPL2')
+depends=('glibc' 'attr')
+source=(http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/${pkgname}-${pkgver}.tar.gz{,.asc})
+md5sums=('b4896816b626bea445f0b3849bdd4077'
+         '9d0983e25e5a251d098507f9561d2b27')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make
+}
+
+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}
+}



More information about the arch-commits mailing list