addpkg: jellyfin-web 10.7.7-1

primary
George Rawlinson 1 year ago
parent d3139e9665
commit fac92ac654
Signed by: grawlinson
GPG Key ID: E0959FEA8B550539
  1. 34
      jellyfin-web/PKGBUILD

@ -0,0 +1,34 @@
# Maintainer:
pkgname=jellyfin-web
pkgver=10.7.7
pkgrel=1
pkgdesc='Jellyfin web client'
arch=('any')
url='https://jellyfin.org'
_url='https://github.com/jellyfin/jellyfin-web'
license=('GPL2' 'GPL3')
makedepends=('yarn' 'git')
source=("$pkgname-$pkgver.tar.gz::$_url/archive/v$pkgver.tar.gz")
b2sums=('7af7d8a464513f1c5aff51fd69737920795ed64cc0e4e1fe3d0d4457842aeb5f6633a4e633c32aa1fb28e05c727bd9421df44dce20c616cddd7cb0849158e643')
build(){
cd "$pkgname-$pkgver"
#local NPM_FLAGS=(--no-audit --no-fund --no-update-notifier)
# install dependencies
#npm install "${NPM_FLAGS[@]}"
yarn install
# compile web application
#npm ci "${NPM_FLAGS[@]}"
yarn build:production
}
package() {
cd "$pkgname-$pkgver"
install -vd "$pkgdir/usr/share/$pkgname"
cp -vr dist/* "$pkgdir/usr/share/$pkgname"
}
# vim: ts=2 sw=2 et:
Loading…
Cancel
Save