blob: dc57765cccd973b3cb88ace2afd992a69a061a46 (
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
35
36
|
# Maintainer: Jose Riha <jose1711 gmail com>
# Contributor: Nicky726 <Nicky726 [at] gmail [dot] com>
# Contributor: alium
pkgname=televize
pkgver=41
pkgrel=1
pkgdesc="CLI aplication to watch mainly Czech television streams"
arch=('any')
url="http://xpisar.wz.cz"
license=('GPL-1.0-only')
depends=('bash' 'wget' 'grep' 'sed' 'ctstream')
makedepends=('gendesk')
optdepends=('mplayer: for MPlayer backend' 'mpv: for MPV backend'
'rofi: for channel selection using rofi'
'fzf: for channel selection in console using fzf')
source=(http://xpisar.wz.cz/${pkgname}/${pkgname}-${pkgver}
televize-menu)
sha256sums=('5b25b573901d1cf485aa050a9aa998a18e26c28ce1e1bf900cdb67794dc03428'
'f5366f74ee174cf6fd049ab5e43c70f14d93cad41ef66847059105c568973003')
prepare() {
cd "${srcdir}"
gendesk -f --icon video-television \
--pkgname "${pkgname}" \
--exec "televize-menu" \
--pkgdesc "$pkgdesc" \
--categories 'AudioVideo;TV'
}
package() {
cd "${srcdir}"
install -Dm755 "${pkgname}-${pkgver}" "${pkgdir}/usr/bin/${pkgname}"
install -Dm755 "televize-menu" "${pkgdir}/usr/bin/televize-menu"
install -Dm644 ${pkgname}.desktop "${pkgdir}/usr/share/applications/${pkgname}.desktop"
}
|