go-fuck

LOW
maintainer LeafEvans 0 votes scanned 2026-11-03 06:04:06.066327
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: LeafEvans <leafevans@foxmail.com>
2pkgname=go-fuck
3pkgver=0.10.0
4pkgrel=1
5pkgdesc='A blazingly fast reimplementation of thefuck in Go'
6arch=('x86_64')
7url='https://github.com/leafevans/go-fuck'
8license=('MIT')
9makedepends=('go')
10source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
11sha256sums=('37afd512a04668490386deb6cfeb47e65884b45688b813af6a7342c62b7c8b55')
12
13build() {
14 cd "$pkgname-$pkgver"
15 export CGO_ENABLED=0
16 go build -trimpath \
17 -ldflags "-s -w -X github.com/leafevans/go-fuck/internal/consts.Version=$pkgver" \
18 -o go-fuck ./cmd/go-fuck
19}
20
21package() {
22 cd "$pkgname-$pkgver"
23 install -Dm755 go-fuck "$pkgdir/usr/bin/go-fuck"
24 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
25 install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
26}
27

Scan history

Scanned at (UTC)SeverityRules
2026-11-03 06:04:06 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