go-fuck
LOW
maintainer LeafEvans
0 votes
scanned 2026-11-03 06:04:06.066327
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>
2
pkgname=go-fuck
3
pkgver=0.10.0
4
pkgrel=1
5
pkgdesc='A blazingly fast reimplementation of thefuck in Go'
6
arch=('x86_64')
7
url='https://github.com/leafevans/go-fuck'
8
license=('MIT')
9
makedepends=('go')
10
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
11
sha256sums=('37afd512a04668490386deb6cfeb47e65884b45688b813af6a7342c62b7c8b55')
12
13
build() {
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
21
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-11-03 06:04:06 | Low | 1 |