blob: a312664b1c13ae4bba9f35e889e5adf3b8c046b7 (
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
|
# This PKGBUILD is part of the VDR4Arch project [https://github.com/vdr4arch]
# Maintainer: Christopher Reimer <mail+vdr4arch[at]c-reimer[dot]de>
pkgname=vdr-vnsiserver
pkgver=1.8.3
_vdrapi=2.6.7
epoch=2
pkgrel=4
url="https://github.com/vdr-projects/vdr-plugin-vnsiserver"
arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h')
license=('GPL2')
pkgdesc="VDR plugin to handle Kodi clients"
depends=('gcc-libs' "vdr-api=${_vdrapi}")
_plugname=${pkgname//vdr-/}
source=("$pkgname-$pkgver.tar.gz::https://github.com/vdr-projects/vdr-plugin-vnsiserver/archive/refs/tags/$pkgver.tar.gz"
"50-$_plugname.conf")
backup=("etc/vdr/conf.avail/50-$_plugname.conf"
'var/lib/vdr/plugins/vnsiserver/allowed_hosts.conf')
sha256sums=('74b4339f7c7edfc5a218722503afea79259d11dd4b910d7acb43cbe173863d62'
'0e03e0df28b8210e3813536c7945b94e4c13ac775eb2c8d25403f90aa8f3c74c')
build() {
cd "${srcdir}/vdr-plugin-$_plugname-$pkgver"
make
}
package() {
cd "${srcdir}/vdr-plugin-$_plugname-$pkgver"
make DESTDIR="${pkgdir}" install
mkdir -p "$pkgdir/var/lib/vdr/plugins"
cp -r vnsiserver "$pkgdir/var/lib/vdr/plugins"
mkdir -p "$pkgdir/etc/vdr/conf.avail"
install -Dm644 "$srcdir/50-$_plugname.conf" "$pkgdir/etc/vdr/conf.avail/50-$_plugname.conf"
chown -R 666:666 "$pkgdir/var/lib/vdr"
}
|