aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-03-03 09:03:00 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2015-06-01 16:03:39 +0200
commit96d9397efd893f95114f4d5957d02d5d8c076171 (patch)
treedd237e1e44ef2bffe657fda40998e78f4c220543
parent51021a0219808573e9804518cefa4285b9f4fe11 (diff)
downloadpkgbuilds-96d9397efd893f95114f4d5957d02d5d8c076171.tar.xz
thinkfan: updpkg
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD23
2 files changed, 16 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 443513f..b5f4cef 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,20 +1,20 @@
# Generated by makepkg 4.2.1
-# Mon Jun 1 14:56:29 UTC 2015
+# Mon Jun 1 14:56:30 UTC 2015
pkgbase = thinkfan
pkgdesc = A minimalist fan control program. Supports the sysfs hwmon interface and thinkpad_acpi
- pkgver = 0.8.1
- pkgrel = 7
+ pkgver = 0.9.1
+ pkgrel = 1
url = http://thinkfan.sourceforge.net/
install = thinkfan.install
arch = i686
arch = x86_64
license = GPL
- source = http://downloads.sourceforge.net/project/thinkfan/thinkfan-0.8.1.tar.gz
+ source = http://downloads.sourceforge.net/project/thinkfan/thinkfan-0.9.1.tar.gz
source = thinkfan.install
source = thinkfan.service
source = thinkpad_acpi.conf
- md5sums = aaa6c88bab3b43756ac5a1638622828c
- md5sums = 76553f63dc55a6e09a429bb4e28eb649
+ md5sums = a981142f2c52ee4b0af69d5abbe03ced
+ md5sums = 4d532f96317d54c48d9cd1139eac747f
md5sums = 0197bde7c3d3b64d34635ead78cf3437
md5sums = bca920d066846e5811a2465aefa13012
diff --git a/PKGBUILD b/PKGBUILD
index 0471637..77b38ac 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,9 +1,6 @@
-# Maintainer: nblock <nblock [/at\] archlinux DOT us>
-# Contributor: Frederik Alkærsig (FALKER) <havnelisten AT gmail.com>
-
pkgname=thinkfan
-pkgver=0.8.1
-pkgrel=7
+pkgver=0.9.1
+pkgrel=1
pkgdesc="A minimalist fan control program. Supports the sysfs hwmon interface and thinkpad_acpi"
arch=('i686' 'x86_64')
license=('GPL')
@@ -11,21 +8,21 @@ source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver.tar.
'thinkfan.install' 'thinkfan.service' 'thinkpad_acpi.conf')
url='http://thinkfan.sourceforge.net/'
install=thinkfan.install
-md5sums=('aaa6c88bab3b43756ac5a1638622828c'
- '76553f63dc55a6e09a429bb4e28eb649'
- '0197bde7c3d3b64d34635ead78cf3437'
- 'bca920d066846e5811a2465aefa13012')
+md5sums=('a981142f2c52ee4b0af69d5abbe03ced'
+ '4d532f96317d54c48d9cd1139eac747f'
+ '0197bde7c3d3b64d34635ead78cf3437'
+ 'bca920d066846e5811a2465aefa13012')
build() {
cd $pkgname-$pkgver
- make
+ cmake . -DUSE_ATASMART:BOOL=ON
+ sed -i "s|/usr|$pkgdir/usr|" cmake_install.cmake
+ cmake --build .
}
package() {
cd $pkgname-$pkgver
- install -D -m755 $pkgname $pkgdir/usr/bin/$pkgname
+ make install
install -D -m644 $srcdir/thinkpad_acpi.conf $pkgdir/etc/modprobe.d/thinkpad_acpi.conf
- install -D -m644 README $pkgdir/usr/share/doc/$pkgname/README
install -D -m644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system/$pkgname.service
- cp -r examples $pkgdir/usr/share/doc/$pkgname/
}