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

Dave Reisner dreisner at archlinux.org
Sun Apr 29 00:51:46 EDT 2012


    Date: Sunday, April 29, 2012 @ 00:51:46
  Author: dreisner
Revision: 157729

upgpkg: acl 2.2.51-2

- add upstream source gpg sig
- rebuild for /lib -> /usr/lib move

Modified:
  acl/trunk/PKGBUILD

----------+
 PKGBUILD |   24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-04-29 04:45:00 UTC (rev 157728)
+++ PKGBUILD	2012-04-29 04:51:46 UTC (rev 157729)
@@ -1,8 +1,9 @@
 # $Id$
 # Maintainer: Thomas Bächler <thomas at archlinux.org>
+
 pkgname=acl
 pkgver=2.2.51
-pkgrel=1
+pkgrel=2
 pkgdesc="Access control list utilities, libraries and headers"
 arch=('i686' 'x86_64')
 url="http://savannah.nongnu.org/projects/acl"
@@ -12,23 +13,22 @@
 provides=('xfsacl')
 conflicts=('xfsacl')
 options=('!libtool')
-source=(http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.src.tar.gz)
-sha256sums=('06854521cf5d396801af7e54b9636680edf8064355e51c07657ec7442a185225')
+source=("http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.src.tar.gz"{,.sig})
+sha256sums=('06854521cf5d396801af7e54b9636680edf8064355e51c07657ec7442a185225'
+            '10893e2a044905acc88e2d98291e739b7b858b36c836ff66a3532909964067ce')
 
 build() {
-  cd "${srcdir}"/${pkgname}-${pkgver}
+  cd "$pkgname-$pkgver"
 
-  export INSTALL_USER=root INSTALL_GROUP=root 
-  ./configure --prefix=/usr --libdir=/lib --libexecdir=/usr/lib
-  make 
+  export INSTALL_USER=root INSTALL_GROUP=root
+  ./configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib
+  make
 }
 
 package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  make -C "$pkgname-$pkgver" DIST_ROOT="$pkgdir" install install-lib install-dev
 
-  make DIST_ROOT="${pkgdir}" install install-lib install-dev
-
   # tidy up
-  rm -f ${pkgdir}/lib/libacl.a
-  chmod 0755 ${pkgdir}/lib/libacl.so.*.*.*
+  rm -f "$pkgdir"/usr/lib/libacl.a
+  chmod 0755 "$pkgdir"/usr/lib/libacl.so.*.*.*
 }



More information about the arch-commits mailing list