makedeb
Multy-API LLM frontend
Click here to go back to the commit logs for sillytavern.
Hash: cfb9ce8d5eba912a8b502cd1000600a5e250b1f3
Message: 1.11.6
diff --git a/.SRCINFO b/.SRCINFO
index 2edfd8f..07016cf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,24 +3,24 @@ pkgname = sillytavern
pkgbase = sillytavern
pkgdesc = Multy-API LLM frontend
pkgrel = 0
-pkgver = 1.11.5
+pkgver = 1.11.6
url = https://docs.sillytavern.app/
arch = all
depends = unionfs-fuse
license = AGPL3
-optdepends = nodejs>=18.0.0
+optdepends = nodejs>=20.0.0
optdepends = nvm
-source = sillytavern-1.11.5.tar.gz::https://github.com/SillyTavern/SillyTavern/archive/refs/tags/1.11.5.tar.gz
+source = sillytavern-1.11.6.tar.gz::https://github.com/SillyTavern/SillyTavern/archive/refs/tags/1.11.6.tar.gz
source = sillytavern-wrapper.sh
source = sillytavern.desktop
-b2sums = 48a24d49d26413f6f67420b2c3d92d88e1e6c68a0c24cdcee54a3ecc3351cd640d5b5759b5808a4fcafb6a781ca5c4e1e4635971963821d8898d6027b4801d2d
-b2sums = daf3fb9d70c5155b8b14eae1d6efd6dee93874e3628666023cfc264a657a2c5af8bd643744123a85b7fe5122eb5313977cccb649fe8e2ce69cda3f701b1677f1
+b2sums = fd4be447204b0452c8e5fd3188ef7c0535a24dae283255484bac63c52df23fab0da87af7f41635226ac3178b0879ead0635f180ad25fb99ec6358196989ed19a
+b2sums = 6d175c44126429ad83554240b757346ac18d62ad12e5fcbd9fda0d1021a96a7fe2206bc9c4a64125172af5ed4ea37c8a73abc71eea81ac987f803c5e649edb18
b2sums = 160572cef639c048310380659d95c7adb277c7a9959c3c617f3d5640585d16bc0e25b90fb12182da43158a4e24cf557330a9246fb3acb881d9565530deaff457
-optdepends = nodejs>=18.0.0
+optdepends = nodejs>=20.0.0
optdepends = nvm
-optmakedepends = nodejs>=18.0.0: install nodejs from the repo
+optmakedepends = nodejs>=20.0.0: install nodejs from the repo
optmakedepends = npm: needed with distro repo nodejs
optmakedepends = nvm: install several versions of nodejs in parallel
-optmakedepends = nodejs>=18.0.0: install nodejs from the repo
+optmakedepends = nodejs>=20.0.0: install nodejs from the repo
optmakedepends = npm: needed with distro repo nodejs
optmakedepends = nvm: install several versions of nodejs in parallel
diff --git a/PKGBUILD b/PKGBUILD
index c0392c5..8676060 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,8 +5,8 @@
#_LOCALCACHE=0
pkgname=sillytavern
_pkgname=SillyTavern
-pkgver=1.11.5
-_nodeminver=18.0.0
+pkgver=1.11.6
+_nodeminver=20.0.0
pkgrel=0
pkgdesc="Multy-API LLM frontend"
# actually onnxruntime-node is amd64 and arm64
@@ -23,8 +23,8 @@ optdepends=("nodejs>=${_nodeminver}"
source=("${pkgname}-$pkgver.tar.gz::https://github.com/SillyTavern/SillyTavern/archive/refs/tags/${pkgver}.tar.gz"
"${pkgname}-wrapper.sh"
"${pkgname}.desktop")
-b2sums=('48a24d49d26413f6f67420b2c3d92d88e1e6c68a0c24cdcee54a3ecc3351cd640d5b5759b5808a4fcafb6a781ca5c4e1e4635971963821d8898d6027b4801d2d'
- 'daf3fb9d70c5155b8b14eae1d6efd6dee93874e3628666023cfc264a657a2c5af8bd643744123a85b7fe5122eb5313977cccb649fe8e2ce69cda3f701b1677f1'
+b2sums=('fd4be447204b0452c8e5fd3188ef7c0535a24dae283255484bac63c52df23fab0da87af7f41635226ac3178b0879ead0635f180ad25fb99ec6358196989ed19a'
+ '6d175c44126429ad83554240b757346ac18d62ad12e5fcbd9fda0d1021a96a7fe2206bc9c4a64125172af5ed4ea37c8a73abc71eea81ac987f803c5e649edb18'
'160572cef639c048310380659d95c7adb277c7a9959c3c617f3d5640585d16bc0e25b90fb12182da43158a4e24cf557330a9246fb3acb881d9565530deaff457')
prepare() {
@@ -52,7 +52,6 @@ package() {
install -Dm755 "$srcdir/${pkgname}-wrapper.sh" -v "$pkgdir/usr/bin/${pkgname}"
mv "$srcdir/${_pkgname}-$pkgver/node_modules" "$pkgdir${_LIBPREFIX}"
mv "$srcdir/${_pkgname}-$pkgver/"* "$pkgdir${_SHAREPREFIX}"
- # bug, hardcoded node_modules path
ln -s /usr/lib/sillytavern/node_modules "$pkgdir${_SHAREPREFIX}/"
# Icon and desktop file
ln -s "${_SHAREPREFIX}/public/img/apple-icon-72x72.png" "$pkgdir/usr/share/icons/hicolor/72x72/apps/${pkgname}.png"
diff --git a/sillytavern-wrapper.sh b/sillytavern-wrapper.sh
index 2e5c08a..b45cd3b 100644
--- a/sillytavern-wrapper.sh
+++ b/sillytavern-wrapper.sh
@@ -2,9 +2,7 @@
_name="sillytavern"
_SHAREPREFIX="/usr/share/${_name}"
-_LIBPREFIX="/usr/lib/${_name}"
_config_dir="${XDG_CONFIG_HOME:-$HOME/.config}/$_name"
-export NODE_PATH="$NODE_PATH:${_LIBPREFIX}"
fusecleanup()
{