1 #Mainteiner dieghen89 <dieghen89@gmail.com>
6 pkgdesc="An utility to see a lot of TV and radio channels in streaming, written in python"
8 url="http://ubuntuwin.altervista.org"
9 depends=('python2' 'vlc' 'zenity' 'gtk2' 'python-wnck' 'python-xlib')
10 #depends=('python' 'vlc' 'zenity' 'gtk2' 'gnome-python-desktop' 'python-xlib')
12 source=(${pkgname}_all-${pkgver}-0ubuntu1.tar.gz
13 #http://ubuntuwin.altervista.org/fileadmin/user_upload/${pkgname}/all/${pkgname}_all-${pkgver}-0ubuntu1.tar.gz
15 md5sums=('6ca07e81bf5bed94fde89ff81a2e41ce'
16 'd2c1c4f2222d37f3c9cffa6a2def7a1b')
17 install=ubuntuwintv.install
22 sed -i -e "s:/usr/share/common-licenses/GPL-3:/usr/share/licenses/common/GPL3/license.txt:g" ubuntuwintv.py
23 sed -i -e "s|#!/usr/bin/python|#!/usr/bin/python2|g" ubuntuwintv.py
24 #sed -i -e "s:Categories=Utility;:Categories=GTK;AudioVideo;Video:g" ubuntuwintv.desktop
25 install -D -m755 ubuntuwintv.py "${pkgdir}/usr/bin/ubuntuwintv.py" || return 1
26 install -D -m644 ubuntuwintv.png "${pkgdir}/usr/share/icons/ubuntuwintv.png" || return 1
27 install -D -m644 ubuntuwintvlingua_it.txt "${pkgdir}/usr/share/ubuntuwintvlingua_it.txt" || return 1
28 install -D -m644 ../ubuntuwintv.desktop "${pkgdir}/usr/share/applications/ubuntuwintv.desktop" || return
29 install -D -m644 ubuntuwintvlingua_en.txt "${pkgdir}/usr/share/ubuntuwintvlingua_en.txt" || return 1
30 #echo "Icon=/usr/share/icons/ubuntuwintv.png" >> ${pkgdir}/usr/share/applications/ubuntuwintv.desktop
34 install -D -m644 $i "${pkgdir}/usr/share/ubuntuwintv/$i" || return 1