# Contributor: Antoine Martin (ayakael) # Maintainer: Antoine Martin (ayakael) pkgname=jellysub _pkgname=$pkgname pkgver=0.0.6 pkgrel=1 arch="noarch" pkgdesc="Jellysub is an HTTP service which sits between Subsonic-compatible clients and a Jellyfin server." url="https://pypi.python.org/project/$pkgname" license="MIT" depends=" python3 py3-aiohttp py3-configargparse " makedepends='py3-setuptools' subpackages="$pkgname-openrc" source=" $_pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz jellysub.openrc jellysub.conf " build() { msg "Building $pkgname" python3 setup.py build } package() { python3 setup.py install --root="$pkgdir"/ --optimize=1 --skip-build install -Dm755 "$srcdir"/jellysub.openrc "$pkgdir"/etc/init.d/jellysub install -Dm644 "$srcdir"/jellysub.conf "$pkgdir"/etc/conf.d/jellysub } check() { msg "Checking $pkgname" python3 setup.py test } sha512sums=" 938b8c32dd4fa093db3e00bb0ec17a362087c772f41eba0129a431c31402df0d046fb039cad2509fd9240554df69f980c81f094a8ee0455de6a09aa8b5fb4b2e jellysub-0.0.6.tar.gz f10d2187c2cb929f80910ab3b7d80cc5be9e8d211e05ee1e36ab5a2bede2440a63d0cc9a9dc84b97f959b8dfda667654e83e4bf999e5e0ea9b98d19930a07cf7 jellysub.openrc 3b86a9c50bf5a7c1c5144b0f993a0fca5b61d56580209d8c477d81c03e2fd05bdd688c9644063eb8e04542a59cfe68a3a404215afa79a12239ed4cce326f10bd jellysub.conf "