blob: a6420be295766e286521bc91ecf595b481c37986 (
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
|
# This PKGBUILD is part of the VDR4Arch project [https://github.com/vdr4arch]
# Maintainer: Christopher Reimer <mail+vdr4arch[at]c-reimer[dot]de>
pkgname=vdr-radio
pkgver=1.1.0
_vdrapi=2.6.7
pkgrel=11
pkgdesc="Display an background image while the vdr is switched to radio channels"
url='https://github.com/vdr-projects/vdr-plugin-radio'
arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h')
license=('GPL2')
depends=('gcc-libs' "vdr-api=${_vdrapi}")
_plugname=${pkgname//vdr-/}
source=("vdr-plugin-${_plugname}-${pkgver}.tar.gz::https://github.com/vdr-projects/vdr-plugin-${_plugname}/archive/refs/tags/${pkgver}.tar.gz"
"50-$_plugname.conf")
backup=("etc/vdr/conf.avail/50-$_plugname.conf")
md5sums=('28fdaab4ed239d298687e728f94aa302'
'bbb81b2f18c2ee2d54b501e778c00b01')
build() {
cd "${srcdir}/vdr-plugin-${_plugname}-${pkgver}"
make
}
package() {
cd "${srcdir}/vdr-plugin-${_plugname}-${pkgver}"
make DESTDIR="${pkgdir}" install
#Install all stillpictures
mkdir -p "$pkgdir/usr/share/vdr/plugins/$_plugname"
install -Dm644 config/mpegstill/* "$pkgdir/usr/share/vdr/plugins/$_plugname"
install -Dm644 "$srcdir/50-$_plugname.conf" "$pkgdir/etc/vdr/conf.avail/50-$_plugname.conf"
}
|