zentorrent
LOW
maintainer Dominiquini
1 votes
scanned 2026-08-29 03:37:53.940119
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: Rafael Dominiquini <rafaeldominiquini at gmail dot com>
2
3
_gitauthor=subwaycookiecrunch
4
_gitname=zentorrent
5
_appname=${_gitname}
6
pkgname=${_appname}
7
pkgdesc="Just a CLI torrent downloader. No UI, no BS!"
8
9
pkgver=4.0.0
10
pkgrel=1
11
_gitversion=v${pkgver}
12
13
arch=('x86_64')
14
_barch=('linux-amd64')
15
16
_ghurl="https://github.com/${_gitauthor}/${_gitname}"
17
_ghurlraw="https://raw.githubusercontent.com/${_gitauthor}/${_gitname}/${_gitversion}"
18
url=${_ghurl}
19
20
license=('MIT')
21
22
makedepends=('go')
23
24
provides=("${_appname}")
25
26
options=('!strip')
27
28
source=("${pkgname}-${pkgver}.tgz::${url}/archive/v${pkgver}.tar.gz")
29
sha256sums=('11f58354005a3583d33653f994aca74eb4b2d71b50fd988920509bafdea0fe6d')
30
31
32
prepare() {
33
cd "${srcdir}/${pkgname}-${pkgver}/"
34
35
go mod tidy
36
}
37
38
build() {
39
cd "${srcdir}/${pkgname}-${pkgver}/"
40
41
export CGO_ENABLED=0
42
43
if [[ -f .ldflags ]]; then
44
ldflags=$(<.ldflags)
45
else
46
# interim until commit fix is released
47
ldflags="-checklinkname=0"
48
fi
49
50
go build -trimpath -ldflags "${ldflags}" -o "${pkgname}" ./cmd/${pkgname}
51
}
52
53
package() {
54
cd "${srcdir}/${pkgname}-${pkgver}/"
55
56
install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${_appname}"
57
58
install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
59
60
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
61
}
62
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-29 03:37:53 | Low | 1 |