blob: 54370cf19fa66a945331261e2ff29532662373a2 (
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
26
27
28
29
30
31
32
33
34
|
# Contributor: judd <jvinet@zeroflux.org>
# Maintainer: dkaylor <dpkaylor@gmail.com>
pkgname=xfsdump
pkgver=3.1.3
pkgrel=1
pkgdesc="Additional XFS filesystem utilities"
arch=(i686 x86_64)
url="http://oss.sgi.com/projects/xfs/"
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 "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr
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=('aad7160b88db24c0510c001debd689be'
'SKIP')
|