boxesandglue-glu
LOW
maintainer alerque
0 votes
scanned 2026-08-23 19:21:20.461168
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
3
pkgname=boxesandglue-glu
4
pkgver=0.0.30
5
pkgrel=2
6
pkgdesc='a command line interface for boxes and glue using Lua scripting'
7
arch=(x86_64)
8
url='https://github.com/boxesandglue/glu'
9
license=(MIT)
10
depends=(glibc) # libc.so
11
makedepends=(go)
12
_archive="${pkgname#*-}-$pkgver"
13
source=("$url/archive/refs/tags/v$pkgver/$_archive.tar.gz")
14
sha256sums=('8a74651b99738bf3937a7c60b46cb6794f32b8237447b33739a86305a731b2b2')
15
16
prepare() {
17
cd "$_archive"
18
mkdir -p build
19
}
20
21
build() {
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
42
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-08-23 19:21:20 | Low | 1 |