granted

LOW
maintainer lmartinez-mirror 0 votes scanned 2026-09-07 03:13:17.703764
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: Luis Martinez <luis dot martinez at disroot dot org>
2# Contributor: Fantix King <fantix.king@gmail.com>
3
4pkgname=granted
5pkgver=0.39.0
6pkgrel=1
7pkgdesc="CLI tool that simplifies access to cloud roles in your web browser"
8arch=(x86_64 i686 aarch64)
9url="https://github.com/fwdcloudsec/granted"
10license=(MIT)
11depends=(glibc)
12makedepends=(go)
13source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
14sha256sums=('6f9a4b38ffac2da32d7f6c5d225aca2f799d1f74aadd3783a873ff5d98b94144')
15
16prepare() {
17 cd "$pkgname-$pkgver"
18 export GOPATH="$srcdir"
19 go mod download -modcacherw
20}
21
22build() {
23 export CGO_CPPFLAGS="${CPPFLAGS}"
24 export CGO_CFLAGS="${CFLAGS}"
25 export CGO_CXXFLAGS="${CXXFLAGS}"
26 export CGO_LDFLAGS="${LDFLAGS}"
27 export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
28
29 cd "$pkgname-$pkgver"
30 go build -o granted ./cmd/granted/main.go
31}
32
33package() {
34 cd "$pkgname-$pkgver"
35 install -Dm755 granted scripts/assume -t "$pkgdir/usr/bin/"
36 ln -sf /usr/bin/granted "$pkgdir/usr/bin/assumego"
37 install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
38 install -Dm644 LICENCE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
39}
40

Scan history

Scanned at (UTC)SeverityRules
2026-09-07 03:13:17 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