luatos-tools
LOW
maintainer taotieren
0 votes
scanned 2026-09-10 11:20:36.259518
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
3
pkgname=luatos-tools
4
pkgver=0.2.0
5
pkgrel=1
6
pkgdesc="A CLI for building, flashing, and debugging LuatOS firmware on EC618 / EC7xx modules"
7
arch=($CARCH)
8
url="https://github.com/yuzhan-tech/luatos-tools"
9
license=('MIT')
10
provides=(${pkgname})
11
conflicts=(${pkgname})
12
replaces=()
13
depends=(
14
glibc
15
libgcc_s.so
16
systemd-libs
17
)
18
makedepends=(
19
git
20
rust
21
pkgconf
22
)
23
optdepends=(
24
"ch343ser-dkms"
25
"libftdi: A library to talk to FTDI chips"
26
)
27
backup=()
28
options=('!lto')
29
install=
30
source=("${pkgname}::git+${url}.git#tag=v${pkgver}")
31
sha256sums=('c054fcfe9a5a38965aeb08cc65bb2b5afc605f7999911286f4ef956142b1e70c')
32
33
prepare() {
34
git -C "${srcdir}/${pkgname}" clean -dfx
35
cd "${srcdir}/${pkgname}/"
36
cargo update -w
37
cargo fetch --locked --target host-tuple
38
cargo fetch --target "$CARCH-unknown-linux-gnu"
39
}
40
41
build() {
42
cd "${srcdir}/${pkgname}/"
43
44
export RUSTUP_TOOLCHAIN=stable
45
export CARGO_TARGET_DIR=target
46
cargo build --release --all-features
47
}
48
49
# check() {
50
# cd "${srcdir}/${pkgname}/"
51
52
# export RUSTUP_TOOLCHAIN=stable
53
# cargo test --all-features
54
# }
55
56
package() {
57
cd "${srcdir}/${pkgname}/"
58
59
export RUSTUP_TOOLCHAIN=stable
60
install -Dm0644 LICENSE* -t "${pkgdir}/usr/share/licenses/${pkgname}/"
61
install -Dm0644 *.md -t "${pkgdir}/usr/share/doc/${pkgname}/"
62
install -Dm0755 "target/release/${pkgname}" -t "${pkgdir}/usr/bin/"
63
}
64
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-10 11:20:36 | Low | 1 |
| 2026-09-10 09:20:32 | Low | 1 |