1 # Maintainer: Juan Diego Tascon
2 # Contributor: Denis Zawada <deno@rootnode.net>
3 # Contributor: Jordy van Wolferen <jordz@archlinux.us>
8 pkgdesc="Subtitles searching module written in python."
9 url="http://code.google.com/p/periscope/"
12 depends=('python-beautifulsoup' 'python-notify')
13 makedepends=('subversion' 'python2-distribute')
14 provides=('periscope')
16 _svntrunk=http://periscope.googlecode.com/svn/trunk/
17 _svnmod=periscope-read-only
21 if [ -d $_svnmod/.svn ]; then
22 (cd $_svnmod && svn up -r $pkgver)
24 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
27 msg "SVN checkout done or server timeout"
28 msg "Starting make..."
30 cp -r $_svnmod $_svnmod-build
33 python2 ./setup.py build
34 python2 ./setup.py install --root="$pkgdir"
36 rm -rf "$srcdir/$_svnmod-build"