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

Allan McRae allan at archlinux.org
Sun Jan 23 01:26:22 EST 2011


    Date: Sunday, January 23, 2011 @ 01:26:22
  Author: allan
Revision: 107283

upgpkg: libcap 2.20-1
upstream update

Modified:
  libcap/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-01-23 05:19:26 UTC (rev 107282)
+++ PKGBUILD	2011-01-23 06:26:22 UTC (rev 107283)
@@ -1,26 +1,26 @@
 #$Id$
-# Maintainer: Hugo Doria <hugo at archlinux.org>
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: Hugo Doria <hugo at archlinux.org>
 
 pkgname=libcap
-pkgver=2.19
-pkgrel=2
+pkgver=2.20
+pkgrel=1
 pkgdesc="POSIX 1003.1e capabilities"
 arch=('i686' 'x86_64')
 url="http://www.kernel.org/pub/linux/libs/security/linux-privs/"
 license=('GPL')
 depends=('glibc' 'attr')
 source=(http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/${pkgname}-${pkgver}.tar.gz)
-md5sums=('9caa6dafc9e3db4cbaecdb8e48f23fa2')
+md5sums=('8ce6905851ffdde287d00d8269775ade')
 
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  sed -i -e "s|LIBDIR=\$(FAKEROOT)\$(lib_prefix)/\$(lib)|LIBDIR=\$(FAKEROOT)/\$(lib)|g" Make.Rules
+  cd ${srcdir}/${pkgname}-${pkgver}
   make
 }
 
 package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make prefix=/usr DESTDIR=${pkgdir} install
+  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