summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdgar P. Burkhart2021-10-22 09:03:12 +0200
committerEdgar P. Burkhart2021-10-22 09:03:12 +0200
commit9aeb73df61f6c37853a5a6b9960454cd0d0c3191 (patch)
tree7ad9314a1a1c9c87931edbdf6f18e9fa5f43ad02
parent6cf76dc50359d3496202a5213e368508ebdac073 (diff)
downloadaur-9aeb73df61f6c37853a5a6b9960454cd0d0c3191.tar.gz
Updated npm build to prevent husky from building
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index be5bb058a675..951f355df367 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,11 +1,12 @@
# Maintainer: feinedsquirrel < feinedsquirrel at gmail dot com >
+# Maintainer: edpibu < archlinux at edgarpierre dot fr >
# instructions by photoview author:
# https://photoview.github.io/docs/installation-manual/
pkgname=photoview
pkgver=2.3.8
-pkgrel=1
+pkgrel=2
pkgdesc="Photo gallery for self-hosted personal servers"
arch=('x86_64')
url="https://github.com/${pkgname}/${pkgname}"
@@ -59,7 +60,7 @@ prepare() {
build() {
cd "${srcdir}/${_pkg_name_ver}/ui"
- npm install --yes
+ npm install --yes --omit=dev --ignore-scripts
npm run build
cd "${srcdir}/${_pkg_name_ver}/api"