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
3pkgname=stack-wallet-bin
4pkgver=2.6.0
5pkgrel=1
6pkgdesc="Fully open source multicoin cryptocurrency wallet"
7arch=('x86_64')
8url="https://stackwallet.com/"
9license=('GPL-3.0-or-later')
10depends=('gtk3' 'libsecret' 'nss' 'alsa-lib')
11makedepends=('patchelf')
12provides=('stack-wallet')
13conflicts=('stack-wallet' 'stack-wallet-appimage')
14source=(
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)
19sha256sums=(
20 '6314b24d47e1026ebc5f7a713cc1822129181aabf912d0deccb1788061dedbb8'
21 '2a8a718692c208b85822edf7370bd0c0d41645a3da36fc2d75c785b2ba462796'
22 '8b1ba204bb69a0ade2bfcf65ef294a920f6bb361b317dba43c7ef29d96332b9b'
23)
24noextract=("sw-v${pkgver}-linux.AppImage")
25options=('!strip')
26
27prepare() {
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
45package() {
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
66exec env LD_LIBRARY_PATH=/usr/lib/stack-wallet/lib /usr/lib/stack-wallet/stack_wallet "$@"
67EOF
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)SeverityRules
2026-08-18 13:39:48 LOW 2

Report a package

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

0 / 4000
Your suggestion