thronectl
LOW
maintainer Snowy-Fluffy
0 votes
scanned 2026-11-05 14:09:10.309500
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>
2
pkgname=thronectl
3
_reponame=Throne-api
4
pkgver=0.3.0
5
pkgrel=1
6
pkgdesc='Command-line tool and web UI for the Throne API (control Throne from scripts)'
7
arch=('x86_64' 'aarch64')
8
url='https://github.com/throneproj/Throne-api'
9
license=('MIT')
10
makedepends=('go')
11
options=('!debug')
12
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
13
sha256sums=('7497cbc2ed047740347b9ad0979d30ab00559f92162b20f0498d3d036233f8a0')
14
15
build() {
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
24
check() {
25
cd "$_reponame-$pkgver"
26
go test ./...
27
}
28
29
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-11-05 14:09:10 | Low | 1 |