blob: 4f77ca13ef007363cfc2a7114763aa5493f0f97f (
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
|
# This PKGBUILD is part of the VDR4Arch project [https://github.com/vdr4arch]
# Maintainer: Christopher Reimer <mail+vdr4arch[at]c-reimer[dot]de>
pkgname=vdr-osdteletext
pkgver=2.3.1
_vdrapi=2.6.7
pkgrel=4
pkgdesc="Displays teletext pages directly on VDR's OSD"
url="https://github.com/vdr-projects/vdr-plugin-osdteletext"
arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h')
license=('GPL2')
depends=('gcc-libs' "vdr-api=${_vdrapi}")
optdepends=('ttf-teletext2: rendering special graphic characters used in Teletext')
_plugname=${pkgname//vdr-/}
source=("$pkgname-$pkgver.tar.gz::https://github.com/vdr-projects/vdr-plugin-osdteletext/archive/v$pkgver.tar.gz"
"50-$_plugname.conf")
backup=("etc/vdr/conf.avail/50-$_plugname.conf")
sha256sums=('6a5ca0ee3e6513d43ef486ac5db390ef8c38ba24b23cec5b04d9e7907eec81d6'
'8e1347177732fc334ab1f542f3e434728889c9006e211e9a7ff53c6cbc1ecb2e')
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"
}
|