Created
September 18, 2013 20:05
-
-
Save anonymous/6614824 to your computer and use it in GitHub Desktop.
Mediathek 3.3.0 Archlinux AUR build script - Sep. 18. 2013
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: boenki <boenki at gmx dot de> | |
# Contributor: Soeren Koerner <nonick at posteo dot de> | |
# Contributor: Benedikt 'linopolus' Mueller <benemue at googlemail dot com> | |
pkgname=mediathek | |
pkgver=3.3.0 | |
pkgrel=1 | |
pkgdesc="Offers access to the Mediathek of different tv stations (ARD, ZDF, Arte, etc.)" | |
arch=(any) | |
url="http://zdfmediathk.sourceforge.net" | |
license=('custom') | |
depends=('java-runtime' 'vlc') | |
optdepends=('mplayer: record streams' 'flvstreamer: stream flash') | |
options=(!strip !zipman) | |
source=(http://downloads.sourceforge.net/zdfmediathk/MediathekView_${pkgver}.zip | |
$pkgname | |
$pkgname.desktop) | |
md5sums=('289ff708bd8dd649f3f0e1944fa0ef30' | |
'e52a61eabb6a5931dc2a1fe261bc7d95' | |
'bad6e1fdc948ac0e41b8535509cf944d') | |
package() { | |
install -d $pkgdir/{opt/$pkgname/{lib,bin},usr/{bin,share/{{doc,licenses}/$pkgname,applications,pixmaps}}} | |
install -m755 $pkgname $pkgdir/usr/bin/ | |
install -m644 MediathekView.jar $pkgdir/opt/$pkgname/ | |
install -m644 -t $pkgdir/opt/$pkgname/lib lib/* | |
install -m755 bin/flv.sh $pkgdir/opt/$pkgname/bin/ | |
install -m644 $pkgname.desktop $pkgdir/usr/share/applications/ | |
install -m644 info/MediathekView.png $pkgdir/usr/share/pixmaps/ | |
install -m644 Anleitung/Kurzanleitung.pdf $pkgdir/usr/share/doc/$pkgname/ | |
install -m644 -t $pkgdir/usr/share/licenses/$pkgname Copyright/{*.*,_copyright} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment