zentorrent

LOW
maintainer Dominiquini 1 votes scanned 2026-08-29 03:37:53.940119
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: Rafael Dominiquini <rafaeldominiquini at gmail dot com>
2
3_gitauthor=subwaycookiecrunch
4_gitname=zentorrent
5_appname=${_gitname}
6pkgname=${_appname}
7pkgdesc="Just a CLI torrent downloader. No UI, no BS!"
8
9pkgver=4.0.0
10pkgrel=1
11_gitversion=v${pkgver}
12
13arch=('x86_64')
14_barch=('linux-amd64')
15
16_ghurl="https://github.com/${_gitauthor}/${_gitname}"
17_ghurlraw="https://raw.githubusercontent.com/${_gitauthor}/${_gitname}/${_gitversion}"
18url=${_ghurl}
19
20license=('MIT')
21
22makedepends=('go')
23
24provides=("${_appname}")
25
26options=('!strip')
27
28source=("${pkgname}-${pkgver}.tgz::${url}/archive/v${pkgver}.tar.gz")
29sha256sums=('11f58354005a3583d33653f994aca74eb4b2d71b50fd988920509bafdea0fe6d')
30
31
32prepare() {
33 cd "${srcdir}/${pkgname}-${pkgver}/"
34
35 go mod tidy
36}
37
38build() {
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
53package() {
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)SeverityRules
2026-08-29 03:37:53 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