summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cb2e954e3a694fe61c0c46c3e4431ba1e02db5b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Maintainer: Steffen Weber <-boenki-gmx-de->
# Maintainer: Stephan Springer <buzo+arch@Lini.de>
# Contributor: Soeren Koerner <nonick at posteo dot de>
# Contributor: Benedikt 'linopolus' Mueller <benemue at googlemail dot com>

pkgname=mediathek
_realname=MediathekView
pkgver=13.3.0
pkgrel=1
pkgdesc="Access the Mediathek of many German TV stations"
arch=('any')
url="https://mediathekview.de"
license=('GPL3')
depends=('java-runtime')
optdepends=('mplayer: record streams'
            'flvstreamer: stream flash'
            'vlc: play files directly from mediathek')
source=(https://download.mediathekview.de/stabil/$_realname-$pkgver-linux.tar.gz
        $pkgname
        $pkgname.desktop)

# curl https://download.mediathekview.de/stabil/MediathekView-latest.tar.gz.SHA-512
sha512sums=('76455f4217c9a285455d86d79cc03afb11951060f9dbb1d1e3a29cce415de09e96963f1a637b26b157474b968741a68f5cb95f542916c791af64871d4ad6b62d'
            '184ee2cd71a85d283b3f3866e652afdef9f6155ddba11e2a7de0dc7fda95f9bc3846dc7adfce6b3680da3daf75be475d746b828753ca8590e49b699006def0ee'
            '1a5728920704d98d7ae08d25c06c45b3dbac46ece2dc660e3a2b5806cff29263e9734cd7993d02c4c1f7710d37395da29abc094e3d786a0eaf6d130b02fcad48')

package() {
    install -d "$pkgdir"/{opt/$pkgname/bin,usr/{bin,share/{applications,pixmaps}}}
    install -m755 $pkgname "$pkgdir"/usr/bin/
    install -m644 $_realname.jar "$pkgdir"/opt/$pkgname/
    install -m755 bin/flv.sh "$pkgdir"/opt/$pkgname/bin/
    install -m644 $pkgname.desktop "$pkgdir"/usr/share/applications/
    install -m644 $_realname.svg "$pkgdir"/usr/share/pixmaps/
}