fix: specify compatible nodejs versions in dependencies (pkgrel 2)

This commit is contained in:
Yakov Till 2025-02-14 02:03:35 +01:00
parent 8d3de7662d
commit da431c0f49
2 changed files with 7 additions and 4 deletions

View file

@ -1,7 +1,7 @@
pkgbase = n8n
pkgdesc = Free and source-available fair-code licensed workflow automation tool. Easily automate tasks across different services.
pkgver = 1.78.0
pkgrel = 1
pkgrel = 2
url = https://n8n.io
arch = i686
arch = x86_64
@ -11,7 +11,9 @@ pkgbase = n8n
arch = aarch64
license = custom:Sustainable Use License
makedepends = npm
depends = nodejs
depends = nodejs-lts-hydrogen>=18.17.0
depends = nodejs-lts-iron>=20.0.0
depends = nodejs-lts-jod<=22.0.0
noextract = n8n-1.78.0.tgz
options = !strip
options = !debug

View file

@ -2,13 +2,14 @@
pkgname="n8n"
pkgver=1.78.0
pkgrel=1
pkgrel=2
pkgdesc="Free and source-available fair-code licensed workflow automation tool. Easily automate tasks across different services."
arch=('i686' 'x86_64' 'arm' 'armv7h' 'armv6h' 'aarch64')
url="https://n8n.io"
license=("custom:Sustainable Use License")
backup=("etc/default/${pkgname}")
depends=("nodejs")
# n8n requires Node.js >=18.17 and <=22
depends=("nodejs-lts-hydrogen>=18.17.0" "nodejs-lts-iron>=20.0.0" "nodejs-lts-jod<=22.0.0")
makedepends=("npm")
source=("${pkgname}-${pkgver}.tgz::https://registry.npmjs.org/${pkgname}/-/${pkgname}-${pkgver}.tgz"
"${pkgname}.env"