stack-wallet-bin
maintainer sTiKyt
· 1 votes
· scanned 2026-08-18 13:39:48.676217
LOW
View on AUR ↗
Why flagged
The package downloads a prebuilt AppImage from the project's official GitHub releases, which is unpacked and repackaged; while the source is not built from scratch, it uses verifiable assets from an official repository with matching checksums, posing low risk.
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.
LOW
AI review
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): The package downloads a prebuilt AppImage from the project's official GitHub releases, which is unpacked and repackaged; while the source is not built from scratch, it uses verifiable assets from an official repository with matching checksums, posing low risk.
PKGBUILD
1
# Maintainer: sTiKyt <stikyt@proton.me>
2
3
pkgname=stack-wallet-bin
4
pkgver=2.6.0
5
pkgrel=1
6
pkgdesc="Fully open source multicoin cryptocurrency wallet"
7
arch=('x86_64')
8
url="https://stackwallet.com/"
9
license=('GPL-3.0-or-later')
10
depends=('gtk3' 'libsecret' 'nss' 'alsa-lib')
11
makedepends=('patchelf')
12
provides=('stack-wallet')
13
conflicts=('stack-wallet' 'stack-wallet-appimage')
14
source=(
15
"sw-v${pkgver}-linux.AppImage::https://github.com/cypherstack/stack_wallet/releases/download/build_310/sw-v${pkgver}-linux.AppImage"
16
"stack-wallet.desktop"
17
"LICENSE::https://raw.githubusercontent.com/cypherstack/stack_wallet/build_310/LICENSE"
18
)
19
sha256sums=(
20
'6314b24d47e1026ebc5f7a713cc1822129181aabf912d0deccb1788061dedbb8'
21
'2a8a718692c208b85822edf7370bd0c0d41645a3da36fc2d75c785b2ba462796'
22
'8b1ba204bb69a0ade2bfcf65ef294a920f6bb361b317dba43c7ef29d96332b9b'
23
)
24
noextract=("sw-v${pkgver}-linux.AppImage")
25
options=('!strip')
26
27
prepare() {
28
chmod +x "sw-v${pkgver}-linux.AppImage"
29
./"sw-v${pkgver}-linux.AppImage" --appimage-extract
30
31
# Fix execstack flags on wallet libraries that cause "cannot enable executable stack" errors
32
patchelf --clear-execstack squashfs-root/lib/monero_libwallet2_api_c.so
33
patchelf --clear-execstack squashfs-root/lib/wownero_libwallet2_api_c.so
34
patchelf --clear-execstack squashfs-root/lib/salvium_libwallet2_api_c.so
35
36
# Fix RUNPATH on all libraries so they can find each other
37
# The AppImage build has hardcoded paths from the build machine
38
for lib in squashfs-root/lib/*.so*; do
39
if [[ -f "$lib" && ! -L "$lib" ]]; then
40
patchelf --set-rpath '$ORIGIN' "$lib" 2>/dev/null || true
41
fi
42
done
43
}
44
45
package() {
46
local instdir="$pkgdir/usr/lib/stack-wallet"
47
48
# Create installation directory
49
install -dm755 "$instdir"
50
51
# Install binary
52
install -Dm755 squashfs-root/stack_wallet "$instdir/stack_wallet"
53
54
# Install bundled libraries
55
install -dm755 "$instdir/lib"
56
cp -r squashfs-root/lib/* "$instdir/lib/"
57
58
# Install data directory (flutter_assets + icudtl.dat)
59
install -dm755 "$instdir/data"
60
cp -r squashfs-root/data/* "$instdir/data/"
61
62
# Create wrapper script that sets LD_LIBRARY_PATH
63
install -dm755 "$pkgdir/usr/bin"
64
cat > "$pkgdir/usr/bin/stack-wallet" << 'EOF'
65
#!/bin/bash
66
exec env LD_LIBRARY_PATH=/usr/lib/stack-wallet/lib /usr/lib/stack-wallet/stack_wallet "$@"
67
EOF
68
chmod 755 "$pkgdir/usr/bin/stack-wallet"
69
70
# Desktop entry
71
install -Dm644 stack-wallet.desktop "$pkgdir/usr/share/applications/stack-wallet.desktop"
72
73
# Icon
74
install -Dm644 squashfs-root/stackwallet.png "$pkgdir/usr/share/icons/hicolor/512x512/apps/stack-wallet.png"
75
76
# License
77
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
78
}
79
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-18 13:39:48 | LOW | 2 |