updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / nv50-thermal / PKGBUILD
blob28fd91d2ea9a1e49226391cf728e41715b069d76
1 # Maintainer: karabaja4 <karabaja4@gmail.com>
3 pkgname=nv50-thermal
4 pkgver=1.5
5 pkgrel=1
6 pkgdesc="NV50 thermal module"
7 arch=('i686' 'x86_64')
8 url="http://fly.srk.fer.hr/~dule/thermal/"
9 license=('GPL')
10 depends=('linux')
11 makedepends=('linux-headers')
12 install=nv50-thermal.install
13 source=(http://fly.srk.fer.hr/~dule/thermal/nv50_thermal.tar.gz)
14 md5sums=('15f808459ae24c3b649cc24ae5d2faac')
15 _kernver=`uname -r`
17 build() {
18         cd $srcdir/nv50_thermal/
19         make
20         mkdir -p $pkgdir/lib/modules/$_kernver/kernel/drivers/misc/
21         mv nv50_thermal.ko $pkgdir/lib/modules/$_kernver/kernel/drivers/misc/
22         find "${pkgdir}" -name '*.ko' -exec gzip -9 {} \;