summaryrefslogtreecommitdiffstats
path: root/abs/extra/xfsdump/PKGBUILD
blob: 1d40228edecbf401abafba304a2b489b6ad45a1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $Id: PKGBUILD 26569 2009-02-09 18:40:22Z paul $
# Maintainer: judd <jvinet@zeroflux.org>
pkgname=xfsdump
pkgver=3.0.0
pkgrel=1
pkgdesc="Additional XFS filesystem utilities"
arch=(i686 x86_64)
license=('LGPL')
url="http://oss.sgi.com/projects/xfs/"
depends=('xfsprogs>=3.0.0' 'attr>=2.4.39' 'acl>=2.2.45' 'dmapi')
options=('!makeflags')
source=(ftp://oss.sgi.com/projects/xfs/cmd_tars/xfsdump-${pkgver}.tar.gz)
md5sums=('')
options=(!emptydirs)

build() {
  cd $startdir/src/xfsdump-$pkgver
  autoconf
  ./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}
}