Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

tv-player

By: a guest on Oct 19th, 2010  |  syntax: Bash  |  size: 1.10 KB  |  hits: 123  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. pkgname=tv-player-gtk
  2. pkgver=1.0.5
  3. pkgrel=2
  4. pkgdesc="Tv-Player is an application written with the GTK graphic libraries that permit you to watch live TV and listen to live radio"
  5. arch=('any')
  6. url="http://tvplayersite.altervista.org"
  7. license=('GPL')
  8. depends=('pygtk' 'python-gdata' 'flvstreamer' 'libmms' 'gstreamer0.10-python' 'gstreamer0.10-base' 'gstreamer0.10-good' 'gstreamer0.10-bad' 'gstreamer0.10-ugly' 'gstreamer0.10-ffmpeg' 'gstreamer0.10-bad-plugins')
  9. source=('http://launchpad.net/tv-player/stable/1.0.5/+download/tv-player-gtk_1.0.5.tar.gz' 'tvplayer.desktop')
  10.  
  11. md5sums=('159c32ac7279dbd38cbdddd8786f82a1'
  12.          '2fc59233b564cd58728edb36a34013a2')
  13.  
  14. build() {
  15.   cd $srcdir/tvplayer-1.0.5
  16.   sed -i -e '3cenv python2 -O main-gtk.py' tv-player
  17.   mkdir -p $pkgdir/usr/share/tvplayer
  18.   mkdir -p $pkgdir/usr/share/applications
  19.   mkdir -p $pkgdir/usr/bin
  20.   cp -r * $pkgdir/usr/share/tvplayer
  21.   install -Dm644 $srcdir/tvplayer.desktop $pkgdir/usr/share/applications/
  22.   install -Dm755 tv-player $pkgdir/usr/bin
  23.   install -Dm655 pixmaps/tv-player.png $pkgdir/usr/share/tvplayer/pixmaps/tv-player.png
  24. }