anpan-git

LOW
maintainer nanoka 1 votes scanned 2026-08-31 13:45:31.809418
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

1pkgname=anpan-git
2pkgver=0.4.0.r6.g88dd31e
3pkgrel=1
4pkgdesc="Feed a link, bake a file — minimal terminal downloader (VCS latest)"
5arch=('x86_64' 'aarch64')
6url="https://github.com/KabosuNeko/anpan"
7license=('MIT')
8provides=('anpan')
9conflicts=('anpan' 'anpan-bin')
10makedepends=('git' 'go')
11optdepends=(
12 'aria2: for multi-connection acceleration, creator archives, and BitTorrent'
13 'ffmpeg: for media multiplexing and audio extraction'
14)
15source=("git+https://github.com/KabosuNeko/anpan.git")
16sha256sums=('SKIP')
17
18pkgver() {
19 cd anpan
20 git describe --long --tags --always | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
21}
22
23build() {
24 cd anpan
25 export CGO_ENABLED=0
26 go build -trimpath -ldflags="-s -w -X github.com/KabosuNeko/anpan/cmd.Version=$(git describe --tags --always)" -o anpan .
27}
28
29package() {
30 cd anpan
31 install -Dm755 anpan "${pkgdir}/usr/bin/anpan"
32 if [ -f "LICENSE" ]; then
33 install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
34 fi
35}
36

Scan history

Scanned at (UTC)SeverityRules
2026-08-31 13:45:31 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