New package: zcfan-1.4.0

This commit is contained in:
worf1337 2025-01-20 12:44:32 +11:00 committed by Duncan Overbruck
parent 5c1052a876
commit d4411d15fd
3 changed files with 23 additions and 0 deletions

View file

@ -0,0 +1,3 @@
You must load thinkpad_acpi with fan_control=1 to use zcfan.
echo options thinkpad_acpi fan_control=1 > /etc/modprobe.d/99-fancontrol.conf

3
srcpkgs/zcfan/files/zcfan/run Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
exec 2>&1
exec zcfan

17
srcpkgs/zcfan/template Normal file
View file

@ -0,0 +1,17 @@
# Template file for 'zcfan'
pkgname=zcfan
version=1.4.0
revision=1
build_style=gnu-makefile
short_desc="Zero-configuration fan control for ThinkPad"
maintainer="Worf <me@worf.win>"
license="MIT"
homepage="https://github.com/cdown/zcfan"
distfiles="https://github.com/cdown/zcfan/archive/refs/tags/${version}.tar.gz"
checksum=33e4944303c778581b6471c79e1273a5668917542e412c8125f028133b684718
post_install() {
vsv zcfan
vlicense LICENSE
vdoc ${FILESDIR}/README.voidlinux
}