crest-player-git

LOW
maintainer arval 0 votes scanned 2026-11-01 01:59:19.609877
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: Nolan Tran <ttrannol000@gmail.com>
2
3pkgname=crest-player-git
4pkgver=0.1.0.r83.g11ab314
5pkgrel=1
6pkgdesc='Terminal music player with YouTube streaming, synchronized lyrics, and ASCII video'
7arch=('x86_64')
8url='https://github.com/ArvalCode/crest-player'
9license=('MIT')
10depends=('brotli' 'ffmpeg' 'gcc-libs' 'glibc' 'openssl' 'yt-dlp' 'zlib' 'zstd')
11makedepends=('cargo' 'git' 'pkgconf')
12provides=('crest-player')
13conflicts=('crest-player')
14source=('crest-player::git+https://github.com/ArvalCode/crest-player.git')
15b2sums=('SKIP')
16
17pkgver() {
18 cd "$srcdir/crest-player"
19 printf '%s.r%s.g%s' \
20 "$(sed -n 's/^version = "\([^"]*\)"/\1/p' Cargo.toml | head -n1)" \
21 "$(git rev-list --count HEAD)" \
22 "$(git rev-parse --short HEAD)"
23}
24
25prepare() {
26 cd "$srcdir/crest-player"
27 export RUSTUP_TOOLCHAIN=stable
28 cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
29}
30
31build() {
32 cd "$srcdir/crest-player"
33 export RUSTUP_TOOLCHAIN=stable
34 export CARGO_TARGET_DIR=target
35 export ZSTD_SYS_USE_PKG_CONFIG=1
36 cargo build --frozen --release --all-features
37}
38
39check() {
40 cd "$srcdir/crest-player"
41 export RUSTUP_TOOLCHAIN=stable
42 export CARGO_TARGET_DIR=target
43 cargo test --frozen --release --all-features
44}
45
46package() {
47 cd "$srcdir/crest-player"
48 install -Dm0755 target/release/crest-player "$pkgdir/usr/bin/crest-player"
49 install -Dm0755 packaging/linux/crest-player-launch \
50 "$pkgdir/usr/bin/crest-player-launch"
51 install -Dm0644 packaging/linux/io.github.ArvalCode.CrestPlayer.desktop \
52 "$pkgdir/usr/share/applications/io.github.ArvalCode.CrestPlayer.desktop"
53 install -Dm0644 packaging/linux/icons/io.github.ArvalCode.CrestPlayer-512.png \
54 "$pkgdir/usr/share/icons/hicolor/512x512/apps/io.github.ArvalCode.CrestPlayer.png"
55 install -Dm0644 LICENSE "$pkgdir/usr/share/licenses/crest-player/LICENSE"
56 install -Dm0644 README.md "$pkgdir/usr/share/doc/crest-player/README.md"
57}
58

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 01:59:19 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