# This PKGBUILD is part of the VDR4Arch project [https://github.com/vdr4arch] # Maintainer: Christopher Reimer pkgname=vdr-remotetimers pkgver=1.0.2 _vdrapi=2.4.1 pkgrel=4 pkgdesc="Add/Edit/Remove timers on both, the local (client) VDR and a remote (server) VDR" url="http://vdr.schmirler.de/" arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h') license=('GPL2') depends=('gcc-libs' "vdr-api=${_vdrapi}" 'vdr-svdrpservice') _plugname=${pkgname//vdr-/} source=("http://vdr.schmirler.de/$_plugname/$pkgname-$pkgver.tgz") backup=("etc/vdr/conf.avail/50-$_plugname.conf") md5sums=('b3e7e8895d5e94362e8375882702cb83') 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" }