From 0480aaf2ccf7689ebe2f04c2100507a3a539fe70 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Fri, 29 Jan 2016 19:46:36 +0000
Subject: xfsdump: update to 3.1.6

---
 abs/extra/xfsdump/PKGBUILD | 22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)
 mode change 100755 => 100644 abs/extra/xfsdump/PKGBUILD

diff --git a/abs/extra/xfsdump/PKGBUILD b/abs/extra/xfsdump/PKGBUILD
old mode 100755
new mode 100644
index 54370cf..1459142
--- a/abs/extra/xfsdump/PKGBUILD
+++ b/abs/extra/xfsdump/PKGBUILD
@@ -1,8 +1,9 @@
 # Contributor: judd <jvinet@zeroflux.org>
-# Maintainer: dkaylor <dpkaylor@gmail.com>
+# Contributor: dkaylor <dpkaylor@gmail.com>
+# Maintainer: Pablo Lezaeta <prflr88@gmail.com>
 
 pkgname=xfsdump
-pkgver=3.1.3
+pkgver=3.1.6
 pkgrel=1
 pkgdesc="Additional XFS filesystem utilities"
 arch=(i686 x86_64)
@@ -11,10 +12,13 @@ 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})
+sha256sums=('7f78c11ca527477d90e5e62b0778f3ad96f2b71c19173044e9aca9515fff42d0'
+            'SKIP')
+validpgpkeys=('9893A827C19F7D96164A38FFADE82947F475FA1D') # Dave Chinner <david@fromorbit.com>
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  ./configure --prefix=/usr
+  ./configure --prefix=/usr --sbindir=/usr/bin --bindir=/usr/bin
   make
 }
 
@@ -23,12 +27,10 @@ package() {
   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}
+  mkdir -p "$pkgdir/usr/bin"
+  mv "$pkgdir/sbin"/* "$pkgdir/usr/bin"
+  rm -rf "$pkgdir"/{sbin,usr/sbin}
 
-  chown -R root $pkgdir
-  chgrp -R root $pkgdir
+  chown -R root "$pkgdir"
+  chgrp -R root "$pkgdir"
 }
-md5sums=('aad7160b88db24c0510c001debd689be'
-         'SKIP')
-- 
cgit v0.12

