[arch-commits] Commit in lib32-attr/trunk (PKGBUILD)
Laurent Carlier
lcarlier at nymeria.archlinux.org
Thu Jun 6 20:56:25 UTC 2013
Date: Thursday, June 6, 2013 @ 22:56:25
Author: lcarlier
Revision: 92487
upgpkg: lib32-attr 2.4.47-1
Sync with testing
Modified:
lib32-attr/trunk/PKGBUILD
----------+
PKGBUILD | 20 +++++++++++---------
1 file changed, 11 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-06-06 20:20:19 UTC (rev 92486)
+++ PKGBUILD 2013-06-06 20:56:25 UTC (rev 92487)
@@ -3,8 +3,8 @@
_pkgbasename=attr
pkgname=lib32-$_pkgbasename
-pkgver=2.4.46
-pkgrel=2
+pkgver=2.4.47
+pkgrel=1
pkgdesc="Extended attribute support library for ACL support (32-bit)"
arch=(x86_64)
url="http://savannah.nongnu.org/projects/attr"
@@ -13,7 +13,7 @@
makedepends=('gcc-multilib' 'gettext')
options=('!libtool')
source=(http://download.savannah.gnu.org/releases/attr/attr-${pkgver}.src.tar.gz)
-sha256sums=('dcd69bdca7ff166bc45141eddbcf21967999a6b66b0544be12a1cc2fd6340e1f')
+sha256sums=('25772f653ac5b2e3ceeb89df50e4688891e21f723c460636548971652af0a859')
build() {
cd ${srcdir}/attr-${pkgver}
@@ -24,14 +24,16 @@
export INSTALL_USER=root INSTALL_GROUP=root
./configure --prefix=/usr --libdir=/usr/lib32 --libexecdir=/usr/lib32
make
+}
- # Doesn't like building as non-root
+package() {
+ cd ${srcdir}/attr-${pkgver}
-# make prefix=${pkgdir}/usr \
-# PKG_LIB_DIR=$pkgdir/usr/lib32 \
-# PKG_DEVLIB_DIR=$pkgdir/usr/lib32 \
- make DIST_ROOT="${pkgdir}" \
- install-lib install-dev
+ make DIST_ROOT="${pkgdir}" install-lib install-dev
+ # tidy up
+ rm -f "$pkgdir"/usr/lib32/libattr.a
+ chmod 0755 "$pkgdir"/usr/lib32/libattr.so.*.*.*
+
rm -rf "${pkgdir}"/usr/{bin,include,share}
}
More information about the arch-commits
mailing list