blob: 1b81db9963dd38214dbf3cdf541cf8a23fd0f885 (
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
40
|
# This PKGBUILD is part of the VDR4Arch project [https://github.com/vdr4arch]
# Maintainer: Christopher Reimer <mail+vdr4arch[at]c-reimer[dot]de>
pkgname=vdr-skinflatplus
pkgver=1.0.3
pkgrel=1
_vdrapi=2.6.7
pkgdesc="Simple and slim skin for VDR"
url="https://github.com/MegaV0lt/vdr-plugin-skinflatplus"
arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h')
license=('GPL-2.0-or-later')
depends=('fontconfig' 'graphicsmagick' "vdr-api=${_vdrapi}")
_plugname=${pkgname//vdr-/}
source=("$pkgname-$pkgver.tar.gz::https://github.com/MegaV0lt/vdr-plugin-skinflatplus/archive/refs/tags/$pkgver.tar.gz"
"50-$_plugname.conf")
backup=('etc/epgd/eventsview-flatplus.sql'
"etc/vdr/conf.avail/50-$_plugname.conf"
'var/lib/vdr/plugins/skinflatplus/configs/'{MV_default,default,fnu_default})
sha256sums=('301244d9335b305baf84d1652cc3e013edc437075aec865337af16844e995984'
'6f6f9699cbc73d73d34c4e17183d3f03b1553a2b8caa62ee881354f2ac12bd8d')
build() {
cd "$srcdir/vdr-plugin-$_plugname-$pkgver"
make IMAGELIB=graphicsmagick
}
package() {
cd "$srcdir/vdr-plugin-$_plugname-$pkgver"
make DESTDIR="$pkgdir" install
install -Dm644 contrib/eventsview-flatplus.sql "$pkgdir/etc/epgd/eventsview-flatplus.sql"
install -Dm644 "$srcdir/50-$_plugname.conf" "$pkgdir/etc/vdr/conf.avail/50-$_plugname.conf"
rm "$pkgdir/var/lib/vdr/plugins/skinflatplus/configs/skin flat"
chown -R 666:666 "$pkgdir/var/lib/vdr"
# HACK
rm "$pkgdir/usr/share/vdr/plugins/skinflatplus/icons/default/EPGInfo/Genre/Martial Sports.png"
}
|