apkbuilds @ 849e6879eaadb3f71182c7bb9180678c20714807

 1# Maintainer: Simon Zeni <simon@bl4ckb0ne.ca>
 2pkgname=jellyfin-web
 3pkgver=10.8.5
 4pkgrel=0
 5pkgdesc="Web Client for Jellyfin"
 6url="https://jellyfin.org/"
 7# armv7: oom
 8arch="x86_64"
 9options="!check net" # no tests
10license="GPL-2.0-only"
11install="$pkgname.post-install"
12depends="jellyfin"
13makedepends="npm"
14source="$pkgname-$pkgver.tar.gz::https://github.com/jellyfin/jellyfin-web/archive/refs/tags/v$pkgver.tar.gz"
15
16build() {
17	npm ci --no-audit
18}
19
20package() {
21	mkdir -p "$pkgdir"/usr/lib/jellyfin/jellyfin-web
22
23	cp -r "$builddir"/dist/* "$pkgdir"/usr/lib/jellyfin/jellyfin-web
24}
25
26sha512sums="
275953b1007cc771542aaad907ecc292b311e457e625c2e9d4e0246147488651ea556e8c3973fd603760326173db14939e4ce728c8f9fc563a7f3ab740453e60d8  jellyfin-web-10.8.5.tar.gz
28"