blob: 772bac4c7cad12bd8344975f851c9246fb92159e (
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
39
|
# This PKGBUILD is part of the VDR4Arch project [https://github.com/vdr4arch]
# Maintainer: Christopher Reimer <mail+vdr4arch[at]c-reimer[dot]de>
pkgname=vdr-live
pkgver=3.3.5
pkgrel=1
_vdrapi=2.6.7
epoch=1
pkgdesc="Adds the possibility to control VDR and some of it's plugins by a web interface."
url="https://github.com/MarkusEh/vdr-plugin-live"
arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h')
license=('GPL2')
depends=('pcre2' 'tntnet' "vdr-api=${_vdrapi}")
optdepends=('vdr-epgsearch: Manage searchtimers'
'vdr-streamdev: Stream live TV'
'ffmpeg: Transcoding video streams')
install="$pkgname.install"
_plugname=${pkgname//vdr-/}
source=("$pkgname-$pkgver.tar.gz::https://github.com/MarkusEh/vdr-plugin-live/archive/v$pkgver.tar.gz"
"50-$_plugname.conf")
backup=("etc/vdr/conf.avail/50-$_plugname.conf")
sha256sums=('8b41fe5c885e9f2e4fab470feda89742885567885d93b6435692ce1c7c320fee'
'a14466937a4c618341ca3120bf353ca5b207dda0aca3b605532d3500415d7fea')
build() {
cd "${srcdir}/vdr-plugin-${_plugname}-$pkgver"
make
}
package() {
cd "${srcdir}/vdr-plugin-${_plugname}-$pkgver"
make DESTDIR="$pkgdir" install
# Copy resource files
mkdir -p "$pkgdir/usr/share/vdr/plugins"
cp -r live "$pkgdir/usr/share/vdr/plugins"
install -Dm644 "$srcdir/50-$_plugname.conf" "$pkgdir/etc/vdr/conf.avail/50-$_plugname.conf"
}
|