tinyice

LOW
maintainer agony4001 0 votes scanned 2026-11-03 22:05:32.218858
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: agony <27015 at riseup dot net>
2
3pkgname=tinyice
4pkgver=2.12.3
5pkgrel=1
6pkgdesc='Icecast-compatible streaming server for audio and video'
7arch=('x86_64' 'aarch64')
8url='https://github.com/DatanoiseTV/tinyice'
9license=('Apache-2.0')
10depends=('glibc')
11makedepends=('go' 'nodejs' 'npm')
12install=tinyice.install
13source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz"
14 'tinyice.sysusers'
15 'tinyice.tmpfiles')
16sha256sums=('f9e25cd1169f5a8351aa4da7d2f12dee293eff5e785be460990c7d1a654f28a1'
17 '03ccb8a881692e4b49498999087a717b647620c3ce754ed8168376de2194663d'
18 'ce5c426ecc09f9c877320a2293a4b60b1bca0b84ee8242f527ab8f9abb85ab0b')
19
20prepare() {
21 cd "${pkgname}-${pkgver}"
22 export GOPATH="${srcdir}/gopath"
23 go mod download -x -modcacherw
24 cd server/frontend
25 export npm_config_cache="${srcdir}/npm-cache"
26 npm ci
27}
28
29build() {
30 cd "${pkgname}-${pkgver}/server/frontend"
31 export npm_config_cache="${srcdir}/npm-cache"
32 npm run build
33 cd ../..
34 export GOPATH="${srcdir}/gopath"
35 export CGO_CPPFLAGS="${CPPFLAGS}"
36 export CGO_CFLAGS="${CFLAGS}"
37 export CGO_CXXFLAGS="${CXXFLAGS}"
38 export CGO_LDFLAGS="${LDFLAGS}"
39 export GOFLAGS='-buildmode=pie -trimpath -buildvcs=false -mod=readonly -modcacherw'
40 go build -v -ldflags="-linkmode=external -X main.Version=v${pkgver}" -o tinyice .
41}
42
43check() {
44 cd "${pkgname}-${pkgver}"
45 export GOPATH="${srcdir}/gopath"
46 export GOFLAGS='-buildvcs=false -mod=readonly -modcacherw'
47 go test ./...
48}
49
50package() {
51 install -Dm644 tinyice.sysusers "${pkgdir}/usr/lib/sysusers.d/tinyice.conf"
52 install -Dm644 tinyice.tmpfiles "${pkgdir}/usr/lib/tmpfiles.d/tinyice.conf"
53 cd "${pkgname}-${pkgver}"
54 install -Dm755 tinyice -t "${pkgdir}/usr/bin"
55 install -Dm644 packaging/tinyice.service -t "${pkgdir}/usr/lib/systemd/system"
56}
57

Scan history

Scanned at (UTC)SeverityRules
2026-11-03 22:05:32 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