thronectl

LOW
maintainer Snowy-Fluffy 0 votes scanned 2026-11-05 14:09:10.309500
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

1# Maintainer: Snowy Fluffy <snowy.lnnk@gmail.com>
2pkgname=thronectl
3_reponame=Throne-api
4pkgver=0.3.0
5pkgrel=1
6pkgdesc='Command-line tool and web UI for the Throne API (control Throne from scripts)'
7arch=('x86_64' 'aarch64')
8url='https://github.com/throneproj/Throne-api'
9license=('MIT')
10makedepends=('go')
11options=('!debug')
12source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
13sha256sums=('7497cbc2ed047740347b9ad0979d30ab00559f92162b20f0498d3d036233f8a0')
14
15build() {
16 cd "$_reponame-$pkgver"
17 export CGO_ENABLED=0
18 export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
19 go build \
20 -ldflags "-s -w -X main.version=v$pkgver" \
21 -o "$pkgname" ./cmd/thronectl
22}
23
24check() {
25 cd "$_reponame-$pkgver"
26 go test ./...
27}
28
29package() {
30 cd "$_reponame-$pkgver"
31 install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
32 install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
33 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
34}
35

Scan history

Scanned at (UTC)SeverityRules
2026-11-05 14:09:10 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