update npm dependencies

This commit is contained in:
Carlos Galindo 2023-08-27 15:39:20 +02:00
parent df46c9cfbf
commit ae455d564d
2 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
pkgbase = meshcentral pkgbase = meshcentral
pkgdesc = Web based remote computer management server pkgdesc = Web based remote computer management server
pkgver = 1.1.10 pkgver = 1.1.10
pkgrel = 1 pkgrel = 2
url = https://meshcentral.com url = https://meshcentral.com
arch = any arch = any
license = Apache license = Apache

View file

@ -1,7 +1,7 @@
# Maintainer: Carlos Galindo <arch -a-t- cgj .d.o.t. es> # Maintainer: Carlos Galindo <arch -a-t- cgj .d.o.t. es>
pkgname=meshcentral pkgname=meshcentral
pkgver=1.1.10 pkgver=1.1.10
pkgrel=1 pkgrel=2
pkgdesc="Web based remote computer management server" pkgdesc="Web based remote computer management server"
arch=("any") arch=("any")
url="https://meshcentral.com" url="https://meshcentral.com"
@ -30,7 +30,7 @@ package() {
# on first boot # on first boot
npm install --global --prefix "$pkgdir/usr/lib/$pkgname" \ npm install --global --prefix "$pkgdir/usr/lib/$pkgname" \
"$srcdir/$pkgname-$pkgver.tgz" \ "$srcdir/$pkgname-$pkgver.tgz" \
archiver@4.0.2 otplib@10.2.3 archiver@5.3.1 otplib@10.2.3
# npm gives ownership of ALL FILES to build user # npm gives ownership of ALL FILES to build user
# https://bugs.archlinux.org/task/63396 # https://bugs.archlinux.org/task/63396
chown -R root:root "$pkgdir/usr/lib/$pkgname" chown -R root:root "$pkgdir/usr/lib/$pkgname"