boxesandglue-glu

LOW
maintainer alerque 0 votes scanned 2026-08-23 19:21:20.461168
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: Caleb Maclennan <caleb@alerque.com>
2
3pkgname=boxesandglue-glu
4pkgver=0.0.30
5pkgrel=2
6pkgdesc='a command line interface for boxes and glue using Lua scripting'
7arch=(x86_64)
8url='https://github.com/boxesandglue/glu'
9license=(MIT)
10depends=(glibc) # libc.so
11makedepends=(go)
12_archive="${pkgname#*-}-$pkgver"
13source=("$url/archive/refs/tags/v$pkgver/$_archive.tar.gz")
14sha256sums=('8a74651b99738bf3937a7c60b46cb6794f32b8237447b33739a86305a731b2b2')
15
16prepare() {
17 cd "$_archive"
18 mkdir -p build
19}
20
21build() {
22 cd "$_archive"
23 export CGO_CPPFLAGS="$CPPFLAGS"
24 export CGO_CFLAGS="$CFLAGS"
25 export CGO_CXXFLAGS="$CXXFLAGS"
26 export CGO_LDFLAGS="$LDFLAGS"
27 go build \
28 -trimpath \
29 -buildmode=pie \
30 -mod=readonly \
31 -modcacherw \
32 -ldflags "-X main.Version=$pkgver -extldflags \"$LDFLAGS\"" \
33 -o build \
34 ./...
35}
36
37_compgen() {
38 cd "$_archive"
39 ./build/glu completion $1
40}
41
42package() {
43 cd "$_archive"
44 install -Dm0755 -t "$pkgdir/usr/bin/" build/glu
45 install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE.md
46 install -Dm0644 <(_compgen bash) "$pkgdir/usr/share/bash-completion/completions/glu"
47 install -Dm0644 <(_compgen fish) "$pkgdir/usr/share/fish/vendor_completions.d/glu.fish"
48 install -Dm0644 <(_compgen zsh) "$pkgdir/usr/share/zsh/site-functions/_glu"
49}
50

Scan history

Scanned at (UTC)SeverityRules
2026-08-23 19:21:20 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