slopquota

LOW
maintainer nathanchere 0 votes scanned 2026-09-17 05:24:46.293726
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: Nathan Chere <aur@nathanchere.com.au>
2pkgname=slopquota
3pkgver=0.1.0
4pkgrel=2
5pkgdesc="CLI utility for viewing token quotas from AI subscriptions like OpenAI Codex, Claude Max, Grok, OpenCode etc"
6arch=('x86_64')
7url="https://gitlab.com/nathanchere/slopquota"
8license=('Apache-2.0')
9depends=('glibc')
10makedepends=('git' 'go')
11_commit=82f774828f04df5b69ca963e41ebcd2a83dee7f3
12source=("${pkgname}::git+https://gitlab.com/nathanchere/slopquota.git#commit=${_commit}")
13sha256sums=('3a8ef2b36b4177dda5891e4ae931ec2b36c0e4fea3d6e59d4d0574ee6de182e3')
14
15prepare() {
16 cd "$srcdir/$pkgname/src"
17 go mod download
18}
19
20build() {
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
31check() {
32 cd "$srcdir/$pkgname/src"
33 go test ./...
34}
35
36package() {
37 install -Dm755 "$srcdir/bin/$pkgname" "$pkgdir/usr/bin/$pkgname"
38}
39

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 05:24:46 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