ljprint-git

LOW
maintainer RaidonChrome 0 votes scanned 2026-11-06 14:12:45.421656
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

1pkgname=ljprint-git
2pkgver=r9.f637ac6
3pkgrel=1
4pkgdesc="BLE CLI for LuckJingle / DingDang thermal printers (reverse-engineered protocol)"
5arch=('any')
6url="https://github.com/MrSlopster/ljprint"
7license=('GPL-3.0-or-later')
8depends=(
9 'python'
10 'python-bleak'
11 'python-numpy'
12 'python-pillow'
13 'poppler'
14 'python-barcode'
15 'python-qrcode'
16)
17makedepends=(
18 'git'
19 'python-build'
20 'python-hatchling'
21 'python-installer'
22 'python-wheel'
23)
24checkdepends=('python-pytest')
25provides=('ljprint' 'luckjingle-print')
26conflicts=('ljprint' 'luckjingle-print')
27source=("${pkgname%-git}::git+$url.git")
28sha256sums=('SKIP')
29
30pkgver() {
31 cd "${pkgname%-git}"
32 printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
33}
34
35build() {
36 cd "${pkgname%-git}"
37 python -m build --wheel --no-isolation
38}
39
40check() {
41 cd "${pkgname%-git}"
42 PYTHONPATH="$PWD/src" pytest
43}
44
45package() {
46 cd "${pkgname%-git}"
47 python -m installer --destdir="$pkgdir" dist/*.whl
48
49 # Shell completions (cover both the luckjingle-print and ljprint entry points)
50 install -Dm644 src/luckjingle/completions/luckjingle_print.bash \
51 "$pkgdir/usr/share/bash-completion/completions/luckjingle-print"
52 ln -s luckjingle-print "$pkgdir/usr/share/bash-completion/completions/ljprint"
53 install -Dm644 src/luckjingle/completions/_luckjingle_print \
54 "$pkgdir/usr/share/zsh/site-functions/_luckjingle_print"
55
56 install -Dm644 README.md PROTOCOL.md -t "$pkgdir/usr/share/doc/$pkgname"
57}
58

Scan history

Scanned at (UTC)SeverityRules
2026-11-06 14:12:45 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