Date: Tuesday, November 5, 2013 @ 21:26:35
  Author: bluewind
Revision: 100547

upgpkg: lib32-libcap 2.22-2

pkgbuild cleanup

Modified:
  lib32-libcap/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2013-11-05 19:47:43 UTC (rev 100546)
+++ PKGBUILD    2013-11-05 20:26:35 UTC (rev 100547)
@@ -1,10 +1,11 @@
 #$Id$
-# Maintainer: Hugo Doria <h...@archlinux.org>
+# Maintainer: Florian Pritz <bluew...@xinu.at>
+# Contributor: Hugo Doria <h...@archlinux.org>
 
 _pkgbasename=libcap
 pkgname=lib32-$_pkgbasename
 pkgver=2.22
-pkgrel=1
+pkgrel=2
 pkgdesc="POSIX 1003.1e capabilities (32-bit)"
 arch=(x86_64)
 url="http://www.kernel.org/pub/linux/libs/security/linux-privs/";
@@ -16,11 +17,17 @@
          '9d0983e25e5a251d098507f9561d2b27')
 
 build() {
-  cd ${srcdir}/${_pkgbasename}-${pkgver}
+  cd "${srcdir}/${_pkgbasename}-${pkgver}"
 
   export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
 
-  make -C libcap CC="gcc -m32" prefix=/usr lib=lib32 DESTDIR=${pkgdir} install
+  make -C libcap CC="gcc -m32" prefix=/usr lib=lib32
+}
+
+package() {
+  cd "${srcdir}/${_pkgbasename}-${pkgver}"
+
+  make -C libcap prefix=/usr lib=lib32 DESTDIR=${pkgdir} install
   chmod 755 ${pkgdir}/usr/lib32/libcap.so.${pkgver}
 
   rm -rf "${pkgdir}/usr/include"

Reply via email to