blob: 4a0ed52f198e3e5f27cdee62c6d8de8baa96b52f (
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>
# Contributor: crov
pkgname=vdr-chanman
pkgver=0.0.13
_vdrapi=5
pkgrel=7
pkgdesc="Change channel with a multi level choice"
url="https://github.com/vdr-projects/vdr-plugin-chanman"
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-chanman/archive/$pkgver.tar.gz")
backup=("etc/vdr/conf.avail/50-$_plugname.conf")
sha256sums=('054c03452bb8971d743ed8a6da99e68d12f116e2a8874fbca3df9869de9e098d')
build() {
cd "${srcdir}/vdr-plugin-${_plugname}-${pkgver}"
make
}
package() {
cd "${srcdir}/vdr-plugin-${_plugname}-${pkgver}"
make DESTDIR="$pkgdir" install
mkdir -p "$pkgdir/etc/vdr/conf.avail"
echo "[$_plugname]" > "$pkgdir/etc/vdr/conf.avail/50-$_plugname.conf"
}
|