Find file
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (26 sloc) 1 KB
# Maintainer: nblock <nblock [/at\] archlinux DOT us>
# Contributor: Frederik Alkærsig (FALKER) <havnelisten AT gmail.com>
# Contributor: William Giokas (KaiSforza) <1007380@gmail.com>
pkgname=thinkfan
pkgver=0.8.1
pkgrel=6
pkgdesc="A minimalist fan control program. Supports the sysfs hwmon interface and thinkpad_acpi"
arch=('i686' 'x86_64')
license=('GPL')
source=(http://downloads.sourceforge.net/project/${pkgname}/${pkgname}-${pkgver}.tar.gz
"thinkfan.service")
url="http://thinkfan.sourceforge.net/"
md5sums=('aaa6c88bab3b43756ac5a1638622828c'
'0197bde7c3d3b64d34635ead78cf3437')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
install -D -m755 ${pkgname} ${pkgdir}/usr/bin/${pkgname}
install -D -m644 README ${pkgdir}/usr/share/doc/${pkgname}/README
install -D -m644 ${srcdir}/thinkfan.service ${pkgdir}/usr/lib/systemd/system/thinkfan.service
cp -r examples ${pkgdir}/usr/share/doc/${pkgname}/
}
# vim:set ts=2 sw=2 noet: