Merge pull request #4853 from Pizza-Boy/mbpfan-branch
New package: mbpfan-1.9.1
This commit is contained in:
commit
c11bc23c2d
3 changed files with 27 additions and 0 deletions
1
srcpkgs/mbpfan/INSTALL.msg
Normal file
1
srcpkgs/mbpfan/INSTALL.msg
Normal file
|
@ -0,0 +1 @@
|
|||
It's recommended that you run tests with 'sudo mbpfan -t' after installation.
|
3
srcpkgs/mbpfan/files/mbpfan/run
Normal file
3
srcpkgs/mbpfan/files/mbpfan/run
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
exec chpst -b mbpfan -f
|
23
srcpkgs/mbpfan/template
Normal file
23
srcpkgs/mbpfan/template
Normal 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
|
||||
}
|
Loading…
Reference in a new issue