whyd

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