addpkg: jellyfin-web 10.7.7-1
This commit is contained in:
parent
d3139e9665
commit
fac92ac654
1 changed files with 34 additions and 0 deletions
34
jellyfin-web/PKGBUILD
Normal file
34
jellyfin-web/PKGBUILD
Normal file
|
@ -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…
Reference in a new issue