Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions srcpkgs/jupiter-fan-control/files/jupiter-fan-control/finish
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/sh
/usr/share/jupiter-fan-control/fancontrol.py --stop
6 changes: 6 additions & 0 deletions srcpkgs/jupiter-fan-control/files/jupiter-fan-control/run
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh
[ -f /sys/class/dmi/id/bios_version ] || exit 0
[ -f /sys/class/dmi/id/board_name ] || exit 0
export PYTHONUNBUFFERED=1
exec 2>&1
exec /usr/share/jupiter-fan-control/fancontrol.py --run
22 changes: 22 additions & 0 deletions srcpkgs/jupiter-fan-control/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Template file for 'jupiter-fan-control'
pkgname=jupiter-fan-control
version=20260422.2
revision=1
short_desc="Jupiter fan controller"
maintainer="Yurei TZK <me@yureitzk.com>"
license="MIT"

Check failure on line 7 in srcpkgs/jupiter-fan-control/template

View workflow job for this annotation

GitHub Actions / Lint templates

Template Lint

license 'MIT', but no use of vlicense
homepage="https://github.com/evlav/jupiter-fan-control"
distfiles="https://github.com/evlav/jupiter-fan-control/archive/refs/tags/${version}.tar.gz"
checksum="46f42ad8664ac3897dd1b1e6cfa711d9d5d7897046187dfa96e81df5e223e2d9"

depends="python3-yaml"
python_version=3

do_install() {
vmkdir usr/share/jupiter-fan-control
vcopy ${wrksrc}/usr/share/jupiter-fan-control/* usr/share/jupiter-fan-control

chmod 0755 ${DESTDIR}/usr/share/jupiter-fan-control/fancontrol.py

vsv jupiter-fan-control
}
Loading