aboutsummaryrefslogtreecommitdiff
path: root/apks/jellyfin-web/APKBUILD
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2022-12-26 15:20:41 +0100
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2022-12-26 15:20:41 +0100
commit49e92cf705771c2a47fed50f95b42ab65a49e77a (patch)
treebfea35471a544613b130fa77a8e4ca3f0427e243 /apks/jellyfin-web/APKBUILD
parentb13ca1652f870af62f05fbb7d455aab1898eab0a (diff)
downloadapkbuilds-49e92cf705771c2a47fed50f95b42ab65a49e77a.tar.gz
apkbuilds-49e92cf705771c2a47fed50f95b42ab65a49e77a.tar.bz2
apkbuilds-49e92cf705771c2a47fed50f95b42ab65a49e77a.zip
fix: Add jellyfin again
Diffstat (limited to 'apks/jellyfin-web/APKBUILD')
-rw-r--r--apks/jellyfin-web/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/apks/jellyfin-web/APKBUILD b/apks/jellyfin-web/APKBUILD
new file mode 100644
index 0000000..2786c42
--- /dev/null
+++ b/apks/jellyfin-web/APKBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Simon Zeni <simon@bl4ckb0ne.ca>
+pkgname=jellyfin-web
+pkgver=10.8.8
+pkgrel=0
+pkgdesc="Web Client for Jellyfin"
+url="https://jellyfin.org/"
+# armv7: oom
+arch="x86_64 aarch64"
+options="!check net" # no tests
+license="GPL-2.0-only"
+install="$pkgname.post-install"
+depends="jellyfin"
+makedepends="npm"
+source="$pkgname-$pkgver.tar.gz::https://github.com/jellyfin/jellyfin-web/archive/refs/tags/v$pkgver.tar.gz"
+
+build() {
+ npm ci --no-audit
+}
+
+package() {
+ mkdir -p "$pkgdir"/usr/lib/jellyfin/jellyfin-web
+
+ cp -r "$builddir"/dist/* "$pkgdir"/usr/lib/jellyfin/jellyfin-web
+}
+
+sha512sums="
+88a829248f1d2506509a3610cc67575899df4fcb371fdd766b4a91f2005f387055ac716047293882cc494e2894f4121049c9525f468a33c99a12ff5d0c87fb19 jellyfin-web-10.8.8.tar.gz
+"