1 # Maintainer: archtux <antonio.arias99999 at gmail.com>
3 pkgname=gmediafinder-git
6 pkgdesc="Application to stream or download videos and music from various YouTube-like sites without having flash installed."
8 url="http://gnomefiles.org/content/show.php/Gmediafinder?content=138588"
10 depends=('gnome-icon-theme' 'gstreamer0.10-ffmpeg' 'gstreamer0.10-python' 'libvisual-plugins' 'pygtk' 'python-beautifulsoup>3.2'
11 'python-configobj' 'python-distutils-extra' 'python-gdata' 'python-html5lib' 'python-mechanize' 'python-virtkey' 'python-xlib')
12 makedepends=('git' 'python2-distribute')
13 install='gmediafinder.install'
15 _gitroot=https://github.com/smolleyes/gmediafinder.git
22 msg "Connecting to GIT server...."
24 if [ -d $srcdir/$_gitname ] ; then
25 cd $_gitname && git pull --rebase
30 msg "GIT checkout done or server timeout"
31 msg "Starting installation..."
36 sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' setup.py
38 sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' gmediafinder.py
42 python2 setup.py install --root=$pkgdir --optimize=1