summaryrefslogtreecommitdiff
path: root/core/xfsprogs/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/xfsprogs/PKGBUILD')
-rw-r--r--core/xfsprogs/PKGBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/core/xfsprogs/PKGBUILD b/core/xfsprogs/PKGBUILD
index a535f8797..0f28ad90d 100644
--- a/core/xfsprogs/PKGBUILD
+++ b/core/xfsprogs/PKGBUILD
@@ -1,14 +1,14 @@
-# $Id: PKGBUILD 156218 2012-04-16 08:21:43Z tpowa $
-# Maintainer: Paul Mattal <paul@archlinux.org>
+# $Id: PKGBUILD 158617 2012-05-05 03:17:20Z dreisner $
+#
pkgname=xfsprogs
pkgver=3.1.8
-pkgrel=1
+pkgrel=2
pkgdesc="XFS filesystem utilities"
arch=('i686' 'x86_64')
license=('LGPL')
url="http://oss.sgi.com/projects/xfs/"
groups=('base')
-depends=('util-linux-ng>=2.16')
+depends=('util-linux')
options=('!makeflags' '!libtool')
# 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")
@@ -18,6 +18,7 @@ build() {
cd "${srcdir}/${pkgname}-${pkgver}"
export OPTIMIZER="-march=${CARCH/_/-} -O1"
export DEBUG=-DNDEBUG
+ ./configure --prefix=/usr
make
}
@@ -26,4 +27,7 @@ package() {
make DIST_ROOT="${pkgdir}" install install-dev
chown -R root $pkgdir
chgrp -R root $pkgdir
+ # add hack as we cannot set rootlibdir
+ mv "${pkgdir}"/lib/libhandle.so* "${pkgdir}/usr/lib/"
+ rm -rf "${pkgdir}/lib"
}