# $Id: PKGBUILD 26327 2009-02-06 16:24:28Z paul $ # Maintainer: Paul Mattal <paul@archlinux.org> pkgname=xfsprogs pkgver=3.0.0 pkgrel=1 pkgdesc="XFS filesystem utilities" arch=(i686 x86_64) license=('LGPL') url="http://oss.sgi.com/projects/xfs/" groups=('base') depends=(e2fsprogs) options=('!makeflags' '!libtool') source=(ftp://oss.sgi.com/projects/xfs/cmd_tars/xfsprogs-${pkgver}.tar.gz) md5sums=('ec734f935ec87ebb8be890d29380a3e6') build() { cd ${srcdir}/${pkgname}-${pkgver} export OPTIMIZER="-march=$(echo ${CARCH} -O1 | sed -e 's/_/-/g')" export DEBUG=-DNDEBUG make || return 1 make DIST_ROOT=${pkgdir} install install-dev }