# This PKGBUILD is part of the VDR4Arch project [https://github.com/vdr4arch] # Maintainer: Christopher Reimer pkgname=vdr-wirbelscan pkgver=2021.12.11 _vdrapi=2.6.0 pkgrel=2 pkgdesc="Performs a channel scans for DVB-T, DVB-C and DVB-S" url="https://www.gen2vdr.de/wirbel/wirbelscan/index2.html" arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h') license=('GPL2') depends=('gcc-libs' "vdr-api=${_vdrapi}" "librepfunc") _plugname=${pkgname//vdr-/} source=("https://www.gen2vdr.de/wirbel/wirbelscan/$pkgname-$pkgver.tgz") backup=("etc/vdr/conf.avail/50-$_plugname.conf") sha256sums=('51c6edabd49ce9581bce3747d48bbd123c026ab3cddc0d450d071c0ee5ab7078') build() { cd "${srcdir}/${_plugname}-${pkgver}" make } package() { cd "${srcdir}/${_plugname}-${pkgver}" make DESTDIR="$pkgdir" install mkdir -p "$pkgdir/etc/vdr/conf.avail" echo "[$_plugname]" > "$pkgdir/etc/vdr/conf.avail/50-$_plugname.conf" }