smash
LOW
maintainer Giovani_Geek
0 votes
scanned 2026-10-08 04:07:28.496369
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: Energetix/Dark Nebula <https://github.com/Jobanny-Friki>
2
3
pkgname=smash
4
pkgver=1.0.0
5
pkgrel=1
6
pkgdesc="Find duplicate files super fast by slicing files intelligently"
7
arch=('x86_64' 'aarch64')
8
url="https://github.com/thushan/smash"
9
license=('Apache-2.0')
10
depends=()
11
makedepends=('go>=1.24')
12
options=('!lto')
13
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
14
sha256sums=('eaf6457aafc1732033365e0eeba9d48042e7a387136c948eb03a17bfed33edd0')
15
16
prepare() {
17
cd "$pkgname-$pkgver"
18
go mod download
19
}
20
21
build() {
22
cd "$pkgname-$pkgver"
23
export CGO_ENABLED=0
24
export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
25
go build -ldflags "-s -w -X github.com/thushan/smash/internal/smash.Version=v$pkgver -X github.com/thushan/smash/internal/smash.Commit=v$pkgver" -o "smash" .
26
}
27
28
check() {
29
cd "$pkgname-$pkgver"
30
export GOROOT=/usr/lib/go
31
go test ./...
32
}
33
34
package() {
35
cd "$pkgname-$pkgver"
36
install -Dm755 "smash" "$pkgdir/usr/bin/smash"
37
install -Dm644 readme.md "$pkgdir/usr/share/doc/$pkgname/readme.md"
38
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
39
}
40
Changes since previous scan
--- PKGBUILD @ 2026-10-06 00:13+++ PKGBUILD @ 2026-10-08 04:07@@ -3,7 +3,7 @@ pkgname=smash pkgver=1.0.0 pkgrel=1-pkgdesc="Smash through to find duplicate files super fast by slicing files intelligently"+pkgdesc="Find duplicate files super fast by slicing files intelligently" arch=('x86_64' 'aarch64') url="https://github.com/thushan/smash" license=('Apache-2.0')Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-08 04:07:28 | Low | 1 |
| 2026-10-06 00:13:36 | Clean | 2 |
| 2026-10-05 23:40:58 | Low | 1 |