gostc

LOW
maintainer yjun 0 votes scanned 2026-10-31 11:58:11.931447
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: yjun <jerrysteve1101 at gmail dot com>
2
3pkgname=gostc
4pkgver=2.0.11
5pkgrel=1
6pkgdesc='frp-based NAT traversal management client'
7arch=('x86_64' 'aarch64' 'armv7h')
8url='https://github.com/SianHH/gostc-open'
9license=('Apache-2.0')
10depends=('glibc')
11makedepends=('go')
12source=(
13 "$pkgname-$pkgver.tar.gz::https://github.com/SianHH/gostc-open/archive/refs/tags/v$pkgver.tar.gz"
14)
15sha256sums=(
16 '941d1bd9e76480afa6b2abd373582252e2d530fbed654b2f843a824637e81a71'
17)
18
19prepare() {
20 cd "gostc-open-$pkgver/client"
21 export GOPATH="${srcdir}"
22 # Keep the module cache inside the build environment.
23 go mod download -modcacherw
24}
25
26build() {
27 cd "gostc-open-$pkgver/client"
28 export CGO_ENABLED=0
29 export GOPATH="${srcdir}"
30 export GOFLAGS='-buildmode=pie -trimpath -mod=readonly -modcacherw'
31 # Upstream goreleaser config only adds -s -w (stripped by pacman anyway);
32 # bypass the Makefile and honor the Arch hardening flags instead.
33 go build -o build/gostc ./cli/
34}
35
36package() {
37 cd "gostc-open-$pkgver/client"
38 install -Dm755 build/gostc "$pkgdir/usr/bin/gostc"
39 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
40}
41

Scan history

Scanned at (UTC)SeverityRules
2026-10-31 11:58:11 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