diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-06 22:26:48 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-06 22:26:48 (GMT) |
commit | 0e0f3c55bdfd3898c18890c35d8b4673f4fd5295 (patch) | |
tree | ab6b6233a98fd6178a7cefc98b18a5dfea503fbd | |
parent | f4b3a2df2acda4bb816bd0439d883356ec70ff37 (diff) | |
download | linhes_pkgbuild-0e0f3c55bdfd3898c18890c35d8b4673f4fd5295.zip linhes_pkgbuild-0e0f3c55bdfd3898c18890c35d8b4673f4fd5295.tar.gz linhes_pkgbuild-0e0f3c55bdfd3898c18890c35d8b4673f4fd5295.tar.bz2 |
attr 2.4.46
-rw-r--r-- | abs/core/attr/PKGBUILD | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/abs/core/attr/PKGBUILD b/abs/core/attr/PKGBUILD index 229f36f..5fb0a8e 100644 --- a/abs/core/attr/PKGBUILD +++ b/abs/core/attr/PKGBUILD @@ -1,8 +1,9 @@ -# $Id$ +# $Id: PKGBUILD 158576 2012-05-05 00:02:37Z allan $ # Maintainer: Thomas Bächler <thomas@archlinux.org> + pkgname=attr pkgver=2.4.46 -pkgrel=1 +pkgrel=2 pkgdesc="Extended attribute support library for ACL support" arch=('i686' 'x86_64') url="http://savannah.nongnu.org/projects/attr" @@ -13,25 +14,25 @@ replaces=('xfsattr') provides=('xfsattr') conflicts=('xfsattr') options=('!libtool') -source=(http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.src.tar.gz) -sha256sums=('dcd69bdca7ff166bc45141eddbcf21967999a6b66b0544be12a1cc2fd6340e1f') +source=("http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.src.tar.gz"{,.sig}) +sha256sums=('dcd69bdca7ff166bc45141eddbcf21967999a6b66b0544be12a1cc2fd6340e1f' + 'a8ee37a0d02c0365049b8a06dc6963e6698a448ff2c0a54ed040f0c60f27bca3') build() { - cd "${srcdir}"/${pkgname}-${pkgver} - + cd "$pkgname-$pkgver" + export INSTALL_USER=root INSTALL_GROUP=root - ./configure --prefix=/usr --libdir=/lib --libexecdir=/usr/lib + ./configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib make } package() { - cd "${srcdir}"/${pkgname}-${pkgver} - - make DIST_ROOT="${pkgdir}" install install-lib install-dev + make -C "$pkgname-$pkgver" DIST_ROOT="$pkgdir" install install-lib install-dev # tidy up - rm -f "${pkgdir}"/lib/libattr.a - chmod 0755 "${pkgdir}"/lib/libattr.so.*.*.* + rm -f "$pkgdir"/usrlib/libattr.a + chmod 0755 "$pkgdir"/usr/lib/libattr.so.*.*.* + # remove conflicting manpages - rm -rf "${pkgdir}"/usr/share/man/man2 + rm -rf "$pkgdir"/usr/share/man/man2 } |