# Template file for 'fan2go'
pkgname=fan2go
version=0.9.0
revision=1
build_style=go
go_import_path="github.com/markusressel/fan2go"
go_ldflags="-X ${go_import_path}/cmd/global.Version=${version}"
makedepends="libsensors-devel"
short_desc="Dynamic fan speed control daemon"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="AGPL-3.0-or-later"
homepage="https://github.com/markusressel/fan2go"
distfiles="https://github.com/markusressel/fan2go/archive/refs/tags/${version}.tar.gz"
checksum=a800923a6373fc380da513b623786e8a8f81edecedb62807f6fdbfab0fd5c792

post_install() {
	vsconf fan2go.yaml
	vlicense LICENSE
}
