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>
8 pkgdesc="Offers access to the Mediathek of different tv stations (ARD, ZDF, Arte, etc.)"
10 url="http://zdfmediathk.sourceforge.net"
12 depends=('java-runtime' 'vlc')
13 optdepends=('mplayer: record streams' 'flvstreamer: stream flash')
14 source=(http://downloads.sourceforge.net/zdfmediathk/Mediathek_${pkgver}.zip
17 md5sums=('718f082504ee1a7b4d9284bf328195a5'
18 '3b2dd77009a7da2117f540e201ff9277'
19 '7d4548884f5dc517ad30fd0584ec9d46')
23 install -d $pkgdir/{opt/$pkgname/lib,usr/{bin,share/{{doc,licenses}/$pkgname,applications}}}
24 install -m755 $pkgname $pkgdir/usr/bin/
25 install -m644 Mediathek.jar $pkgdir/opt/$pkgname/
26 install -m644 -t $pkgdir/opt/$pkgname/lib lib/*
27 install -m644 $pkgname.desktop $pkgdir/usr/share/applications/
28 install -m644 Anleitung/Kurzanleitung.pdf $pkgdir/usr/share/doc/$pkgname/
29 install -m644 -t $pkgdir/usr/share/licenses/$pkgname Copyright/*
30 rm $pkgdir/usr/share/licenses/$pkgname/flvstreamer-LICENSE.txt