1 # Contributor: Michael P <ptchinster@archlinux.us >
2 # Contributor: Fernando Henrique < arch at liquuid dot net >
3 # Contributor: Stefano Zamprogno <stefano.zamprogno@gmail.com>
8 pkgdesc="Convert a filesystem to another type of filesystem (eg. ext3 to xfs)"
9 url="http://tzukanov.narod.ru/convertfs/"
12 arch=('i686' 'x86_64')
13 source=(http://tzukanov.narod.ru/${pkgname}/${pkgname}-13jan2005.tar.gz
16 convertfs-quote-variables.patch
17 convertfs-ftwmv.patch)
18 md5sums=('71e8065e321898e259a55c8cefdfd75d'
19 '6eeb29958b68b8d722ee9865538a1bbe'
20 '4c7147a8741e966e22a277a38bfb1601'
21 'e5bafd8d23d73052749e509038abaa8a'
22 '625be967932767dddfaebe65893641f3')
27 patch -Np1 -i $srcdir/devremap.patch || return 1
28 patch -Np1 -i $srcdir/convertfs-ftwmv.patch || return 1
32 patch -Np0 -i $srcdir/convertfs_dumb.patch || return 1
33 patch -Np0 -i $srcdir/convertfs-quote-variables.patch || return 1
35 install -D -m 755 contrib/convertfs $pkgdir/sbin/convertfs || return 1
36 install -D -m 755 convertfs_dumb $pkgdir/sbin/convertfs_dumb || return 1
37 install -D -m 755 devclone $pkgdir/sbin/devclone || return 1
38 install -D -m 755 devremap $pkgdir/sbin/devremap || return 1
39 install -D -m 755 prepindex $pkgdir/sbin/prepindex || return 1
40 install -D -m 755 ftwmv $pkgdir/sbin/ftwmv || return 1