luatos-tools-git

LOW
maintainer taotieren 0 votes scanned 2026-09-10 11:20:36.259518
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: taotieren <admin@taotieren.com>
2
3pkgname=luatos-tools-git
4pkgver=0.3.0.r0.g98048da
5pkgrel=1
6pkgdesc="A CLI for building, flashing, and debugging LuatOS firmware on EC618 / EC7xx modules"
7arch=($CARCH)
8url="https://github.com/yuzhan-tech/luatos-tools"
9license=('MIT')
10provides=(${pkgname%-git})
11conflicts=(${pkgname%-git})
12replaces=()
13depends=(
14 glibc
15 libgcc_s.so
16 systemd-libs
17)
18makedepends=(
19 git
20 rust
21 pkgconf
22)
23optdepends=(
24 "ch343ser-dkms"
25 "libftdi: A library to talk to FTDI chips"
26)
27backup=()
28options=('!lto')
29install=
30source=("${pkgname}::git+${url}.git")
31sha256sums=('SKIP')
32
33pkgver() {
34 cd "${srcdir}/${pkgname}"
35 (
36 set -o pipefail
37 git describe --long --tag --abbrev=7 2>/dev/null | sed 's/^v//g;s/\([^-]*-g\)/r\1/;s/-/./g' ||
38 printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
39 )
40}
41
42prepare() {
43 git -C "${srcdir}/${pkgname}" clean -dfx
44 cd "${srcdir}/${pkgname}/"
45 cargo update -w
46 cargo fetch --locked --target host-tuple
47 cargo fetch --target "$CARCH-unknown-linux-gnu"
48}
49
50build() {
51 cd "${srcdir}/${pkgname}/"
52
53 export RUSTUP_TOOLCHAIN=stable
54 export CARGO_TARGET_DIR=target
55 cargo build --release --all-features
56}
57
58# check() {
59# cd "${srcdir}/${pkgname}/"
60
61# export RUSTUP_TOOLCHAIN=stable
62# cargo test --all-features
63# }
64
65package() {
66 cd "${srcdir}/${pkgname}/"
67
68 export RUSTUP_TOOLCHAIN=stable
69 install -Dm0644 LICENSE* -t "${pkgdir}/usr/share/licenses/${pkgname}/"
70 install -Dm0644 *.md -t "${pkgdir}/usr/share/doc/${pkgname}/"
71 install -Dm0755 "target/release/${pkgname%-git}" -t "${pkgdir}/usr/bin/"
72}
73

Scan history

Scanned at (UTC)SeverityRules
2026-09-10 11:20:36 Low 1
2026-09-10 09:20: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