summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
Diffstat (limited to 'abs')
-rw-r--r--abs/core/xfsprogs/PKGBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/abs/core/xfsprogs/PKGBUILD b/abs/core/xfsprogs/PKGBUILD
index 7d8cea6..09f2700 100644
--- a/abs/core/xfsprogs/PKGBUILD
+++ b/abs/core/xfsprogs/PKGBUILD
@@ -1,7 +1,7 @@
# $Id$
#
pkgname=xfsprogs
-pkgver=3.2.1
+pkgver=4.3.0
pkgrel=1
pkgdesc="XFS filesystem utilities"
arch=('i686' 'x86_64')
@@ -9,13 +9,14 @@ license=('LGPL')
url="http://oss.sgi.com/projects/xfs/"
groups=('base')
depends=('libutil-linux')
+makedepends=('git')
options=('!makeflags')
-# We mirror the sources as upstream tends to move them once a new release is out
-source=("ftp://ftp.archlinux.org/other/xfsprogs/${pkgname}-${pkgver}.tar.gz")
-md5sums=('5c6905932029c8f9207fe5a0a8aac24b')
+source=("git://oss.sgi.com/xfs/cmds/xfsprogs#tag=v${pkgver}")
+md5sums=('SKIP')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}"
+ make configure
export OPTIMIZER="-march=${CARCH/_/-} -O1"
export DEBUG=-DNDEBUG
./configure --prefix=/usr --sbindir=/usr/bin
@@ -23,7 +24,7 @@ build() {
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}"
make DIST_ROOT="${pkgdir}" PKG_ROOT_SBIN_DIR="/usr/bin" install install-dev
chown -R root $pkgdir
chgrp -R root $pkgdir