anpan-git
LOW
maintainer nanoka
1 votes
scanned 2026-08-31 13:45:31.809418
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
pkgname=anpan-git
2
pkgver=0.4.0.r6.g88dd31e
3
pkgrel=1
4
pkgdesc="Feed a link, bake a file — minimal terminal downloader (VCS latest)"
5
arch=('x86_64' 'aarch64')
6
url="https://github.com/KabosuNeko/anpan"
7
license=('MIT')
8
provides=('anpan')
9
conflicts=('anpan' 'anpan-bin')
10
makedepends=('git' 'go')
11
optdepends=(
12
'aria2: for multi-connection acceleration, creator archives, and BitTorrent'
13
'ffmpeg: for media multiplexing and audio extraction'
14
)
15
source=("git+https://github.com/KabosuNeko/anpan.git")
16
sha256sums=('SKIP')
17
18
pkgver() {
19
cd anpan
20
git describe --long --tags --always | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
21
}
22
23
build() {
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
29
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-08-31 13:45:31 | Low | 1 |