From 7db67d17bc76eb6f9d2aedf686a71a0a2193c9a8 Mon Sep 17 00:00:00 2001 From: James Meyer Date: Sat, 16 Aug 2014 12:55:13 -0500 Subject: xfsdump: 3.1.3 refs #961 --- abs/extra/xfsdump/PKGBUILD | 41 +++++++++++++++++++++++++---------------- 1 file changed, 25 insertions(+), 16 deletions(-) mode change 100644 => 100755 abs/extra/xfsdump/PKGBUILD diff --git a/abs/extra/xfsdump/PKGBUILD b/abs/extra/xfsdump/PKGBUILD old mode 100644 new mode 100755 index 33e7415..54370cf --- 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 +# Contributor: judd +# Maintainer: dkaylor + 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') -- cgit v0.12