summaryrefslogtreecommitdiffstats
path: root/abs/core-testing
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing')
-rw-r--r--abs/core-testing/xfsprogs/PKGBUILD20
1 files changed, 7 insertions, 13 deletions
diff --git a/abs/core-testing/xfsprogs/PKGBUILD b/abs/core-testing/xfsprogs/PKGBUILD
index 2cb53eb..4043caf 100644
--- a/abs/core-testing/xfsprogs/PKGBUILD
+++ b/abs/core-testing/xfsprogs/PKGBUILD
@@ -1,7 +1,7 @@
-# $Id: PKGBUILD 12356 2008-09-13 21:11:54Z paul $
+# $Id: PKGBUILD 26327 2009-02-06 16:24:28Z paul $
# Maintainer: Paul Mattal <paul@archlinux.org>
pkgname=xfsprogs
-pkgver=2.10.1
+pkgver=3.0.0
pkgrel=1
pkgdesc="XFS filesystem utilities"
arch=(i686 x86_64)
@@ -10,19 +10,13 @@ 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}-1.tar.gz)
-md5sums=('8f0410aa8cfea0936969a3aab447009c')
+source=(ftp://oss.sgi.com/projects/xfs/cmd_tars/xfsprogs-${pkgver}.tar.gz)
+md5sums=('ec734f935ec87ebb8be890d29380a3e6')
build() {
- cd ${startdir}/src/${pkgname}-${pkgver}
- #sed -i '/autoconf/d' Makefile
-
- if [ "$CARCH" == "x86_64" ]; then
- export OPTIMIZER="-march=x86-64 -O1" # for x86_64
- else export OPTIMIZER="-march=${CARCH} -O1" # for i686
-fi
-
+ cd ${srcdir}/${pkgname}-${pkgver}
+ export OPTIMIZER="-march=$(echo ${CARCH} -O1 | sed -e 's/_/-/g')"
export DEBUG=-DNDEBUG
make || return 1
- make DIST_ROOT=${startdir}/pkg install install-dev
+ make DIST_ROOT=${pkgdir} install install-dev
}