git-pkgs-forge

LOW
maintainer stepnem 0 votes scanned 2026-09-02 19:51:22.089411
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# shellcheck disable=SC2034 # unused var
2# shellcheck disable=SC2154 # var referenced but not assigned
3# shellcheck disable=SC2164 # cd might fail
4
5# Maintainer: Štěpán Němec <stepnem@smrk.net>
6
7# there is already a package named 'forge' in the extra
8# repository; 'git-pkgs-forge' is the name used by brew
9# (macOS), let's follow suit
10pkgname=git-pkgs-forge
11_cmdname=forge
12pkgver=0.9.0
13pkgrel=1
14pkgdesc='CLI for working with git forges (GitHub, GitLab, Gitea/Forgejo, Bitbucket Cloud, Gerrit, Tangled)'
15arch=(x86_64)
16url=https://github.com/git-pkgs/forge
17license=(MIT)
18depends=(glibc)
19makedepends=(go)
20source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
21sha256sums=('bd5515d68261101733595e2410124fbc4118763a42ff56464820d078f0ee1ba3')
22
23build() {
24 cd "$_cmdname-$pkgver"
25 export CGO_ENABLED=1 # -linkmode=external (which Arch wants) needs this :-(
26 export CGO_CPPFLAGS="${CPPFLAGS}"
27 export CGO_CFLAGS="${CFLAGS}"
28 export CGO_CXXFLAGS="${CXXFLAGS}"
29 export CGO_LDFLAGS="${LDFLAGS}"
30 export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
31 go build -o "$_cmdname" ./cmd/forge
32}
33
34check() {
35 cd "$_cmdname-$pkgver"
36 go test ./...
37}
38
39package() {
40 cd "$_cmdname-$pkgver"
41 install -Dm755 "$_cmdname" "$pkgdir/usr/bin/$_cmdname"
42 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
43}
44

Scan history

Scanned at (UTC)SeverityRules
2026-09-02 19:51:22 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