updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / eeepc-linux / PKGBUILD
blobb8a14f51c6d0bf8782b62ff4f52ed33d7a553291
1 # Maintainer: Kitty Luckshot <secacat@gmail.com>
3 pkgname=eeepc-linux
4 pkgver=0.39a1
5 pkgrel=4
6 pkgdesc="Eeepc-linux is a kernel module that allows control of the fan and fsb speeds."
7 arch=('i686')
8 url="http://code.google.com/p/eeepc-linux/"
9 license=('GPL')
10 makedepends=('pkgconfig' 'kernel26-headers')
11 install=eeepc-linux.install
12 # Actually from http://eeepc-linux.googlecode.com/issues/attachment?aid=-7397919136469029828&name=asus_eee-$pkgver.tar.gz
13 # Doesn't really work, hence the sources are added to the package
14 source=('asus_eee-0.39a1.tar.gz'
15         'asus_eee-0.39a1-spinlock-kernel-2.6.39.patch')
16 md5sums=('46de95a6d0b333e222fc3e3a02f0e17b'
17          'c8555c3b0752124c3ab5775fce97616c')
19 build() {
20   cd $srcdir/asus_eee-$pkgver
22   msg "Patching..."
23   for i in $startdir/*.patch; do
24     patch -Np1 -i "$i" || return 1
25   done
27   make || return 1
28   install -Dm644 $srcdir/asus_eee-$pkgver/asus_eee.ko $pkgdir/lib/modules/$(uname -r)/kernel/acpi/asus_eee.ko || return 1