1 # Contributor: realitygaps <realitygaps AT yahoo DOT com>
6 pkgdesc="Gereqi media player"
8 url=("http://code.google.com/p/gereqi/")
10 depends=('python' 'mutagen' 'python-lxml' 'cddb-py' 'pyinotify')
18 _gitroot="git://github.com/regomodo/Gereqi.git"
23 msg "Connecting to GIT server...."
25 if [ -d $_gitname ] ; then
26 cd $_gitname && git pull origin
27 msg "The local files are updated."
29 git clone $_gitroot $_gitname
32 msg "GIT checkout done or server timeout"
33 msg "Starting make..."
35 rm -rf "$srcdir/$_gitname-build"
36 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
37 cd "$srcdir/$_gitname-build"
40 python setup.py install --root=$pkgdir/ --optimize=1 || return 1
42 # Remember to install licenses if the license is not a common license!
43 # install -D -m644 $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE