pkglint
LOW
maintainer Jamison
0 votes
scanned 2026-08-28 01:33:41.799663
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
4
pkgname=pkglint
5
pkgver=1.0.0
6
pkgrel=1
7
pkgdesc='Security-focused linter for Arch Linux PKGBUILDs'
8
arch=('i686' 'x86_64' 'aarch64')
9
url='https://github.com/jmelahman/pkglint'
10
license=('GPL-3.0-only')
11
depends=('glibc')
12
makedepends=('go' 'git')
13
_commit='16e7b01d2a04329ad717d3c1ea5ab563907c8219'
14
source=("$pkgname::git+$url.git#commit=$_commit")
15
md5sums=('SKIP')
16
17
pkgver() {
18
cd "$pkgname" || exit
19
20
git describe --tags | sed 's/^v//'
21
}
22
23
prepare() {
24
cd "$pkgname" || exit
25
26
go mod download
27
}
28
29
build() {
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
36
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-08-28 01:33:41 | Low | 1 |