1 # Maintainer: wido <widomaker2k7@gmail.com>
3 pkgname=tvdownloader-hg
6 pkgdesc="Software to retreive podcasts and videos from French websites.(Mercurial version)"
7 url="http://code.google.com/p/tvdownloader/"
8 provides=('tvdownloader')
9 conflicts=('tvdownloader' 'tvdownloader-svn')
10 depends=('msdl' 'python2' 'python2-qt' 'rtmpdump' 'pycrypto' 'python-mechanize')
11 makedepends=('mercurial')
17 _hgroot="https://tvdownloader.googlecode.com/hg/"
21 msg "Connecting to tvdownloader.googlecode.com server...."
23 if [ -d "$_hgrepo" ] ; then
25 hg pull -u || return 1
26 msg "The local files are updated."
28 hg clone "$_hgroot" "$_hgrepo"
31 msg "tvdownloader.googlecode.com checkout done or server timeout"
32 msg "Starting make..."
36 rm -rf "$_hgrepo-build"
37 hg clone "$_hgrepo" "$_hgrepo-build"
39 cd ${srcdir}/${_hgrepo}/dev/Stable/
41 make PYTHON_VERSION=python2.7
45 cd ${srcdir}/${_hgrepo}/dev/Stable
46 make PYTHON_VERSION=python2.7 PREFIX=$pkgdir/usr install