updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / synaptics-mod / PKGBUILD
blob7acfaf835056163338b1aae0c9c050fd9bacf515
1 # Contributor: Pieter Kelchtermans <pieter.kelchtermans@gmail.com>
2 pkgname=synaptics-mod
3 pkgver=1
4 pkgrel=2
5 pkgdesc="Kernel module for synaptics touchpads that ignores misinterpretable coordinates"
6 arch=(i686 x86_64)
7 url="http://www.kernel.org"
8 license=('GPL')
9 depends=('kernel26>=2.6.27')
10 install=${pkgname}.install
11 source=(psmouse-base.c
12                 psmouse.h
13                 synaptics.c
14                 synaptics.h
15                 Makefile
16                 coordinates.patch
17                 )
18 md5sums=('')
20 _kernver=2.6.27-ARCH
22 build() {
23                 cd $startdir/src/
24                 patch < coordinates.patch || return 1
25                 make || return 1
26                 install -D psmouse.ko $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/input/mouse/psmouse.ko.new || return 1