summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Lönnqvist2021-01-08 23:07:09 +0200
committerBen Lönnqvist2021-01-08 23:07:09 +0200
commitc654b848d36006f3219ac55cb383d5455005924b (patch)
tree450e4324cd09eafe92911f918ae3c2cdce16460b
parent684f7b2294861ebf78152f7ac709b5fabc8f77a2 (diff)
downloadaur-c654b848d36006f3219ac55cb383d5455005924b.tar.gz
updpkg: thinkfan 1.2.1-2
- Added missing service file
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD5
-rw-r--r--thinkfan.service3
3 files changed, 7 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9eebbbb99651..4417b42cbb2f 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 = 1
+ pkgrel = 2
url = https://github.com/vmatare/thinkfan
install = thinkfan.install
arch = i686
@@ -16,7 +16,7 @@ pkgbase = thinkfan
source = thinkfan.service
source = thinkpad_acpi.conf
sha256sums = a03fc0ed5bee33a1576c631e327fdd10f89fd906c5a413a8b01bd73d3fd97d25
- sha256sums = 5b743256afc30d8a2db840f16b03871abbe0a033dd1b0d3f1b7d5a544808271f
+ sha256sums = 625730e33fae251f3a1cc8259b222089fb45ada08e9cf5c816ea1cde6560e989
sha256sums = 28874576641b3cc1aa486e1bc9ed40eadfe8b13d6d3014016e31fedc5dc5195f
pkgname = thinkfan
diff --git a/PKGBUILD b/PKGBUILD
index 9cf080c79ca4..3c99a7e447e1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=thinkfan
pkgver=1.2.1
-pkgrel=1
+pkgrel=2
pkgdesc="A minimalist fan control program. Supports the sysfs hwmon interface and thinkpad_acpi"
url="https://github.com/vmatare/thinkfan"
arch=('i686' 'x86_64')
@@ -17,7 +17,7 @@ source=("$pkgname-$pkgver.tar.gz::https://github.com/vmatare/$pkgname/archive/$p
'thinkfan.service'
'thinkpad_acpi.conf')
sha256sums=('a03fc0ed5bee33a1576c631e327fdd10f89fd906c5a413a8b01bd73d3fd97d25'
- '5b743256afc30d8a2db840f16b03871abbe0a033dd1b0d3f1b7d5a544808271f'
+ '625730e33fae251f3a1cc8259b222089fb45ada08e9cf5c816ea1cde6560e989'
'28874576641b3cc1aa486e1bc9ed40eadfe8b13d6d3014016e31fedc5dc5195f')
install=thinkfan.install
@@ -38,6 +38,7 @@ package() {
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 rcscripts/systemd/override.conf "$pkgdir"/etc/systemd/system/thinkfan.service.d
install -D -m644 ../thinkpad_acpi.conf "$pkgdir"/usr/lib/modprobe.d
}
diff --git a/thinkfan.service b/thinkfan.service
index e8a218161337..d23218aad238 100644
--- a/thinkfan.service
+++ b/thinkfan.service
@@ -11,4 +11,5 @@ ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target
-Also=thinkfan-wakeup.service
+Also=thinkfan-sleep.service
+Also=thinkfan-wakeup.service \ No newline at end of file