whyd
LOW
maintainer Giovani_Geek
0 votes
scanned 2026-10-31 19:58:49.989948
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
# shellcheck disable=SC2034,SC2154,SC2164
2
# Maintainer: Energetix/Dark Nebula <https://github.com/Jobanny-Friki>
3
4
pkgname=whyd
5
pkgver=0.2.0
6
pkgrel=1
7
pkgdesc="Diagnose why your Linux system froze, crashed or shut down"
8
arch=('x86_64')
9
url="https://github.com/vmaltarello/whyd"
10
license=('GPL-3.0-or-later')
11
depends=('glibc')
12
makedepends=('go')
13
source=("$pkgname-$pkgver.tar.gz::https://github.com/vmaltarello/whyd/archive/refs/tags/v$pkgver.tar.gz")
14
sha256sums=('95b05bc7895f626473b9807c4e39ba789bec9a36b649b7a4981615875816cfb1')
15
16
build() {
17
cd "$pkgname-$pkgver"
18
go build -trimpath -buildmode=pie -ldflags "-buildid= -X main.version=$pkgver" -o build/whyd ./cmd/whyd
19
}
20
21
check() {
22
cd "$pkgname-$pkgver"
23
go test ./internal/...
24
}
25
26
package() {
27
cd "$pkgname-$pkgver"
28
install -Dm755 build/whyd "$pkgdir/usr/bin/whyd"
29
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
30
}
31
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-31 19:58:49 | Low | 1 |