blob: 0be3e2b7da42af888a085e84b291f83d20e889f9 (
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-epgfixer
pkgver=0.3.1_21_g354f28b
_gitver=354f28b0112ba27f08f6509243b410899f74b6ed
_vdrapi=2.6.7
pkgrel=11
pkgdesc="VDR plugin for doing extra fixing of EPG data"
url='https://github.com/vdr-projects/vdr-plugin-epgfixer'
arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h')
license=('GPL2')
depends=('gcc-libs' 'pcre' "vdr-api=${_vdrapi}")
makedepends=('git')
_plugname=${pkgname//vdr-/}
source=("git+https://github.com/vdr-projects/vdr-plugin-${_plugname}.git#commit=${_gitver}")
backup=("etc/vdr/conf.avail/50-$_plugname.conf"
'var/lib/vdr/plugins/epgfixer/blacklist.conf'
'var/lib/vdr/plugins/epgfixer/charset.conf'
'var/lib/vdr/plugins/epgfixer/epgclone.conf'
'var/lib/vdr/plugins/epgfixer/regexp.conf')
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/vdr-plugin-$_plugname"
git describe --tags --abbrev=7 | sed 's/-/_/g;s/v//'
}
package() {
cd "${srcdir}/vdr-plugin-$_plugname"
make DESTDIR="$pkgdir" install
mkdir -p "$pkgdir/etc/vdr/conf.avail"
echo "[$_plugname]" > "$pkgdir/etc/vdr/conf.avail/50-$_plugname.conf"
chown -R 666:666 "$pkgdir/var/lib/vdr"
}
|