updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / pytrailer-git / PKGBUILD
blobffc988d6b4b47a64ee4cf3d62deda521ad775195
1 # Maintainer: archtux <antonio.arias99999@gmail.com>
3 pkgname=pytrailer-git
4 pkgver=20100921
5 pkgrel=1
6 pkgdesc="Python library to simplify access to movies on apple.com/trailers"
7 url="http://code.google.com/p/pytrailer/"
8 arch=('i686' 'x86_64')
9 license=('GPL3')
10 depends=('python')
11 makedepends=('git')
13 _gitroot="http://github.com/sochotnicky/pytrailer.git"
14 _gitname="pytrailer"
16 build() {
17   cd $srcdir
18   msg "Connecting to GIT server...."
20   if [ -d $srcdir/$_gitname ] ; then
21     cd $_gitname && git pull --rebase
22   else
23     git clone $_gitroot
24   fi
26   msg "GIT checkout done or server timeout"
27   msg "Starting make..."
29   cd $srcdir/$_gitname
30   python setup.py install --root $pkgdir