diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-05-16 02:06:46 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-05-16 02:06:46 -0500 |
commit | fb7509d0e9d6b589c3e172ddefce2d3364363cfa (patch) | |
tree | 272666e323a3dd8744501d48634f95bad2b59acf | |
parent | 01940551c89b3e3e9ad0e32726b82fdc86203e38 (diff) |
thinkfan-0.9.2-2: rebuild
-rw-r--r-- | pcr/thinkfan/PKGBUILD | 12 | ||||
-rw-r--r-- | pcr/thinkfan/thinkfan.service | 10 |
2 files changed, 14 insertions, 8 deletions
diff --git a/pcr/thinkfan/PKGBUILD b/pcr/thinkfan/PKGBUILD index 9af51d9c7..a75a6500b 100644 --- a/pcr/thinkfan/PKGBUILD +++ b/pcr/thinkfan/PKGBUILD @@ -1,13 +1,15 @@ -# Maintainer (Arch): nblock <nblock [/at\] archlinux DOT us> +# Contributor (Arch): nblock <nblock [/at\] archlinux DOT us> # Contributor (Arch): Frederik Alkærsig (FALKER) <havnelisten AT gmail.com> +# Maintainer : Omar Vega Ramos <ovruni@gnu.org.pe> pkgname=thinkfan pkgver=0.9.2 -pkgrel=1 +pkgrel=2 pkgdesc="A minimalist fan control program. Supports the sysfs hwmon interface and thinkpad_acpi" -arch=('i686' 'x86_64' 'mips64el') +arch=('i686' 'x86_64') makedepends=('cmake') depends=('libatasmart') +optdepends=('lm_sensors: hwmon support') license=('GPL') source=(http://downloads.sourceforge.net/project/${pkgname}/${pkgname}-${pkgver}.tar.gz "thinkfan.install" "thinkfan.service" "thinkpad_acpi.conf") @@ -15,7 +17,7 @@ url="http://thinkfan.sourceforge.net/" install="thinkfan.install" md5sums=('4292633aebd61b91f04cd332c4d3e181' '76553f63dc55a6e09a429bb4e28eb649' - '0197bde7c3d3b64d34635ead78cf3437' + '656b3721d0fccd770f615531f50ce0aa' 'bca920d066846e5811a2465aefa13012') build() { @@ -29,7 +31,7 @@ package() { install -D -m755 ${pkgname} ${pkgdir}/usr/bin/${pkgname} install -D -m644 ${srcdir}/thinkpad_acpi.conf ${pkgdir}/usr/lib/modprobe.d/thinkpad_acpi.conf install -D -m644 README ${pkgdir}/usr/share/doc/${pkgname}/README - install -D -m644 NEWS ${pkgdir}/usr/share/doc/${pkgname}/README + install -D -m644 NEWS ${pkgdir}/usr/share/doc/${pkgname}/NEWS install -D -m644 ${srcdir}/${pkgname}.service ${pkgdir}/usr/lib/systemd/system/${pkgname}.service install -D -m644 ${pkgname}.1 ${pkgdir}/usr/share/man/man1/${pkgname}.1 cp -r examples ${pkgdir}/usr/share/doc/${pkgname}/ diff --git a/pcr/thinkfan/thinkfan.service b/pcr/thinkfan/thinkfan.service index e7c8badd1..5618aed6f 100644 --- a/pcr/thinkfan/thinkfan.service +++ b/pcr/thinkfan/thinkfan.service @@ -1,9 +1,13 @@ [Unit] -Description=Thinkfan Daemon - simple and lightweight fan control program -After=basic.target +Description=simple and lightweight fan control program +Wants=lm_sensors.service +After=lm_sensors.service [Service] -ExecStart=/usr/bin/thinkfan -n -s5 -q +Type=forking +ExecStart=/usr/bin/thinkfan +PIDFile=/var/run/thinkfan.pid +ExecReload=/usr/bin/kill -HUP $MAINPID [Install] WantedBy=multi-user.target |