From a6fa9a8b93381f26bbf33d7d3465932264f21aa6 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Sun, 5 Jul 2020 02:48:45 +0000
Subject: xfsprogs: update to 5.6.0

---
 abs/core/xfsprogs/PKGBUILD | 25 +++++++++++--------------
 1 file changed, 11 insertions(+), 14 deletions(-)

diff --git a/abs/core/xfsprogs/PKGBUILD b/abs/core/xfsprogs/PKGBUILD
index fe9196b..ff75166 100644
--- a/abs/core/xfsprogs/PKGBUILD
+++ b/abs/core/xfsprogs/PKGBUILD
@@ -1,33 +1,30 @@
-# $Id$
-#
 pkgname=xfsprogs
-pkgver=4.8.0
-pkgrel=1
+pkgver=5.6.0
+pkgrel=2
 pkgdesc="XFS filesystem utilities"
-arch=('i686' 'x86_64')
+arch=('x86_64')
 license=('LGPL')
-url="http://oss.sgi.com/projects/xfs/"
-groups=('base')
-depends=('libutil-linux')
+url="https://xfs.org"
+depends=('sh' 'libutil-linux' 'readline' 'icu' 'device-mapper')
 makedepends=('git')
 options=('!makeflags')
-source=("git://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git#tag=v${pkgver}")
+source=("git+https://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git#tag=v${pkgver}")
 md5sums=('SKIP')
 
 build() {
-  cd "${srcdir}/${pkgname}-dev"
+  cd ${pkgname}-dev
   make configure
   export OPTIMIZER="-march=${CARCH/_/-} -O1"
   export DEBUG=-DNDEBUG
-  ./configure --prefix=/usr --sbindir=/usr/bin
+  ./configure --prefix=/usr --sbindir=/usr/bin --enable-readline
   make
 }
 
 package() {
-  cd "${srcdir}/${pkgname}-dev"
+  cd ${pkgname}-dev
   make DIST_ROOT="${pkgdir}" PKG_ROOT_SBIN_DIR="/usr/bin" install install-dev
-  chown -R root $pkgdir
-  chgrp -R root $pkgdir
+  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"
-- 
cgit v0.12

