diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-09-26 01:57:08 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-09-26 01:57:08 (GMT) |
commit | 7b29169fff9e7c624890c5edffe85def8a293136 (patch) | |
tree | 47753889faa3a2063b66d1c7e7681e703eb1b39a /abs/core/xfsprogs/PKGBUILD | |
parent | c491dea779dac29afff3578bf8245943817c2339 (diff) | |
download | linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.zip linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.gz linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.bz2 |
LinHES 6.01.00
Diffstat (limited to 'abs/core/xfsprogs/PKGBUILD')
-rw-r--r-- | abs/core/xfsprogs/PKGBUILD | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/abs/core/xfsprogs/PKGBUILD b/abs/core/xfsprogs/PKGBUILD index 9750021..4043caf 100644 --- a/abs/core/xfsprogs/PKGBUILD +++ b/abs/core/xfsprogs/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 3596 2008-06-25 23:37:31Z paul $ +# $Id: PKGBUILD 26327 2009-02-06 16:24:28Z paul $ # Maintainer: Paul Mattal <paul@archlinux.org> pkgname=xfsprogs -pkgver=2.9.8 -pkgrel=10 +pkgver=3.0.0 +pkgrel=1 pkgdesc="XFS filesystem utilities" arch=(i686 x86_64) license=('LGPL') @@ -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=('f32ab3282c3e02ce25128f7a6c2d5157') +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 } |