void-packages/srcpkgs/thinkfan/template

25 lines
704 B
Bash

# Template file for 'thinkfan'
pkgname=thinkfan
version=1.3.1
revision=2
build_style=cmake
configure_args="-DUSE_ATASMART:BOOL=ON"
hostmakedepends="pkg-config"
makedepends="libatasmart-devel yaml-cpp-devel"
short_desc="Simple fan control program"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-3.0-or-later"
homepage="https://github.com/vmatare/thinkfan"
distfiles="https://github.com/vmatare/thinkfan/archive/${version}.tar.gz"
checksum=9466c8c82b7c4333b280fa66445ab26185ffbb4aada6bcb4a164eed742f8d78c
post_install() {
rm -r ${DESTDIR}/usr/share/doc
vsconf examples/thinkfan.yaml
vmkdir usr/lib/modprobe.d
vinstall ${FILESDIR}/thinkpad_acpi.conf 644 usr/lib/modprobe.d
vsv thinkfan
}