Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

tv-maxe.PKGBUILD

By: a guest on Jun 7th, 2014  |  syntax: Bash  |  size: 1.04 KB  |  views: 305  |  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. # Maintainer: Mamut Ghiunhan <venerix@blug.ro>
  2. pkgname=tv-maxe
  3. pkgver=0.10
  4. pkgrel=1
  5. pkgdesc="Free television for your Linux system"
  6. arch=('i686' 'x86_64')
  7. url="http://code.google.com/p/tv-maxe/"
  8. license=('GPL')
  9. depends=('python2' 'pygtk' 'libstdc++5' 'sopcast' 'gstreamer0.10-python' 'ffmpeg' 'python2-pillow' 'python-virtkey')
  10. replaces=('tvmaxe')
  11. conflicts=('tvmaxe')
  12. optdepends=('vlc' 'mplayer' 'lirc' 'mencoder')
  13. install=tv-maxe.install
  14. source=(https://launchpad.net/~venerix/+archive/pkg/+files/tv-maxe_$pkgver-0ubuntu1~trusty.tar.gz $pkgname.desktop $pkgname.install)
  15. md5sums=('f6d151371d8286581873b330e2581ef6'
  16.          'eeea51d372b5f64cd836fe92da9a3455'
  17.          '581dd0376025ecd8e2216db1f72126d4')
  18.  
  19. package() {
  20.         cd $srcdir/$pkgname-$pkgver/$pkgname
  21.         install -m 755 -d $pkgdir/usr/share/$pkgname
  22.         install -m 644 -D $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
  23.         install -m 755 -D $pkgname $pkgdir/usr/bin/$pkgname
  24.         cp -avx * $pkgdir/usr/share/$pkgname
  25.         sed -i "s|python|python2|g" $pkgdir/usr/bin/$pkgname
  26. }