# Maintainer: Marcel Hoppe # https://github.com/Helly1206/service.hts.pvrmanager pkgname=kodi-addon-hts-pvrmanager pkgbase=${pkgname} _gitname=service.hts.pvrmanager pkgver=1.0.7 _gitver=d55675ea7ba1bb006c81fca30e9b3d8bbb67b554 pkgrel=1 pkgdesc='Poweroff management for current active recordings and wakeup procedures for future schedules using the XML-Interface of TVHeadend.' arch=('any') url="https://github.com/Helly1206/$_gitname" license=('GPL') groups=('kodi-addons') depends=('kodi' 'tvheadend') install='install' source=("https://github.com/Helly1206/$_gitname/archive/$_gitver.tar.gz") md5sums=('f65ce5efdfdaf849323c2f353b008f86') package() { cd "$srcdir/$_gitname-$_gitver/" rm CHANGELOG.txt LICENSE.txt README.txt chmod 755 resources/lib/settimer.sh chmod 755 resources/lib/epggrab_ext.sh DESTDIR="$pkgdir/usr/share/kodi/addons/service.hts.pvrmanager" mkdir -p $DESTDIR cp -r * "$DESTDIR" }