blob: 7863fc4d5bfe588b15e9e4411121503879c7ad9d (
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
37
38
|
# Maintainer: Jose Riha <jose1711 gmail com>
# Contributor: Nicky726 <Nicky726 [at] gmail [dot] com>
# Contributor: alium
pkgname=televize
pkgver=33
pkgrel=1
pkgdesc="CLI aplication to watch mainly Czech television streams"
arch=('any')
url="http://xpisar.wz.cz"
license=('GPL')
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')
install=${pkgname}.install
source=(http://xpisar.wz.cz/${pkgname}/${pkgname}-${pkgver}
televize-menu)
sha256sums=('f46a9ac374e2a2a2f496160540f6977e9e34a8df1aaa007ca53ae3bbff1ea1b3'
'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"
}
|