laneway-git
LOW
maintainer koen_hendriks
0 votes
scanned 2026-09-28 19:21:21.991743
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: Koen Hendriks <aur@koenhendriks.nl>
2
3
pkgname=laneway-git
4
pkgver=r489.2f2af5d
5
pkgrel=1
6
pkgdesc='A terminal board for Jira'
7
arch=('x86_64' 'aarch64')
8
url='https://github.com/cornedor/laneway'
9
license=('MIT')
10
depends=('glibc')
11
makedepends=('git' 'go')
12
provides=('laneway')
13
conflicts=('laneway')
14
options=('!lto')
15
source=("$pkgname::git+$url.git")
16
b2sums=('SKIP')
17
18
pkgver() {
19
cd "$pkgname"
20
local tag
21
if tag=$(git describe --long --tags 2>/dev/null); then
22
printf '%s' "$tag" | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
23
else
24
printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
25
fi
26
}
27
28
prepare() {
29
cd "$pkgname"
30
go mod download -modcacherw
31
}
32
33
build() {
34
cd "$pkgname"
35
export CGO_CPPFLAGS="$CPPFLAGS"
36
export CGO_CFLAGS="$CFLAGS"
37
export CGO_CXXFLAGS="$CXXFLAGS"
38
export CGO_LDFLAGS="$LDFLAGS"
39
export GOFLAGS='-buildmode=pie -trimpath -mod=readonly -modcacherw'
40
go build -ldflags "-linkmode=external -X main.version=$pkgver" -o build/laneway .
41
local shell
42
for shell in bash zsh fish; do
43
./build/laneway completion "$shell" >"build/laneway.$shell"
44
done
45
}
46
47
check() {
48
cd "$pkgname"
49
go test -mod=readonly -modcacherw ./...
50
}
51
52
package() {
53
cd "$pkgname"
54
install -Dm755 build/laneway "$pkgdir/usr/bin/laneway"
55
install -Dm644 build/laneway.bash "$pkgdir/usr/share/bash-completion/completions/laneway"
56
install -Dm644 build/laneway.zsh "$pkgdir/usr/share/zsh/site-functions/_laneway"
57
install -Dm644 build/laneway.fish "$pkgdir/usr/share/fish/vendor_completions.d/laneway.fish"
58
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
59
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
60
install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname" docs/*.md
61
install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname/guide" docs/guide/*.md
62
}
63
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-28 19:21:21 | Low | 1 |
| 2026-09-28 17:21:20 | Low | 1 |