bashd-ls

LOW
maintainer ZhangHua 0 votes scanned 2026-09-02 07:50:36.081104
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

1pkgname=bashd-ls
2pkgver=0.2.3
3pkgrel=1
4pkgdesc="Bash language server"
5arch=(x86_64)
6url=https://github.com/matkrin/bashd
7license=(BSD-3-Clause)
8depends=(glibc)
9makedepends=(go)
10optdepends=('shellcheck: The shellcheck integration')
11source=("${pkgname%-ls}-$pkgver.tar.gz::https://github.com/matkrin/bashd/archive/refs/tags/v$pkgver.tar.gz")
12sha256sums=('dcd7f252e41f221d59506fdee44c7fa5a344aef3bd42ce66be4ba26ac3a48057')
13
14prepare() {
15 cd "${pkgname%-ls}-$pkgver"
16 export GOPATH="${srcdir}"
17 go mod download -modcacherw
18}
19
20build() {
21 cd "${pkgname%-ls}-$pkgver"
22 export CGO_CPPFLAGS="${CPPFLAGS}"
23 export CGO_CFLAGS="${CFLAGS}"
24 export CGO_CXXFLAGS="${CXXFLAGS}"
25 export CGO_LDFLAGS="${LDFLAGS}"
26 export GOPATH="${srcdir}"
27 export GOFLAGS="-buildmode=pie -mod=readonly -modcacherw"
28
29 go build -ldflags "-X main.VERSION=$pkgver -compressdwarf=false -linkmode external" \
30 -o "$pkgname" \
31 "./cmd/${pkgname%-ls}"
32}
33
34package() {
35 cd "${pkgname%-ls}-$pkgver"
36 install -Dvm755 "$pkgname" -t "$pkgdir/usr/bin"
37 install -Dvm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
38 install -Dvm644 docs/${pkgname%-ls}.1 -t "$pkgdir/usr/share/man/man1"
39}
40

Scan history

Scanned at (UTC)SeverityRules
2026-09-02 07:50:36 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