1 # Contributor: Cilyan Olowen <gaknar@gmail.com>
2 # Contributor: Greg von Nessi <greg.vonnessi@gmail.com>
7 pkgdesc="A JFS recovery tool that can extract files and directories \
8 from a damaged JFS volume."
10 url="http://jfsrec.sourceforge.net/"
14 makedepends=('subversion')
18 source=('jfsrec-gcc-4.3.patch')
19 md5sums=('c974c1d82987bf546561a6c50887e143')
21 _svntrunk=https://jfsrec.svn.sourceforge.net/svnroot/jfsrec
27 if [ -d $_svnmod/.svn ]; then
28 (cd $_svnmod && svn up -r $pkgver)
30 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
33 msg "SVN checkout done or server timeout"
35 msg "Creating build directory..."
36 if [ -d "${srcdir}/$_svnmod-build" ]; then rm -rf "${srcdir}/$_svnmod-build"; fi
37 cp -r $_svnmod $_svnmod-build
40 msg "Applying patches..."
41 patch -p1 -i ${srcdir}/jfsrec-gcc-4.3.patch
43 msg "Starting make..."
47 # make only makes a single file, jfsrec, which we install in the same place as
50 mkdir -p ${pkgdir}/sbin
51 install -m755 ${srcdir}/$_svnmod-build/src/jfsrec \