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

Update PKGBUILD

By: a guest on May 15th, 2012  |  syntax: Bash  |  size: 1.32 KB  |  views: 73  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: boenki <boenki at gmx dot de>
  2. # Contributor: Soeren Koerner <nonick at posteo dot de>
  3. # Contributor: Benedikt 'linopolus' Mueller <benemue at googlemail dot com>
  4.  
  5. pkgname=mediathek
  6. pkgver=3.0.0
  7. pkgrel=1
  8. pkgdesc="Offers access to the Mediathek of different tv stations (ARD, ZDF, Arte, etc.)"
  9. arch=(any)
  10. url="http://zdfmediathk.sourceforge.net"
  11. license=('custom')
  12. depends=('java-runtime' 'vlc')
  13. optdepends=('mplayer: record streams' 'flvstreamer: stream flash')
  14. source=(http://downloads.sourceforge.net/zdfmediathk/MediathekView_${pkgver}.zip
  15.         $pkgname
  16.         $pkgname.desktop)
  17. md5sums=('ddff07a9f98febf3567091b33954cfe0'
  18.          '3b2dd77009a7da2117f540e201ff9277'
  19.          '7d4548884f5dc517ad30fd0584ec9d46')
  20.  
  21. package() {
  22.   cd $srcdir
  23.   install -d $pkgdir/{opt/$pkgname/{lib,bin},usr/{bin,share/{{doc,licenses}/$pkgname,applications}}}
  24.   install -m755 $pkgname $pkgdir/usr/bin/
  25.   install -m644 MediathekView.jar $pkgdir/opt/$pkgname/
  26.   install -m644 -t $pkgdir/opt/$pkgname/lib lib/*
  27.   install -m644 -t $pkgdir/opt/$pkgname/bin bin/*
  28.   install -m644 $pkgname.desktop $pkgdir/usr/share/applications/
  29.   install -m644 Anleitung.pdf $pkgdir/usr/share/doc/$pkgname/
  30.   install -m644 -t $pkgdir/usr/share/licenses/$pkgname Copyright/*
  31.   rm $pkgdir/usr/share/licenses/$pkgname/flvstreamer-LICENSE.txt
  32. }