Created
July 6, 2011 10:55
-
-
Save anonymous/1067002 to your computer and use it in GitHub Desktop.
PKGBUILD for periscope-svn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment