traygolin-git
LOW
maintainer lucassvaz
0 votes
scanned 2026-10-08 04:07:28.496369
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>
2
pkgname=traygolin-git
3
_pkgname=traygolin
4
pkgver=0.1.0.r0.g0000000
5
pkgrel=1
6
pkgdesc="Unofficial Linux tray app for the Pangolin VPN client (git)"
7
arch=('x86_64' 'aarch64')
8
url="https://github.com/lucasssvaz/traygolin"
9
license=('Apache-2.0' 'MIT')
10
depends=('glib2' 'glibc' 'gtk4' 'libadwaita>=1.9' 'polkit' 'hicolor-icon-theme')
11
makedepends=('go' 'gobject-introspection' 'git')
12
optdepends=('pangolin-cli: official Pangolin VPN CLI (pangolin on PATH)')
13
provides=("${_pkgname}")
14
conflicts=("${_pkgname}")
15
source=("git+${url}.git")
16
sha256sums=('SKIP')
17
18
pkgver() {
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
24
build() {
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
35
package() {
36
cd "${_pkgname}"
37
make DESTDIR="${pkgdir}" PREFIX=/usr LICENSEDIR="/usr/share/licenses/${pkgname}" install
38
}
39
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-08 04:07:28 | Low | 1 |