Package Details: thinkfan 1.2.1-3

Git Clone URL: https://aur.archlinux.org/thinkfan.git (read-only, click to copy)
Package Base: thinkfan
Description: A minimalist fan control program. Supports the sysfs hwmon interface and thinkpad_acpi
Upstream URL: https://github.com/vmatare/thinkfan
Licenses: GPL
Submitter: FALKER
Maintainer: dude
Last Packager: dude
Votes: 172
Popularity: 0.70
First Submitted: 2009-03-02 09:01
Last Updated: 2021-01-11 18:13

Latest Comments

1 2 3 4 5 6 ... Next › Last »

dude commented on 2021-01-11 06:54

Thanks for the patch, it is much appreciated. I will apply it and update the package in the morning.

edacval commented on 2021-01-11 06:47

Some improvements: http://ix.io/2LCC

Dont fail if BUILDDIR in makepkg.conf is not empty.
Installing "$pkgname".service once is enough :)

diff --git a/.SRCINFO b/.SRCINFO
index 4417b42..6c419bc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = thinkfan
    pkgdesc = A minimalist fan control program. Supports the sysfs hwmon interface and thinkpad_acpi
    pkgver = 1.2.1
-   pkgrel = 2
+   pkgrel = 3
    url = https://github.com/vmatare/thinkfan
    install = thinkfan.install
    arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 3c99a7e..17905ea 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@

 pkgname=thinkfan
 pkgver=1.2.1
-pkgrel=2
+pkgrel=3
 pkgdesc="A minimalist fan control program. Supports the sysfs hwmon interface and thinkpad_acpi"
 url="https://github.com/vmatare/thinkfan"
 arch=('i686' 'x86_64')
@@ -37,10 +37,9 @@ package() {
   install -D -m644 examples/* "$pkgdir"/usr/share/doc/"$pkgname"/examples
   install -D -m644 src/"$pkgname".1 "$pkgdir"/usr/share/man/man1
   install -D -m644 src/"$pkgname".conf.5 "$pkgdir"/usr/share/man/man5
-  install -D -m644 ../"$pkgname".service rcscripts/systemd/thinkfan-wakeup.service "$pkgdir"/usr/lib/systemd/system
-  install -D -m644 ../"$pkgname".service rcscripts/systemd/thinkfan-sleep.service "$pkgdir"/usr/lib/systemd/system
+  install -D -m644 "$srcdir/$pkgname".service rcscripts/systemd/thinkfan-{sleep,wakeup}.service "$pkgdir"/usr/lib/systemd/system
   install -D -m644 rcscripts/systemd/override.conf "$pkgdir"/etc/systemd/system/thinkfan.service.d
-  install -D -m644 ../thinkpad_acpi.conf "$pkgdir"/usr/lib/modprobe.d
+  install -D -m644 "$srcdir"/thinkpad_acpi.conf "$pkgdir"/usr/lib/modprobe.d
 }

 # vim:set ts=2 sw=2 noet:

dude commented on 2021-01-09 21:35

@FirstAirBender silentnoodle has added the service file for thinkfan-sleep. Please let me know if there are any other changes you see that need to be made.

silentnoodle commented on 2021-01-08 21:54

@dude all yours

dude commented on 2021-01-08 21:45

@silentnoodle I can if you don't want to.

silentnoodle commented on 2021-01-08 20:42

@dude do you want to maintain this?

dude commented on 2021-01-08 20:18

@silentnoodle How are you going to test if the package works without a thinkpad?

FirstAirBender commented on 2021-01-08 19:21

Missing important configurations from upstream. Please see thinkfan-git as an example. For example, it is missing the thinkfan-sleep.service file

dude commented on 2020-11-18 14:53

@BubuIIC Those packages usually aren't included in makedepends because it's assumed that you have the base-devel group installed if you're building packages

BubuIIC commented on 2020-11-18 14:50

This needs a makedepends on make and pkgconf