blob: 43b6eebcc7b186154b54b52c4106bf177b311715 (
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
|
# This PKGBUILD is part of the VDR4Arch project [https://github.com/vdr4arch]
# Maintainer: Christopher Reimer <mail+vdr4arch[at]c-reimer[dot]de>
pkgname=vdr-svdrpservice
pkgver=1.0.0
_vdrapi=2.6.7
pkgrel=25
pkgdesc="Offers SVDRP connections as a service to other plugins"
url="https://github.com/vdr-projects/vdr-plugin-svdrpservice"
arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h')
license=('GPL2')
depends=('gcc-libs' "vdr-api=${_vdrapi}")
_plugname=${pkgname//vdr-/}
source=("$pkgname-$pkgver.tar.gz::https://github.com/vdr-projects/vdr-plugin-svdrpservice/archive/refs/tags/$pkgver.tar.gz"
"50-$_plugname.conf")
backup=("etc/vdr/conf.avail/50-$_plugname.conf")
sha256sums=('8170cbe8638ff41abe3d06d9bba7d15e5a06197999332e06a2672103fbb5135e'
'18c7c20d391abfa5e7981fb7f3d2f5dd6953199b2230c6dbffead48cf1450c12')
build() {
cd "${srcdir}/vdr-plugin-${_plugname}-${pkgver}"
make
}
package() {
cd "${srcdir}/vdr-plugin-${_plugname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -Dm644 "$srcdir/50-$_plugname.conf" "$pkgdir/etc/vdr/conf.avail/50-$_plugname.conf"
}
|