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

Allan McRae allan at archlinux.org
Fri May 4 23:56:45 UTC 2012


    Date: Friday, May 4, 2012 @ 19:56:45
  Author: allan
Revision: 158556

db-move: moved libcap from [testing] to [core] (x86_64)

Added:
  libcap/repos/core-x86_64/PKGBUILD
    (from rev 158554, libcap/repos/testing-x86_64/PKGBUILD)
Deleted:
  libcap/repos/core-x86_64/PKGBUILD
  libcap/repos/testing-x86_64/

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

Deleted: core-x86_64/PKGBUILD
===================================================================
--- core-x86_64/PKGBUILD	2012-05-04 23:56:43 UTC (rev 158555)
+++ core-x86_64/PKGBUILD	2012-05-04 23:56:45 UTC (rev 158556)
@@ -1,27 +0,0 @@
-#$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=(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} LIBDIR=${pkgdir}/lib RAISE_SETFCAP=no install
-  rm ${pkgdir}/lib/*.a
-  chmod 755 ${pkgdir}/lib/libcap.so.${pkgver}
-}

Copied: libcap/repos/core-x86_64/PKGBUILD (from rev 158554, libcap/repos/testing-x86_64/PKGBUILD)
===================================================================
--- core-x86_64/PKGBUILD	                        (rev 0)
+++ core-x86_64/PKGBUILD	2012-05-04 23:56:45 UTC (rev 158556)
@@ -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