New package: mbpfan-1.9.1

This commit is contained in:
Pizza-Boy 2016-09-28 16:56:46 -05:00
parent 439d706cdd
commit 7c02170d60
3 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1 @@
It's recommended that you run tests with 'sudo mbpfan -t' after installation.

View file

@ -0,0 +1,3 @@
#!/bin/sh
exec 2>&1
exec chpst -b mbpfan -f

23
srcpkgs/mbpfan/template Normal file
View file

@ -0,0 +1,23 @@
# 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
}