23 lines
820 B
Bash
23 lines
820 B
Bash
# Template file for 'mbpfan'
|
|
pkgname=mbpfan
|
|
version=1.9.1
|
|
revision=1
|
|
only_for_archs="x86_64 i686 x86_64-musl i686-musl" #Package is restricted to these arches because it's Macbook-specific and Macbooks only have these arches.
|
|
build_style=gnu-makefile
|
|
nopie="YES" #Hardening is disabled because it causes buffer overflow errors with this version of mbpfan. A more elegant solution would be patching the source files themselves.
|
|
short_desc="Macbook Pro Fan Control Daemon"
|
|
maintainer='noah <nsawyer1993@gmail.com>'
|
|
license="GPL-3"
|
|
conf_files="/etc/mbpfan.conf"
|
|
homepage="https://github.com/dgraziotin/mbpfan"
|
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
|
checksum="a7cf850a393ebfce21427b992436b84cc4b20e1cb8d673d45d2c8b991c69e68c"
|
|
|
|
do_install() {
|
|
vbin bin/mbpfan
|
|
vconf mbpfan.conf
|
|
}
|
|
|
|
post_install() {
|
|
vsv mbpfan
|
|
}
|