Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Arch Linux psmouse-alps Kernel 3.16

By: a guest on Dec 23rd, 2011  |  syntax: Bash  |  size: 2.30 KB  |  hits: 175  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Tai Chi Minh Ralph Eastwood <tcmreastwood@gmail.com>
  2.  
  3. pkgname=('psmouse-alps')
  4. _kernelname=${pkgname#linux}
  5. _basekernel=3.1
  6. _patchver=${_basekernel}.6
  7. pkgver=0.10
  8. pkgrel=1
  9. pkgdesc="psmouse kernel module with support with alps"
  10. arch=('i686' 'x86_64')
  11. url="http://www.kernel.org/"
  12. license=('GPL2')
  13. makedepends=('linux-headers')
  14. options=('!strip')
  15. install=psmouse.install
  16. source=("http://www.kernel.org/pub/linux/kernel/v3.0/linux-${_basekernel}.tar.bz2"
  17. "http://www.kernel.org/pub/linux/kernel/v3.0/patch-${_patchver}.bz2"
  18. http://people.canonical.com/~sforshee/alps-touchpad/psmouse-alps-0.10/0001-Input-ALPS-Move-protocol-information-to-Documentatio.patch
  19. http://people.canonical.com/~sforshee/alps-touchpad/psmouse-alps-0.10/0002-Input-psmouse-Add-PSMOUSE_CMD_RESET_WRAP.patch
  20. http://people.canonical.com/~sforshee/alps-touchpad/psmouse-alps-0.10/0003-Input-ALPS-Add-protocol-version-field-in-alps_model_.patch
  21. http://people.canonical.com/~sforshee/alps-touchpad/psmouse-alps-0.10/0004-Input-ALPS-Remove-assumptions-about-packet-size.patch
  22. http://people.canonical.com/~sforshee/alps-touchpad/psmouse-alps-0.10/0005-Input-ALPS-Add-support-for-protocol-versions-3-and-4.patch
  23. http://people.canonical.com/~sforshee/alps-touchpad/psmouse-alps-0.10/0006-Input-ALPS-Add-semi-MT-support-for-v3-protocol.patch
  24. http://people.canonical.com/~sforshee/alps-touchpad/psmouse-alps-0.10/0007-Input-ALPS-Add-documentation-for-protocol-versions-3.patch
  25. http://people.canonical.com/~sforshee/alps-touchpad/psmouse-alps-0.10/0008-Input-ALPS-dump-raw-packet-data.patch
  26. )
  27.  
  28. build() {
  29. cd "${srcdir}/linux-${_basekernel}"
  30. for i in ${srcdir}/0*.patch
  31. do
  32. echo "patch -Np1 -i $i"
  33. patch -Np1 -i $i || true
  34. done
  35. patch -p1 -i "${srcdir}/patch-${_patchver}"
  36. cd drivers/input/mouse
  37. make -C /usr/src/linux-`uname -r`/ M=`pwd` psmouse.ko
  38. gzip -9 psmouse.ko
  39. install -D -m 0644 psmouse.ko.gz ${pkgdir}/lib/modules/`uname -r`/updates/drivers/input/mouse/psmouse.ko.gz
  40. }
  41. md5sums=('8d43453f8159b2332ad410b19d86a931'
  42. 'b815dda0a05f7774a0ed0b705b8cfd4c'
  43. 'a62122e3ca9c2ef9114556a731bbee13'
  44. 'c9c2ef0a00cb00fad69d58f380c5912d'
  45. 'c3333a937d556546134553e06b75d6d4'
  46. 'd3ae923976f06886f4fea0c725c92859'
  47. '0ea5a13cfd082e2ecaea287a6abc15b8'
  48. 'ed097df3d3de8512545698a4a0be76b8'
  49. '9843fa870c234ff007ba2fa1d42d48b2'
  50. 'a1e2dbf239201d307d392543bc0e58ba')