asus-ec-sensors-plus-dkms

LOW
maintainer Grakul 0 votes scanned 2026-10-25 19:43:04.801001
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: Eugene Flanagin <eflanagin@pm.me>
2#
3# asus-ec-sensors-plus: the Linux asus-ec-sensors hwmon driver plus extra
4# ASUS boards (first: TUF GAMING X870-PRO WIFI7 W NEO), read-only EC access
5# for bank-0 boards, as a DKMS package.
6#
7# Building before a GitHub release exists (or from your own changes):
8# tools/build-local-pkg.sh (packs the git checkout, then runs makepkg)
9
10pkgname=asus-ec-sensors-plus-dkms
11_repo=asus-ec-sensors-plus
12_dkmsname=asus-ec-sensors-plus
13pkgver=0.1.1
14pkgrel=1
15pkgdesc="ASUS motherboard EC sensors (VRM, CPU, motherboard, CPU_OPT fan) for boards not yet in the kernel, e.g. TUF GAMING X870-PRO WIFI7 W NEO; read-only DKMS build of asus-ec-sensors"
16arch=('any')
17url="https://github.com/eugenesflanagin-spec/${_repo}"
18license=('GPL-2.0-only')
19depends=('dkms')
20optdepends=('lm_sensors: the "sensors" command to read the values'
21 'linux-headers: build the module for the stock Arch kernel')
22conflicts=('asus-ec-sensors-dkms-git' 'asus-ec-sensors-x870tuf-dkms')
23source=("${_repo}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
24sha256sums=('0ae073c61d99bb1e735b9697fce9401c609a83ee32b70ae6a123205f7a5adf9b')
25
26prepare() {
27 cd "${_repo}-${pkgver}/module"
28 # the three version numbers must agree, or DKMS keeps an old build
29 # (the "same-version rebuild trap")
30 [ "$(cat VERSION)" = "${pkgver}" ] || { echo "module/VERSION is not ${pkgver}"; return 1; }
31 grep -qx "PACKAGE_VERSION=\"${pkgver}\"" dkms.conf || { echo "dkms.conf version is not ${pkgver}"; return 1; }
32}
33
34package() {
35 cd "${_repo}-${pkgver}"
36 local dest="${pkgdir}/usr/src/${_dkmsname}-${pkgver}"
37 install -Dm644 -t "${dest}" module/asus-ec-sensors.c module/Kbuild module/Makefile module/VERSION module/dkms.conf
38 install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}" README.md CHANGELOG.md CREDITS.md
39 install -Dm755 tools/ec-sample.sh "${pkgdir}/usr/share/doc/${pkgname}/ec-sample.sh"
40 # example only - NOT installed into /etc/modprobe.d (see README "bank_switch")
41 install -Dm644 examples/asus-ec-sensors-plus.conf "${pkgdir}/usr/share/doc/${pkgname}/examples/asus-ec-sensors-plus.conf"
42 install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
43}
44

Scan history

Scanned at (UTC)SeverityRules
2026-10-25 19:43:04 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