diff --git a/srcpkgs/mbpfan/template b/srcpkgs/mbpfan/template index 475033859d1..e90a206d838 100644 --- a/srcpkgs/mbpfan/template +++ b/srcpkgs/mbpfan/template @@ -1,6 +1,6 @@ # Template file for 'mbpfan' pkgname=mbpfan -version=2.0.2 +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 @@ -9,12 +9,11 @@ short_desc="Macbook Pro Fan Control Daemon" maintainer="noah " license="GPL-3.0-or-later" homepage="https://github.com/dgraziotin/mbpfan" -distfiles="${homepage}/archive/v${version}.tar.gz" -checksum=9d0530f39c029f2c932aafa6cf666ded805961e09f4007614971b29834d72e72 +distfiles="https://github.com/dgraziotin/mbpfan/archive/v${version}.tar.gz" +checksum=97e631fda6d71eba989e4403883f74eb89f54e3c30a9c8068c5f7fb1f95d84c8 -do_install() { - vbin bin/mbpfan - vconf mbpfan.conf +pre_build() { + sed -i 's|/usr/sbin|/usr/bin|' Makefile } post_install() {