mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
36 lines
902 B
Bash
36 lines
902 B
Bash
# Maintainer: Krzysztof "hiciu" Warzecha <kwarzecha7@gmail.com>
|
|
pkgname=attr
|
|
pkgver=2.4.43
|
|
pkgrel=2
|
|
pkgdesc="Extended attribute support library for ACL support"
|
|
arch=(arm)
|
|
url="http://oss.sgi.com/projects/xfs/"
|
|
license=('LGPL')
|
|
groups=('base')
|
|
depends=('glibc')
|
|
makedepends=('gettext')
|
|
replaces=('xfsattr')
|
|
provides=('xfsattr')
|
|
conflicts=('xfsattr')
|
|
options=('!libtool')
|
|
source=(ftp://oss.sgi.com/projects/xfs/cmd_tars/attr_${pkgver}-1.tar.gz)
|
|
md5sums=('91583a14bcbd637adaa9b07ea49c5d4b')
|
|
|
|
build() {
|
|
cd $startdir/src/attr-$pkgver
|
|
autoconf
|
|
./configure --prefix=/usr
|
|
sed -i -e 's/man2//g' man/Makefile
|
|
make || return 1
|
|
make prefix=${startdir}/pkg/usr install install-lib install-dev
|
|
|
|
# tidy up
|
|
cd "${startdir}/pkg"
|
|
|
|
mkdir -v lib
|
|
mv -v usr/lib/libattr.so* lib/
|
|
ln -sv ../../lib/libattr.so.1 usr/lib/libattr.so
|
|
|
|
mv -v usr/libexec/libattr.{a,la} usr/lib/
|
|
rm -rvf usr/libexec
|
|
}
|