restray
Package builds from source tarball hosted on tangled.org (a code forge) with a proper b2sum checksum; the non-standard host is plausibly the project's own forge, no prebuilt binaries are downloaded or executed, and the build process is straightforward Go compilation.
Triggered rules
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
llm_review
The static rules flagged this MEDIUM, but an AI model (anthropic/claude-sonnet-4.6) reviewed the full PKGBUILD and judged it LOW (confidence 80%): Package builds from source tarball hosted on tangled.org (a code forge) with a proper b2sum checksum; the non-standard host is plausibly the project's own forge, no prebuilt binaries are downloaded or executed, and the build process is straightforward Go compilation.
1 higher static finding superseded - not the current verdict (shown for transparency)
source_untrusted_domain
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
-
PKGBUILD:12
source=("$pkgname-v$pkgver.tar.gz::https://tangled.org/devins.page/$pkgname/archive/refs/tags/v$pkgver.tar.gz")
PKGBUILD
1 offending line(s) highlighted# Maintainer: Celti B. <celti@celti.name>
pkgname=restray
pkgver=0.23.1
pkgrel=1
pkgdesc='powerful but friendly backup program that runs in your tray, powered by restic'
arch=('x86_64')
url='https://devins.page/restray'
license=('GPL-3.0-only')
depends=('glibc' 'hicolor-icon-theme' 'restic')
makedepends=('go' 'imagemagick')
source=("$pkgname-v$pkgver.tar.gz::https://tangled.org/devins.page/$pkgname/archive/refs/tags/v$pkgver.tar.gz")
b2sums=('b5fdbef863461838e92492418f7f7cab8ff58bc2c0795d8f2d5b95750c24c7bc9709b9afb377cd8581adb2bad10ce8017102d0efb2f6ba00ab6cd760892482d2')
prepare() {
cd "${pkgname}-v${pkgver}"
export GOPATH="${srcdir}"
go mod download -modcacherw
}
build() {
cd "$pkgname-v$pkgver"
export CGO_CPPFLAGS="${CPPFLAGS}"
export CGO_CFLAGS="${CFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}"
export CGO_LDFLAGS="${LDFLAGS}"
export GOPATH="${srcdir}"
export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
go build -o build/ ./cmd/...
}
check() {
cd "$pkgname-v$pkgver"
go test ./...
}
package() {
cd "$pkgname-v$pkgver"
install -Dm755 build/$pkgname "$pkgdir"/usr/bin/$pkgname
install -Dm644 packaging/linux/$pkgname-user.service "$pkgdir"/usr/lib/systemd/user/$pkgname.service
install -Dm644 -t "$pkgdir"/usr/lib/systemd/system/ packaging/linux/$pkgname.service
install -Dm644 -t "$pkgdir"/usr/share/applications/ packaging/linux/$pkgname.desktop
install -Dm644 -t "$pkgdir"/usr/share/icons/hicolor/1024x1024/apps/ packaging/linux/$pkgname.png
for size in 16 24 32 48 64 128 256 512; do
install -dm755 "$pkgdir"/usr/share/icons/hicolor/${size}x${size}/apps
magick packaging/linux/$pkgname.png -resize ${size}x${size} \
"$pkgdir"/usr/share/icons/hicolor/${size}x${size}/apps/$pkgname.png
done
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-17 00:21:55 | Low | 3 |
| 2026-10-16 00:12:47 | Low | 3 |
| 2026-10-15 00:28:05 | Low | 3 |
| 2026-10-14 00:06:47 | Low | 3 |
| 2026-10-13 05:17:17 | Low | 3 |
| 2026-10-13 05:15:42 | Medium | 2 |