summaryrefslogtreecommitdiffstats
path: root/abs/core/attr
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2011-08-05 19:53:20 (GMT)
committerBritney Fransen <brfransen@gmail.com>2011-08-05 19:53:20 (GMT)
commitc17edabbc0e0118a3432339620f9ce9e23080e7c (patch)
tree1f30fe83ee2532f508502360d8c2a540c8e2e132 /abs/core/attr
parent305753e103888a633c1dd32073fb5fe35b5f0a80 (diff)
downloadlinhes_pkgbuild-c17edabbc0e0118a3432339620f9ce9e23080e7c.zip
linhes_pkgbuild-c17edabbc0e0118a3432339620f9ce9e23080e7c.tar.gz
linhes_pkgbuild-c17edabbc0e0118a3432339620f9ce9e23080e7c.tar.bz2
attr: Bump to latest.
Diffstat (limited to 'abs/core/attr')
-rw-r--r--abs/core/attr/PKGBUILD39
1 files changed, 20 insertions, 19 deletions
diff --git a/abs/core/attr/PKGBUILD b/abs/core/attr/PKGBUILD
index 5be563f..229f36f 100644
--- a/abs/core/attr/PKGBUILD
+++ b/abs/core/attr/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 82618 2010-06-15 04:05:25Z allan $
+# $Id$
# Maintainer: Thomas Bächler <thomas@archlinux.org>
pkgname=attr
-pkgver=2.4.44
+pkgver=2.4.46
pkgrel=1
pkgdesc="Extended attribute support library for ACL support"
-arch=(i686 x86_64)
-url="http://oss.sgi.com/projects/xfs/"
+arch=('i686' 'x86_64')
+url="http://savannah.nongnu.org/projects/attr"
license=('LGPL')
depends=('glibc')
makedepends=('gettext')
@@ -13,24 +13,25 @@ replaces=('xfsattr')
provides=('xfsattr')
conflicts=('xfsattr')
options=('!libtool')
-source=(ftp://ftp.archlinux.org/other/attr/attr-${pkgver}.src.tar.gz)
-sha256sums=('e01fa00686072a02dddf994e6217be950f51c1dc0852ad2e210c48b6e8de793a')
+source=(http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.src.tar.gz)
+sha256sums=('dcd69bdca7ff166bc45141eddbcf21967999a6b66b0544be12a1cc2fd6340e1f')
build() {
- cd $srcdir/attr-$pkgver
- autoconf
- ./configure --prefix=/usr
- sed -i -e 's/man2//g' man/Makefile
- make || return 1
- make prefix=${pkgdir}/usr install install-lib install-dev
+ cd "${srcdir}"/${pkgname}-${pkgver}
+
+ export INSTALL_USER=root INSTALL_GROUP=root
+ ./configure --prefix=/usr --libdir=/lib --libexecdir=/usr/lib
+ make
+}
- # tidy up
- cd "${pkgdir}"
+package() {
+ cd "${srcdir}"/${pkgname}-${pkgver}
- mkdir -v lib
- mv -v usr/lib/libattr.so* lib/
- ln -sv ../../lib/libattr.so.1 usr/lib/libattr.so
+ make DIST_ROOT="${pkgdir}" install install-lib install-dev
- mv -v usr/libexec/libattr.{a,la} usr/lib/
- rm -rvf usr/libexec
+ # tidy up
+ rm -f "${pkgdir}"/lib/libattr.a
+ chmod 0755 "${pkgdir}"/lib/libattr.so.*.*.*
+ # remove conflicting manpages
+ rm -rf "${pkgdir}"/usr/share/man/man2
}