slopquota
LOW
maintainer nathanchere
0 votes
scanned 2026-09-17 05:24:46.293726
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: Nathan Chere <aur@nathanchere.com.au>
2
pkgname=slopquota
3
pkgver=0.1.0
4
pkgrel=2
5
pkgdesc="CLI utility for viewing token quotas from AI subscriptions like OpenAI Codex, Claude Max, Grok, OpenCode etc"
6
arch=('x86_64')
7
url="https://gitlab.com/nathanchere/slopquota"
8
license=('Apache-2.0')
9
depends=('glibc')
10
makedepends=('git' 'go')
11
_commit=82f774828f04df5b69ca963e41ebcd2a83dee7f3
12
source=("${pkgname}::git+https://gitlab.com/nathanchere/slopquota.git#commit=${_commit}")
13
sha256sums=('3a8ef2b36b4177dda5891e4ae931ec2b36c0e4fea3d6e59d4d0574ee6de182e3')
14
15
prepare() {
16
cd "$srcdir/$pkgname/src"
17
go mod download
18
}
19
20
build() {
21
cd "$srcdir/$pkgname/src"
22
export CGO_CPPFLAGS="${CPPFLAGS}"
23
export CGO_CFLAGS="${CFLAGS}"
24
export CGO_CXXFLAGS="${CXXFLAGS}"
25
export CGO_LDFLAGS="${LDFLAGS}"
26
export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
27
mkdir -p "$srcdir/bin"
28
go build -ldflags="-linkmode=external" -o "$srcdir/bin/$pkgname" ./slopquota
29
}
30
31
check() {
32
cd "$srcdir/$pkgname/src"
33
go test ./...
34
}
35
36
package() {
37
install -Dm755 "$srcdir/bin/$pkgname" "$pkgdir/usr/bin/$pkgname"
38
}
39
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 05:24:46 | Low | 1 |