[arch-commits] Commit in attr/trunk (PKGBUILD)
Allan McRae
allan at archlinux.org
Sat Dec 4 11:43:21 UTC 2010
Date: Saturday, December 4, 2010 @ 06:43:19
Author: allan
Revision: 102073
upgpkg: attr 2.4.44-2
rebuild of old package, tidy up PKGBUILD
Modified:
attr/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-12-04 11:32:18 UTC (rev 102072)
+++ PKGBUILD 2010-12-04 11:43:19 UTC (rev 102073)
@@ -2,9 +2,9 @@
# Maintainer: Thomas Bächler <thomas at archlinux.org>
pkgname=attr
pkgver=2.4.44
-pkgrel=1
+pkgrel=2
pkgdesc="Extended attribute support library for ACL support"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
url="http://oss.sgi.com/projects/xfs/"
license=('LGPL')
depends=('glibc')
@@ -21,13 +21,17 @@
autoconf
./configure --prefix=/usr
sed -i -e 's/man2//g' man/Makefile
- make || return 1
+ make
+}
+
+package() {
+ cd $srcdir/attr-$pkgver
make prefix=${pkgdir}/usr install install-lib install-dev
# tidy up
cd "${pkgdir}"
- mkdir -v lib
+ install -dm755 lib
mv -v usr/lib/libattr.so* lib/
ln -sv ../../lib/libattr.so.1 usr/lib/libattr.so
More information about the arch-commits
mailing list