summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
Diffstat (limited to 'abs')
-rwxr-xr-x[-rw-r--r--]abs/extra/xfsdump/PKGBUILD41
1 files changed, 25 insertions, 16 deletions
diff --git a/abs/extra/xfsdump/PKGBUILD b/abs/extra/xfsdump/PKGBUILD
index 33e7415..54370cf 100644..100755
--- a/abs/extra/xfsdump/PKGBUILD
+++ b/abs/extra/xfsdump/PKGBUILD
@@ -1,25 +1,34 @@
-# $Id: PKGBUILD 26569 2009-02-09 18:40:22Z paul $
-# Maintainer: judd <jvinet@zeroflux.org>
+# Contributor: judd <jvinet@zeroflux.org>
+# Maintainer: dkaylor <dpkaylor@gmail.com>
+
pkgname=xfsdump
-pkgver=3.1.0
+pkgver=3.1.3
pkgrel=1
pkgdesc="Additional XFS filesystem utilities"
arch=(i686 x86_64)
-license=('LGPL')
url="http://oss.sgi.com/projects/xfs/"
-depends=('xfsprogs>=3.1.8' 'attr>=2.4.39' 'acl>=2.2.45' 'dmapi')
-options=('!makeflags')
-source=(ftp://oss.sgi.com/projects/xfs/cmd_tars/xfsdump-${pkgver}.tar.gz)
-options=(!emptydirs)
+license=('LGPL')
+depends=('xfsprogs>=3.1.0' 'attr>=2.4.43' 'acl>=2.2.47' 'dmapi>=2.2.10')
+options=('!makeflags' '!emptydirs' '!libtool')
+source=(ftp://oss.sgi.com/projects/xfs/cmd_tars/$pkgname-$pkgver.tar.gz{,.sig})
build() {
- cd $startdir/src/xfsdump-$pkgver
- autoconf
+ cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr
- make || return 1
- make prefix=$startdir/pkg/usr install
- # fixes
- rm -f $startdir/pkg/usr/lib/*.la
- rm -f $startdir/pkg/usr/bin/{xfsdump,xfsrestore}
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DIST_ROOT="${pkgdir}" install
+
+ # hack to merge binaries from /sbin and /usr/sbin into /usr/bin #
+ mkdir -p $pkgdir/usr/bin
+ mv $pkgdir/{sbin/*,usr/sbin/xfsinvutil} $pkgdir/usr/bin
+ rm -rf $pkgdir/{sbin,usr/sbin}
+
+ chown -R root $pkgdir
+ chgrp -R root $pkgdir
}
-md5sums=('abe035537d0f325c4f2dbacc0d2b6fd6')
+md5sums=('aad7160b88db24c0510c001debd689be'
+ 'SKIP')