[arch-commits] Commit in libcap/repos (4 files)
Tom Gundersen
tomegun at archlinux.org
Sat Apr 28 19:42:00 UTC 2012
Date: Saturday, April 28, 2012 @ 15:41:59
Author: tomegun
Revision: 157478
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
libcap/repos/staging-i686/
libcap/repos/staging-i686/PKGBUILD
(from rev 157477, libcap/trunk/PKGBUILD)
libcap/repos/staging-x86_64/
libcap/repos/staging-x86_64/PKGBUILD
(from rev 157477, libcap/trunk/PKGBUILD)
-------------------------+
staging-i686/PKGBUILD | 31 +++++++++++++++++++++++++++++++
staging-x86_64/PKGBUILD | 31 +++++++++++++++++++++++++++++++
2 files changed, 62 insertions(+)
Copied: libcap/repos/staging-i686/PKGBUILD (from rev 157477, libcap/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2012-04-28 19:41:59 UTC (rev 157478)
@@ -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
+}
Copied: libcap/repos/staging-x86_64/PKGBUILD (from rev 157477, libcap/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2012-04-28 19:41:59 UTC (rev 157478)
@@ -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