public
anonymous / PKGBUILD
Created

PKGBUILD for periscope-svn

  • Download Gist
PKGBUILD
Shell
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
# Maintainer (after 20/03/2010): Juan Diego Tascon
# Contributor: Denis Zawada <deno@rootnode.net>
# Contributor: Jordy van Wolferen <jordz@archlinux.us>
 
pkgname=periscope-svn
pkgver=149
pkgrel=1
pkgdesc="Subtitles searching module written in python."
url="http://code.google.com/p/periscope/"
arch=('any')
license=('GPL3')
depends=('python-beautifulsoup' 'python-notify')
makedepends=('subversion' 'python2-distribute')
provides=('periscope')
 
_svntrunk=http://periscope.googlecode.com/svn/trunk/
_svnmod=periscope-read-only
 
build() {
cd "$srcdir"
if [ -d $_svnmod/.svn ]; then
(cd $_svnmod && svn up -r $pkgver)
else
svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
fi
 
msg "SVN checkout done or server timeout"
msg "Starting make..."
 
cp -r $_svnmod $_svnmod-build
cd $_svnmod-build/
 
python2 ./setup.py build
python2 ./setup.py install --root="$pkgdir"
 
rm -rf "$srcdir/$_svnmod-build"
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.