1 # Maintainer: György Balló <ballogy@freestart.hu>
5 pkgdesc="Translator script for console using the szotar.sztaki.hu database"
7 url="http://code.google.com/p/pysztaki/"
9 depends=('python-beautifulsoup')
10 makedepends=('subversion')
12 md5sums=('73c04eba22d5814ff62c1b2dc8f446c5')
14 _svntrunk=http://pysztaki.googlecode.com/svn/trunk/
20 if [ -d $_svnmod/.svn ]; then
21 (cd $_svnmod && svn up -r $pkgver)
23 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
26 msg "SVN checkout done or server timeout"
27 msg "Starting make..."
29 rm -rf "$srcdir/$_svnmod-build"
30 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
31 cd "$srcdir/$_svnmod-build"
37 python2 setup.py install --root=$pkgdir/ --optimize=1
38 install -Dm644 $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE