thunderbolt

LOW
maintainer IuseAURBTW 1 votes scanned 2026-08-24 13:22:51.972535
View on AUR
Why flagged

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Triggered rules

Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

PKGBUILD

1pkgname=thunderbolt
2pkgver=0.1.123
3pkgrel=1
4pkgdesc='Privacy-respecting AI chat client. AI You Control: Choose your models. Own your data. Eliminate vendor lock-in.'
5arch=('x86_64' 'aarch64')
6url='https://github.com/thunderbird/thunderbolt'
7license=('MPL-2.0')
8depends=(
9 'cairo'
10 'gdk-pixbuf2'
11 'glib2'
12 'gtk3'
13 'hicolor-icon-theme'
14 'libappindicator-gtk3'
15 'libsoup3'
16 'openssl'
17 'pango'
18 'webkit2gtk-4.1'
19)
20makedepends=(
21 'bun>=1.2'
22 'cargo'
23 'cmake'
24 'librsvg'
25)
26optdepends=(
27 'xdg-utils'
28)
29conflicts=(
30 'thunderbolt-bin'
31 'thunderbolt-git'
32)
33options=(
34 '!lto'
35 '!strip'
36)
37source=(
38 "$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz"
39)
40sha256sums=(
41 '9a434737e7409defbaa278a545eb5f3329f313ac091d5dd47745122e9c714c65'
42)
43
44build() {
45 cd "$pkgname-$pkgver"
46
47 export RUSTFLAGS=''
48 export CARGO_INCREMENTAL=0
49 export RUSTC_WRAPPER=''
50 export NO_STRIP=true
51 export VITE_THUNDERBOLT_CLOUD_URL="https://api.thunderbolt.io/v1"
52 export BUN_INSTALL_CACHE_DIR="$srcdir/bun-cache"
53 export CARGO_HOME="$srcdir/cargo-home"
54
55 rm -rf src-tauri/target
56
57 bun install --frozen-lockfile
58 bun tauri build --no-bundle
59}
60
61package() {
62 cd "$pkgname-$pkgver"
63
64 install -Dm755 \
65 "src-tauri/target/release/$pkgname" \
66 "$pkgdir/usr/bin/$pkgname"
67
68 install -Dm644 \
69 'LICENSE' \
70 "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
71
72 install -Dm644 \
73 'public/favicon.svg' \
74 "$pkgdir/usr/share/icons/hicolor/scalable/apps/$pkgname.svg"
75
76 install -Dm644 \
77 'public/favicon-32x32.png' \
78 "$pkgdir/usr/share/icons/hicolor/32x32/apps/$pkgname.png"
79
80 install -d "$pkgdir/usr/share/applications"
81
82 cat >"$pkgdir/usr/share/applications/$pkgname.desktop" <<EOF
83[Desktop Entry]
84Type=Application
85Name=Thunderbolt
86GenericName=AI Assistant
87Comment=AI You Control: Choose your models. Own your data. Eliminate vendor lock-in.
88Exec=thunderbolt
89Icon=thunderbolt
90Terminal=false
91Categories=Network;Chat;
92StartupNotify=true
93StartupWMClass=thunderbolt
94EOF
95}
96

Scan history

Scanned at (UTC)SeverityRules
2026-08-24 13:22:51 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion