traygolin-git

LOW
maintainer lucassvaz 0 votes scanned 2026-10-08 04:07:28.496369
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: Lucas Saavedra Vaz <lucasssvaz@users.noreply.github.com>
2pkgname=traygolin-git
3_pkgname=traygolin
4pkgver=0.1.0.r0.g0000000
5pkgrel=1
6pkgdesc="Unofficial Linux tray app for the Pangolin VPN client (git)"
7arch=('x86_64' 'aarch64')
8url="https://github.com/lucasssvaz/traygolin"
9license=('Apache-2.0' 'MIT')
10depends=('glib2' 'glibc' 'gtk4' 'libadwaita>=1.9' 'polkit' 'hicolor-icon-theme')
11makedepends=('go' 'gobject-introspection' 'git')
12optdepends=('pangolin-cli: official Pangolin VPN CLI (pangolin on PATH)')
13provides=("${_pkgname}")
14conflicts=("${_pkgname}")
15source=("git+${url}.git")
16sha256sums=('SKIP')
17
18pkgver() {
19 cd "${_pkgname}"
20 git describe --long --tags --abbrev=7 2>/dev/null | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' ||
21 printf "0.1.0.r%s.g%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
22}
23
24build() {
25 cd "${_pkgname}"
26 export CGO_ENABLED=1
27 export CGO_CPPFLAGS="${CPPFLAGS}"
28 export CGO_CFLAGS="${CFLAGS}"
29 export CGO_CXXFLAGS="${CXXFLAGS}"
30 export CGO_LDFLAGS="${LDFLAGS}"
31 export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
32 make VERSION="${pkgver}" GO_LDFLAGS="-linkmode=external"
33}
34
35package() {
36 cd "${_pkgname}"
37 make DESTDIR="${pkgdir}" PREFIX=/usr LICENSEDIR="/usr/share/licenses/${pkgname}" install
38}
39

Scan history

Scanned at (UTC)SeverityRules
2026-10-08 04:07:28 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