void-packages/srcpkgs/mbpfan/template
2019-06-02 23:54:58 +02:00

22 lines
608 B
Bash

# Template file for 'mbpfan'
pkgname=mbpfan
version=2.1.1
revision=1
archs="x86_64* i686*" # 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=fabe956ff4fefd1f0740ef6701338ce5de5d4731bf06693123f0724c0d8b2e6b
pre_build() {
sed -i 's|/usr/sbin|/usr/bin|' Makefile
}
post_install() {
vsv mbpfan
}