tuxcharge-profile

LOW
maintainer okazakee 0 votes scanned 2026-10-19 01:23:43.518710
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: Okazakee <okazakee@proton.me>
2pkgname=tuxcharge-profile
3pkgver=0.1.0
4pkgrel=1
5pkgdesc="Set a TUXEDO laptop charging profile based on the connected Wi-Fi network"
6arch=('x86_64')
7url="https://github.com/Okazakee/tuxcharge-profile"
8license=('MIT')
9depends=('networkmanager')
10makedepends=('rust')
11optdepends=('tuxedo-drivers-dkms: EC charging profile interface, required on TUXEDO hardware')
12source=("$pkgname-$pkgver.tar.gz::https://github.com/Okazakee/tuxcharge-profile/archive/v$pkgver.tar.gz")
13sha256sums=('5c5a82707c75e073c7cd068610af7641ac539f6700334ec577d08dde959d45c6')
14
15build() {
16 cd "$srcdir/$pkgname-$pkgver"
17 # --locked uses the shipped Cargo.lock; not --frozen, so a clean chroot
18 # (empty cargo cache) can still fetch its dependencies.
19 cargo build --release --locked
20}
21
22package() {
23 cd "$srcdir/$pkgname-$pkgver"
24 install -Dm755 target/release/tuxcharge-profile "$pkgdir/usr/bin/tuxcharge-profile"
25 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
26 install -Dm644 config/config.toml.example "$pkgdir/usr/share/$pkgname/config.toml.example"
27 install -Dm644 systemd/tuxcharge-profile.service \
28 "$pkgdir/usr/lib/systemd/system/tuxcharge-profile.service"
29 install -Dm755 systemd/90-tuxcharge-profile \
30 "$pkgdir/usr/lib/NetworkManager/dispatcher.d/90-tuxcharge-profile"
31}
32

Scan history

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