diff options
author | James Meyer <james.meyer@operamail.com> | 2014-08-16 17:55:13 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2014-08-16 17:59:30 (GMT) |
commit | 7db67d17bc76eb6f9d2aedf686a71a0a2193c9a8 (patch) | |
tree | 15406ddf0a4fdc7853020696eb6a8571b3ac5b85 /abs/extra/xfsdump | |
parent | 786eef48b2fb22dff520b45560b124225a1155dc (diff) | |
download | linhes_pkgbuild-7db67d17bc76eb6f9d2aedf686a71a0a2193c9a8.zip linhes_pkgbuild-7db67d17bc76eb6f9d2aedf686a71a0a2193c9a8.tar.gz linhes_pkgbuild-7db67d17bc76eb6f9d2aedf686a71a0a2193c9a8.tar.bz2 |
xfsdump: 3.1.3
refs #961
Diffstat (limited to 'abs/extra/xfsdump')
-rwxr-xr-x[-rw-r--r--] | abs/extra/xfsdump/PKGBUILD | 41 |
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') |