codj

LOW
maintainer rotko 0 votes scanned 2026-11-02 06:02:22.605508
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: rotko <hq@rotko.net>
2pkgname=codj
3pkgver=0.2.0
4pkgrel=1
5pkgdesc="Vim-style terminal music player and keyboard DJ (TUI for codjd)"
6arch=('x86_64' 'aarch64')
7url="https://github.com/hitchho/codj"
8license=('GPL-3.0-or-later')
9depends=('codjd' 'luajit' 'gcc-libs' 'glibc')
10makedepends=('cargo' 'pkgconf')
11# reqwest's rustls pulls in ring; makepkg's -flto in CFLAGS breaks its C objects at link time.
12# The crate's release profile does its own LTO.
13options=('!lto')
14source=("$pkgname-$pkgver.tar.gz::https://github.com/hitchho/codj/archive/v$pkgver.tar.gz")
15sha256sums=('d06885531c4a83787391ed5206a1631d0477219571b048ac041f04432e5980f7')
16
17prepare() {
18 cd "$pkgname-$pkgver"
19 export RUSTUP_TOOLCHAIN=stable
20 cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
21}
22
23build() {
24 cd "$pkgname-$pkgver"
25 export RUSTUP_TOOLCHAIN=stable
26 export CARGO_TARGET_DIR=target
27 cargo build --frozen --release
28}
29
30package() {
31 cd "$pkgname-$pkgver"
32 install -Dm755 target/release/codj -t "$pkgdir/usr/bin/"
33 install -Dm644 LICENCE -t "$pkgdir/usr/share/licenses/$pkgname/"
34 install -Dm644 README.md DOCS.md config.example.toml -t "$pkgdir/usr/share/doc/$pkgname/"
35 cp -r examples "$pkgdir/usr/share/doc/$pkgname/examples"
36}
37

Scan history

Scanned at (UTC)SeverityRules
2026-11-02 06:02:22 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