1 # Maintainer: Army <uli dot armbruster at google's mail service>
6 pkgdesc="a command line tool to keep track of tv shows episodes"
8 url="https://sourceforge.net/projects/tvcmd/"
10 depends=('python' 'python-httplib2')
15 _gitroot="git://git.code.sf.net/p/tvcmd/code"
20 msg "Connecting to GIT server...."
21 if [ -d ${_gitname} ] ; then
22 cd ${_gitname} && git pull origin
23 msg "The local files are updated."
25 git clone ${_gitroot} ${_gitname}
28 msg "GIT checkout done or server timeout"
29 rm -rf "${srcdir}/${_gitname}-build"
30 git clone "${srcdir}/${_gitname}" "${srcdir}/${_gitname}-build"
34 cd "${srcdir}/${_gitname}-build"
35 python setup.py install --root "${pkgdir}"