apkbuilds @ 2b55acb49ce0bc33bb32dc22fa721442bf8fe2b5

 1# Maintainer: Simon Zeni <simon@bl4ckb0ne.ca>
 2pkgname=jellyfin-web
 3pkgver=10.8.8
 4pkgrel=0
 5pkgdesc="Web Client for Jellyfin"
 6url="https://jellyfin.org/"
 7# armv7: oom
 8arch="x86_64 aarch64"
 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="
2788a829248f1d2506509a3610cc67575899df4fcb371fdd766b4a91f2005f387055ac716047293882cc494e2894f4121049c9525f468a33c99a12ff5d0c87fb19  jellyfin-web-10.8.8.tar.gz
28"