blob: b98cac2cc541e6222abf1c3f9f21a87b66e7d758 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Maintainer: Patrick Northon <northon_patrick3@yahoo.ca>
pkgname=kodi-addon-jellyfin
pkgver=1.0.7
pkgrel=1
pkgdesc='Synchronize your media on your Jellyfin server to the native Kodi database.'
url='https://github.com/jellyfin/jellyfin-kodi'
license=('GPL3')
depends=('kodi' 'python-kodi_six' 'python-dateutil' 'python-requests' 'python-six' 'python-websocket-client')
groups=('kodi-addons')
makedepends=('unzip' 'python-yaml')
arch=('any')
sha256sums=('9c6b8ae4d11d595e7e458aab4a6659588e457238944a893e02bc0d42503ad72c')
source=("${pkgname}-${pkgver}::${url}/archive/refs/tags/v${pkgver}.tar.gz")
_srcdir="jellyfin-kodi-${pkgver}"
build() {
cd "${_srcdir}"
./build.py --version 'py3'
}
package() {
cd "${_srcdir}"
install -dm755 "${pkgdir}/usr/share/kodi/addons"
unzip 'plugin.video.jellyfin+py3.zip' -d "${pkgdir}/usr/share/kodi/addons"
}
|