diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2016-10-21 17:48:05 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2016-10-21 17:48:05 -0500 |
commit | 4ae60f7a05ee267851e35dd65f7e783288e19290 (patch) | |
tree | 9b347738c1141ec78e02660b1d3ad1bde39aba62 /pcr/thinkfan | |
parent | dd024f8a549adc0e937c09522ce69caff71390a7 (diff) | |
download | abslibre-4ae60f7a05ee267851e35dd65f7e783288e19290.tar.gz abslibre-4ae60f7a05ee267851e35dd65f7e783288e19290.tar.bz2 abslibre-4ae60f7a05ee267851e35dd65f7e783288e19290.zip |
thinkfan-0.9.3-1: updating version
Diffstat (limited to 'pcr/thinkfan')
-rw-r--r-- | pcr/thinkfan/PKGBUILD | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/pcr/thinkfan/PKGBUILD b/pcr/thinkfan/PKGBUILD index 1e21ba0ab..6a9f587e1 100644 --- a/pcr/thinkfan/PKGBUILD +++ b/pcr/thinkfan/PKGBUILD @@ -3,8 +3,8 @@ # Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> pkgname=thinkfan -pkgver=0.9.2 -pkgrel=3 +pkgver=0.9.3 +pkgrel=1 pkgdesc="A minimalist fan control program. Supports the sysfs hwmon interface and thinkpad_acpi" url="http://thinkfan.sourceforge.net/" arch=('i686' 'x86_64') @@ -15,24 +15,28 @@ license=('GPL') source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver.tar.gz 'thinkfan.service' 'thinkpad_acpi.conf') -sha256sums=('90daa0f2db221e1d5085d7f25cb6c63608d174db2987478c340e9523e652af79' +sha256sums=('b61c634996c450445d7e440bf41f7adcda86506063f832afa40d44e01061e45b' '90f0270b4044a41315feb7bc1447ce4a0d5ee50178682e9a1d2a36b07c1a494f' '28874576641b3cc1aa486e1bc9ed40eadfe8b13d6d3014016e31fedc5dc5195f') install=thinkfan.install build() { + cd "$srcdir/$pkgname-$pkgver" + cmake . -DCMAKE_INSTALL_PREFIX=/usr -DUSE_ATASMART:BOOL=ON make } package() { + cd "$srcdir/$pkgname-$pkgver" + install -d -m755 "$pkgdir"/usr/{bin,lib/{modprobe.d,systemd/system},share/{doc/"$pkgname"/{,examples},man/man1}} install -D -m755 "$pkgname" "$pkgdir"/usr/bin - install -D -m644 thinkpad_acpi.conf "$pkgdir"/usr/lib/modprobe.d install -D -m644 README NEWS "$pkgdir"/usr/share/doc/"$pkgname" install -D -m644 examples/* "$pkgdir"/usr/share/doc/"$pkgname"/examples - install -D -m644 "$pkgname".service "$pkgdir"/usr/lib/systemd/system - install -D -m644 "$pkgname".1 "$pkgdir"/usr/share/man/man1 + install -D -m644 src/"$pkgname".1 "$pkgdir"/usr/share/man/man1 + install -D -m644 ../"$pkgname".service "$pkgdir"/usr/lib/systemd/system + install -D -m644 ../thinkpad_acpi.conf "$pkgdir"/usr/lib/modprobe.d } # vim:set ts=2 sw=2 noet: |