codj
LOW
maintainer rotko
0 votes
scanned 2026-11-02 06:02:22.605508
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>
2
pkgname=codj
3
pkgver=0.2.0
4
pkgrel=1
5
pkgdesc="Vim-style terminal music player and keyboard DJ (TUI for codjd)"
6
arch=('x86_64' 'aarch64')
7
url="https://github.com/hitchho/codj"
8
license=('GPL-3.0-or-later')
9
depends=('codjd' 'luajit' 'gcc-libs' 'glibc')
10
makedepends=('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.
13
options=('!lto')
14
source=("$pkgname-$pkgver.tar.gz::https://github.com/hitchho/codj/archive/v$pkgver.tar.gz")
15
sha256sums=('d06885531c4a83787391ed5206a1631d0477219571b048ac041f04432e5980f7')
16
17
prepare() {
18
cd "$pkgname-$pkgver"
19
export RUSTUP_TOOLCHAIN=stable
20
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
21
}
22
23
build() {
24
cd "$pkgname-$pkgver"
25
export RUSTUP_TOOLCHAIN=stable
26
export CARGO_TARGET_DIR=target
27
cargo build --frozen --release
28
}
29
30
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-11-02 06:02:22 | Low | 1 |