# Template file for 'mbpfan'
pkgname=mbpfan
version=2.1.0
revision=1
only_for_archs="x86_64 i686 x86_64-musl i686-musl" # it's Macbook-specific and Macbooks only have these arches.
build_style=gnu-makefile
conf_files="/etc/mbpfan.conf"
short_desc="Macbook Pro Fan Control Daemon"
maintainer="noah <nsawyer1993@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/dgraziotin/mbpfan"
distfiles="https://github.com/dgraziotin/mbpfan/archive/v${version}.tar.gz"
checksum=97e631fda6d71eba989e4403883f74eb89f54e3c30a9c8068c5f7fb1f95d84c8

pre_build() {
	sed -i 's|/usr/sbin|/usr/bin|' Makefile
}

post_install() {
	vsv mbpfan
}
