macros
maintainer ethanstokes
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The pnpm install runs on the project's own source from a tagged GitHub release, building a declared dependency for the UI; this is normal for Tauri apps and not a supply-chain risk.
Triggered rules
LOW
AI review downgraded a static finding
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The pnpm install runs on the project's own source from a tagged GitHub release, building a declared dependency for the UI; this is normal for Tauri apps and not a supply-chain risk.
1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM
npm/yarn/pnpm install of an undeclared external package
npm_install_external
Runs `npm/yarn/pnpm install <package>` for a package not in source=(), pulling unpinned, unreviewed code at build time. Severity downgraded: the package declares/looks like a Node.js consumer, where build-time installs are expected.
-
PKGBUILD:25
pnpm install --dir ui
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Ethan Stokes <erstokes10@gmail.com>
2
3
pkgname=macros
4
pkgver=0.4.0
5
pkgrel=1
6
pkgdesc='A Tauri app to manage and run macros on Linux.'
7
url='https://github.com/EthanRStokes/macros'
8
arch=('x86_64')
9
license=('GPL-3.0-only')
10
makedepends=('cargo' 'git' 'pnpm')
11
depends=(
12
'gtk3' 'nss' 'alsa-lib' 'hicolor-icon-theme' 'webkit2gtk-4.1'
13
'libgcc' 'glibc'
14
)
15
conflicts=('macros')
16
provides=('macros')
17
source=("$pkgname-$pkgver.tar.gz::https://github.com/EthanRStokes/macros/archive/refs/tags/${pkgver}.tar.gz")
18
sha256sums=('9a997c09f340eed31e36663039cd5d58d26a31e22da5e4c049ab644a5b9b0e91')
19
options=('!lto')
20
21
prepare() {
22
cd "$srcdir/Macros-$pkgver"
23
24
cargo fetch
25
pnpm install --dir ui
26
}
27
28
build() {
29
cd "$srcdir/Macros-$pkgver"
30
export MACROS_PNPM_OFFLINE=1
31
cargo build --release --frozen
32
}
33
34
package() {
35
cd "$srcdir/Macros-$pkgver"
36
37
local libdir="$pkgdir/usr/lib/macros"
38
39
# Binary's RUNPATH is $ORIGIN, so the CEF runtime payload (libcef.so,
40
# GL/Vulkan shims, *.pak, icudtl.dat, locales/, ...) has to live alongside
41
# it in a private libdir, not /usr/bin.
42
install -Dm755 "target/release/macros" "$libdir/macros"
43
install -Dm755 "target/release/libcef.so" "$libdir/libcef.so"
44
install -Dm755 "target/release/libEGL.so" "$libdir/libEGL.so"
45
install -Dm755 "target/release/libGLESv2.so" "$libdir/libGLESv2.so"
46
install -Dm755 "target/release/libvk_swiftshader.so" "$libdir/libvk_swiftshader.so"
47
install -Dm755 "target/release/libvulkan.so.1" "$libdir/libvulkan.so.1"
48
install -Dm755 "target/release/chrome-sandbox" "$libdir/chrome-sandbox"
49
install -Dm644 "target/release/vk_swiftshader_icd.json" "$libdir/vk_swiftshader_icd.json"
50
install -Dm644 "target/release/icudtl.dat" "$libdir/icudtl.dat"
51
install -Dm644 "target/release/v8_context_snapshot.bin" "$libdir/v8_context_snapshot.bin"
52
install -Dm644 "target/release/chrome_100_percent.pak" "$libdir/chrome_100_percent.pak"
53
install -Dm644 "target/release/chrome_200_percent.pak" "$libdir/chrome_200_percent.pak"
54
install -Dm644 "target/release/resources.pak" "$libdir/resources.pak"
55
cp -r "target/release/locales" "$libdir/locales"
56
57
install -d "$pkgdir/usr/bin"
58
ln -sf /usr/lib/macros/macros "$pkgdir/usr/bin/macros"
59
60
install -Dm644 "res/icons/macros.png" "$pkgdir"/usr/share/icons/hicolor/256x256/apps/macros.png
61
install -Dm644 "res/macros.desktop" "$pkgdir"/usr/share/applications/macros.desktop
62
}
63
Changes since previous scan
--- PKGBUILD @ 2026-07-08 03:27+++ PKGBUILD @ 2026-08-03 00:08@@ -1,44 +1,63 @@ # Maintainer: Ethan Stokes <erstokes10@gmail.com> pkgname=macros-pkgver=0.3.1+pkgver=0.4.0 pkgrel=1-pkgdesc='A libcosmic app to manage and run macros on Linux.'+pkgdesc='A Tauri app to manage and run macros on Linux.' url='https://github.com/EthanRStokes/macros' arch=('x86_64') license=('GPL-3.0-only')-makedepends=('cargo' 'git')+makedepends=('cargo' 'git' 'pnpm') depends=(- 'expat' 'fontconfig' 'libxkbcommon' 'freetype2' 'hicolor-icon-theme' 'cosmic-icon-theme'+ 'gtk3' 'nss' 'alsa-lib' 'hicolor-icon-theme' 'webkit2gtk-4.1' 'libgcc' 'glibc'- "libx11" "libxi" "libxtst" ) conflicts=('macros') provides=('macros') source=("$pkgname-$pkgver.tar.gz::https://github.com/EthanRStokes/macros/archive/refs/tags/${pkgver}.tar.gz")-sha256sums=('b47feb99937f01f6750ddb0630c4e4a5bd3041f7a3144a37fd54a01fe34d283b')+sha256sums=('9a997c09f340eed31e36663039cd5d58d26a31e22da5e4c049ab644a5b9b0e91') options=('!lto') prepare() { cd "$srcdir/Macros-$pkgver" cargo fetch+ pnpm install --dir ui } build() { cd "$srcdir/Macros-$pkgver"- cargo build --release+ export MACROS_PNPM_OFFLINE=1+ cargo build --release --frozen } package() { cd "$srcdir/Macros-$pkgver"- install -Dm755 "target/release/macros" "$pkgdir"/usr/bin/macros++ local libdir="$pkgdir/usr/lib/macros"++ # Binary's RUNPATH is $ORIGIN, so the CEF runtime payload (libcef.so,+ # GL/Vulkan shims, *.pak, icudtl.dat, locales/, ...) has to live alongside+ # it in a private libdir, not /usr/bin.+ install -Dm755 "target/release/macros" "$libdir/macros"+ install -Dm755 "target/release/libcef.so" "$libdir/libcef.so"+ install -Dm755 "target/release/libEGL.so" "$libdir/libEGL.so"+ install -Dm755 "target/release/libGLESv2.so" "$libdir/libGLESv2.so"+ install -Dm755 "target/release/libvk_swiftshader.so" "$libdir/libvk_swiftshader.so"+ install -Dm755 "target/release/libvulkan.so.1" "$libdir/libvulkan.so.1"+ install -Dm755 "target/release/chrome-sandbox" "$libdir/chrome-sandbox"+ install -Dm644 "target/release/vk_swiftshader_icd.json" "$libdir/vk_swiftshader_icd.json"+ install -Dm644 "target/release/icudtl.dat" "$libdir/icudtl.dat"+ install -Dm644 "target/release/v8_context_snapshot.bin" "$libdir/v8_context_snapshot.bin"+ install -Dm644 "target/release/chrome_100_percent.pak" "$libdir/chrome_100_percent.pak"+ install -Dm644 "target/release/chrome_200_percent.pak" "$libdir/chrome_200_percent.pak"+ install -Dm644 "target/release/resources.pak" "$libdir/resources.pak"+ cp -r "target/release/locales" "$libdir/locales"++ install -d "$pkgdir/usr/bin"+ ln -sf /usr/lib/macros/macros "$pkgdir/usr/bin/macros" install -Dm644 "res/icons/macros.png" "$pkgdir"/usr/share/icons/hicolor/256x256/apps/macros.png install -Dm644 "res/macros.desktop" "$pkgdir"/usr/share/applications/macros.desktop-- install -Dm644 "res/icons/remove.svg" "$pkgdir"/usr/share/macros/icons/remove.svg- install -Dm644 "res/icons/up.svg" "$pkgdir"/usr/share/macros/icons/up.svg- install -Dm644 "res/icons/down.svg" "$pkgdir"/usr/share/macros/icons/down.svg } Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 07:17:22 | MEDIUM | 1 |
| 2026-07-08 03:27:03 | CLEAN | 0 |
| 2026-06-21 00:08:37 | CLEAN | 0 |
| 2026-06-18 16:11:54 | CLEAN | 0 |