Package Details: actual-cli 26.9.0-1

Git Clone URL: https://aur.archlinux.org/actual-cli.git (read-only, click to copy)
Package Base: actual-cli
Description: CLI for Actual Budget
Upstream URL: https://github.com/actualbudget/actual
Licenses: MIT
Submitter: AlD
Maintainer: AlD
Last Packager: AlD
Votes: 2
Popularity: 1.16
First Submitted: 2026-05-31 23:23 (UTC)
Last Updated: 2026-09-11 23:06 (UTC)

Latest Comments

AlD commented on 2026-09-11 23:06 (UTC)

thx, updated!

fermino commented on 2026-09-11 22:33 (UTC)

Update and build fix :)

diff --git a/.SRCINFO b/.SRCINFO
index 7d198f7..7ca7c30 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,14 @@
 pkgbase = actual-cli
    pkgdesc = CLI for Actual Budget
-   pkgver = 26.5.2
+   pkgver = 26.9.0
    pkgrel = 1
    url = https://github.com/actualbudget/actual
    arch = any
    license = MIT
    makedepends = npm
    depends = nodejs
-   noextract = cli-26.5.2.tgz
-   source = https://registry.npmjs.org/@actual-app/cli/-/cli-26.5.2.tgz
-   sha256sums = b92ef7062bc7b18e0aa9d2c1196c92acf20bfca18b30371ea9eb7737c9e4f79a
+   noextract = cli-26.9.0.tgz
+   source = https://registry.npmjs.org/@actual-app/cli/-/cli-26.9.0.tgz
+   sha256sums = e7e06b19f6f307a998b9ea7b5b3369342a319628bba6ca5a4604e1868d9ce408

 pkgname = actual-cli
diff --git a/PKGBUILD b/PKGBUILD
index daed336..bc4655d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,5 @@
 pkgname=actual-cli
-pkgver=26.5.2
+pkgver=26.9.0
 pkgrel=1
 pkgdesc="CLI for Actual Budget"
 arch=('any')
@@ -9,10 +9,10 @@ depends=('nodejs')
 makedepends=('npm')
 source=("https://registry.npmjs.org/@actual-app/cli/-/cli-$pkgver.tgz")
 noextract=("cli-$pkgver.tgz")
-sha256sums=('b92ef7062bc7b18e0aa9d2c1196c92acf20bfca18b30371ea9eb7737c9e4f79a')
+sha256sums=('e7e06b19f6f307a998b9ea7b5b3369342a319628bba6ca5a4604e1868d9ce408')

 package() {
-  npm install -g --prefix "$pkgdir/usr" --cache "$srcdir/npm-cache" "$srcdir/cli-$pkgver.tgz"
+  npm install -g --allow-scripts=better-sqlite3 --prefix "$pkgdir/usr" --cache "$srcdir/npm-cache" "$srcdir/cli-$pkgver.tgz"

   # npm gives ownership of ALL FILES to build user
   # https://bugs.archlinux.org/task/63396
diff --git a/PKGBUILD.in b/PKGBUILD.in
index bf48405..4815226 100644
--- a/PKGBUILD.in
+++ b/PKGBUILD.in
@@ -12,7 +12,7 @@ noextract=("cli-$pkgver.tgz")
 sha256sums=('SKIP')

 package() {
-  npm install -g --prefix "$pkgdir/usr" --cache "$srcdir/npm-cache" "$srcdir/cli-$pkgver.tgz"
+  npm install -g --allow-scripts=better-sqlite3 --prefix "$pkgdir/usr" --cache "$srcdir/npm-cache" "$srcdir/cli-$pkgver.tgz"

   # npm gives ownership of ALL FILES to build user
   # https://bugs.archlinux.org/task/63396

fermino commented on 2026-09-11 22:24 (UTC)

With the changes in npm the installation fails without making the build process fail too. It's either adding --strict-allow-scripts so it hard fails and the user has to take action, or allowing the build/download of better-sqlite3 in the build process.

npm warn install-scripts 1 package had install scripts blocked because they are not covered by allowScripts:
npm warn install-scripts   better-sqlite3@12.11.1 (install: prebuild-install || node-gyp rebuild --release)
npm warn install-scripts
npm warn install-scripts Run `npm install -g --allow-scripts=better-sqlite3` to allow these scripts once, or `npm config set allow-scripts=better-sqlite3 --location=user` to allow them for all global installs.