pkglint

LOW
maintainer Jamison 0 votes scanned 2026-08-28 01:33:41.799663
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: Jamison Lahman <jamison+aur@lahman.dev>
2# Contributor:
3
4pkgname=pkglint
5pkgver=1.0.0
6pkgrel=1
7pkgdesc='Security-focused linter for Arch Linux PKGBUILDs'
8arch=('i686' 'x86_64' 'aarch64')
9url='https://github.com/jmelahman/pkglint'
10license=('GPL-3.0-only')
11depends=('glibc')
12makedepends=('go' 'git')
13_commit='16e7b01d2a04329ad717d3c1ea5ab563907c8219'
14source=("$pkgname::git+$url.git#commit=$_commit")
15md5sums=('SKIP')
16
17pkgver() {
18 cd "$pkgname" || exit
19
20 git describe --tags | sed 's/^v//'
21}
22
23prepare() {
24 cd "$pkgname" || exit
25
26 go mod download
27}
28
29build() {
30 cd "$pkgname" || exit
31
32 CGO_ENABLED=0 go build -trimpath -buildmode=pie -mod=readonly -modcacherw \
33 -ldflags="-X main.version=v$pkgver -s -w" -o "$pkgname"
34}
35
36package() {
37 cd "$pkgname" || exit
38
39 install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
40
41 install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
42}
43

Scan history

Scanned at (UTC)SeverityRules
2026-08-28 01:33:41 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