ectool-rs

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=ectool-rs
4pkgver=0.2.0
5pkgrel=1
6pkgdesc="Reusable flashing and UniLog tools for EigenComm cellular chips"
7arch=($CARCH)
8url="https://github.com/yuzhan-tech/ectool"
9license=('MIT')
10provides=(${pkgname%-rs})
11conflicts=(${pkgname%-rs})
12replaces=()
13depends=(
14 glibc
15 libgcc_s.so
16 systemd-libs
17)
18makedepends=(
19 git
20 rust
21 pkgconf
22)
23optdepends=(
24 "luatos-tools: A CLI for building, flashing, and debugging LuatOS firmware on EC618 / EC7xx modules"
25)
26backup=()
27options=('!lto')
28install=
29source=("${pkgname%-rs}::git+${url}.git#tag=v${pkgver}")
30sha256sums=('e0837e194221ac8b0f6d351f32be5cea364b9275faa0a2ce26ebc987445a3fe0')
31
32prepare() {
33 git -C "${srcdir}/${pkgname%-rs}" clean -dfx
34 cd "${srcdir}/${pkgname%-rs}/"
35 cargo update -w
36 cargo fetch --locked --target host-tuple
37 cargo fetch --target "$CARCH-unknown-linux-gnu"
38}
39
40build() {
41 cd "${srcdir}/${pkgname%-rs}/"
42
43 export RUSTUP_TOOLCHAIN=stable
44 export CARGO_TARGET_DIR=target
45 cargo build --release --all-features
46}
47
48# check() {
49# cd "${srcdir}/${pkgname}/"
50
51# export RUSTUP_TOOLCHAIN=stable
52# cargo test --all-features
53# }
54
55package() {
56 cd "${srcdir}/${pkgname%-rs}/"
57
58 export RUSTUP_TOOLCHAIN=stable
59 install -Dm0644 LICENSE* -t "${pkgdir}/usr/share/licenses/${pkgname}/"
60 install -Dm0644 *.md -t "${pkgdir}/usr/share/doc/${pkgname}/"
61 install -Dm0755 "target/release/${pkgname%-rs}" -t "${pkgdir}/usr/bin/"
62 install -vDm644 /dev/stdin ${pkgdir}/usr/lib/udev/rules.d/71-eigencomm.rules <<EOF
63# This file should be copied to /etc/udev/rules.d on GNU/Linux OS and derived
64# Add permission to all user to have complete acces to eeprom programmers
65# EigenComm
66SUBSYSTEM=="usb", ATTRS{idVendor}=="17d1", ATTRS{idProduct}=="0001", TAG+="uaccess"
67EOF
68}
69

Scan history

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