diff options
author | root <root@rshg047.dnsready.net> | 2011-05-15 22:39:31 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-05-15 22:39:31 +0000 |
commit | a45aa8f19ea32f45610dafabfc06c8b7d1ed5cfe (patch) | |
tree | 3855efd25da6fab2bbaf889a2090a44a9faab93f /testing/attr | |
parent | e69c538fc7af5a9861c7688dd15913082d978180 (diff) |
Sun May 15 22:39:30 UTC 2011
Diffstat (limited to 'testing/attr')
-rw-r--r-- | testing/attr/PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/attr/PKGBUILD b/testing/attr/PKGBUILD new file mode 100644 index 000000000..30f3ad81a --- /dev/null +++ b/testing/attr/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 123916 2011-05-14 10:31:07Z thomas $ +# Maintainer: Thomas Bächler <thomas@archlinux.org> +pkgname=attr +pkgver=2.4.46 +pkgrel=1 +pkgdesc="Extended attribute support library for ACL support" +arch=('i686' 'x86_64') +url="http://savannah.nongnu.org/projects/attr" +license=('LGPL') +depends=('glibc') +makedepends=('gettext') +replaces=('xfsattr') +provides=('xfsattr') +conflicts=('xfsattr') +options=('!libtool') +source=(http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.src.tar.gz) +sha256sums=('dcd69bdca7ff166bc45141eddbcf21967999a6b66b0544be12a1cc2fd6340e1f') + +build() { + cd "${srcdir}"/${pkgname}-${pkgver} + + export INSTALL_USER=root INSTALL_GROUP=root + ./configure --prefix=/usr --libdir=/lib --libexecdir=/usr/lib + make +} + +package() { + cd "${srcdir}"/${pkgname}-${pkgver} + + make DIST_ROOT="${pkgdir}" install install-lib install-dev + + # tidy up + rm -f "${pkgdir}"/lib/libattr.a + chmod 0755 "${pkgdir}"/lib/libattr.so.*.*.* + # remove conflicting manpages + rm -rf "${pkgdir}"/usr/share/man/man2 +} |