# Maintainer: Rekidaishi # Contributor: Carlos Bellino pkgname=sickchill _gitname=SickChill _gitauthor=SickChill _sickchill_dir="/opt/sickchill" pkgver=2020.09.28 pkgrel=2 pkgdesc="Automatic Video Library Manager for TV Shows. It watches for new episodes of your favorite shows, and when they are posted it does its magic." arch=('any') url="https://github.com/${_gitauthor}/${_gitname}" license=('GPL3') depends=('nodejs' 'python2-babel' 'python2-cheetah3' 'python2-mako') optdepends=('python2-notify' 'unrar') provides=($_pkgname 'sickrage') conflicts=(${_pkgname} 'sickchill-git') options=('!strip') install=${pkgname}.install source=("https://github.com/${_gitauthor}/${_gitname}/archive/v${pkgver}-${pkgrel}.tar.gz" "${pkgname}.service" "${pkgname}.install") md5sums=('30d62d3f9d3287f4d582793a2420af06' '373832300e91a4011285eb8d6df9cef0' '961815f362818fa961c37c70199c5b6f') package() { rm -rf "${pkgdir}${_sickchill_dir}"/app/ install -Dm644 "${srcdir}/${pkgname}.service" "${pkgdir}/usr/lib/systemd/system/${pkgname}.service" install -dm755 "${pkgdir}${_sickchill_dir}"/{app,data} cp -rp "${srcdir}/${_gitname}-${pkgver}-${pkgrel}"/* "${pkgdir}${_sickchill_dir}"/app/ }