4 pkgdesc="DNS Rebinding Tool"
6 url="http://code.google.com/p/rebind/"
8 depends=('sqlite3' 'readline')
9 makedepends=('subversion')
13 _svntrunk=http://rebind.googlecode.com/svn/trunk/
19 svn co ${_svntrunk} ${_svnmod} -r ${pkgver} || return 1
20 msg "SVN checkout done or server timeout"
21 msg "Starting make..."
27 mv htmltoc.py htmltoc.py.tmp
28 mv pngtoc.py pngtoc.py.tmp
30 touch htmltoc.py pngtoc.py
32 echo "#!/usr/bin/env python2" > htmltoc.py > pngtoc.py
34 cat htmltoc.py.tmp >> htmltoc.py
35 cat pngtoc.py.tmp >> pngtoc.py
37 chmod 777 htmltoc.py pngtoc.py
42 make install || return 1
44 mkdir ${pkgdir}/usr/ || return 1
45 mkdir ${pkgdir}/usr/bin || return 1
46 cp rebind ${pkgdir}/usr/bin