urga
LOW
maintainer avitacco
0 votes
scanned 2026-10-08 18:09:39.829306
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: Anthony Vitacco <avitacco@protonmail.com>
2
3
pkgname=urga
4
pkgver=0.12.0
5
pkgrel=1
6
pkgdesc='Terminal UI for HashiCorp Nomad'
7
arch=('x86_64' 'aarch64' 'armv7h')
8
url='https://github.com/ingvarch/urga'
9
license=('MIT')
10
depends=('glibc')
11
makedepends=('go')
12
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
13
sha256sums=('f85cbfbc3a82f81151eb7fafc291519ac89d62358a976d5b4f296e756f8639ee')
14
15
prepare() {
16
cd "$pkgname-$pkgver"
17
export GOPATH="$srcdir/gopath"
18
go mod download -modcacherw
19
}
20
21
build() {
22
cd "$pkgname-$pkgver"
23
export GOPATH="$srcdir/gopath"
24
export CGO_CPPFLAGS="$CPPFLAGS"
25
export CGO_CFLAGS="$CFLAGS"
26
export CGO_CXXFLAGS="$CXXFLAGS"
27
export CGO_LDFLAGS="$LDFLAGS"
28
29
# Same version stamps goreleaser puts in a release build. The date comes from
30
# SOURCE_DATE_EPOCH so the build is reproducible.
31
local _date
32
_date=$(date -u -d "@${SOURCE_DATE_EPOCH}" +%Y-%m-%dT%H:%M:%SZ)
33
local _pkg=github.com/ingvarch/urga/internal/version
34
go build -buildmode=pie -trimpath -mod=readonly -modcacherw -o "$pkgname" \
35
-ldflags "-linkmode=external -X $_pkg.Version=v$pkgver -X $_pkg.Date=$_date" \
36
./cmd/urga
37
38
# The release ships the licenses of the linked modules alongside the binary.
39
# This lists packages for every release platform, so it gets no -buildmode.
40
go run -mod=readonly -modcacherw ./internal/licenses/cmd/licenses -notices THIRD_PARTY_NOTICES ./cmd/urga
41
}
42
43
check() {
44
cd "$pkgname-$pkgver"
45
export GOPATH="$srcdir/gopath"
46
go test -mod=readonly -modcacherw ./...
47
}
48
49
package() {
50
cd "$pkgname-$pkgver"
51
install -Dm755 "$pkgname" -t "$pkgdir/usr/bin"
52
install -Dm644 LICENSE THIRD_PARTY_NOTICES -t "$pkgdir/usr/share/licenses/$pkgname"
53
install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
54
}
55
Changes since previous scan
--- PKGBUILD @ 2026-10-06 00:13+++ PKGBUILD @ 2026-10-08 18:09@@ -1,7 +1,7 @@ # Maintainer: Anthony Vitacco <avitacco@protonmail.com> pkgname=urga-pkgver=0.10.2+pkgver=0.12.0 pkgrel=1 pkgdesc='Terminal UI for HashiCorp Nomad' arch=('x86_64' 'aarch64' 'armv7h')@@ -10,7 +10,7 @@ depends=('glibc') makedepends=('go') source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")-sha256sums=('47a228b2eee0f5574840de9956fc6725e60657de8a86e233b49134db31317f97')+sha256sums=('f85cbfbc3a82f81151eb7fafc291519ac89d62358a976d5b4f296e756f8639ee') prepare() { cd "$pkgname-$pkgver"Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-08 18:09:39 | Low | 1 |
| 2026-10-06 00:13:36 | Clean | 2 |
| 2026-10-05 23:40:58 | Low | 1 |