1 # Contributor: TheStarLion <thestarlion@hotmail.com>
5 pkgdesc="Tools for working with OpenTTD .cat files"
7 url="http://www.openttd.org/en/download-catcodec"
10 makedepends=('subversion' 'gcc')
15 md5sums=() #generate with 'makepkg -g'
17 _svntrunk=svn://svn.openttd.org/extra/catcodec
22 if [ -d catcodec/.svn ]; then
23 (cd catcodec && svn up -r $pkgver)
25 svn co $_svntrunk --config-dir ./ -r $pkgver catcodec
28 msg "SVN checkout done or server timeout"
29 msg "Starting make..."
31 rm -rf "$srcdir/catcodec-build"
32 cp -r "$srcdir/catcodec" "$srcdir/catcodec-build"
33 cd "$srcdir/catcodec-build"
40 make DESTDIR="$pkgdir/" install