This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Mar 19th, 2013  |  syntax: None  |  size: 1.62 KB  |  views: 85  |  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: Jan Frederick Eick <j.f.eick@gmx.de>
  2.  
  3. pkgname=xf86-input-synaptics-mtpatch
  4. pkgver=1.6.3
  5. pkgrel=1
  6. pkgdesc="Synaptics driver for notebook touchpads patched for pass through of multitouch events"
  7. arch=('i686' 'x86_64')
  8. license=('custom')
  9. url="http://xorg.freedesktop.org/"
  10. depends=('libxtst' 'mtdev')
  11. makedepends=('xorg-server-devel>=1.11.99.902' 'libxi' 'libx11' 'resourceproto')
  12. conflicts=('xorg-server<1.11.99.902')
  13. replaces=('synaptics')
  14. provides=('synaptics')
  15. conflicts=('synaptics')
  16. groups=('xorg-drivers' 'xorg')
  17. options=(!libtool)
  18. backup=('etc/X11/xorg.conf.d/10-synaptics.conf')
  19. source=(http://xorg.freedesktop.org/releases/individual/driver/xf86-input-synaptics-${pkgver}.tar.bz2
  20.         https://raw.github.com/jfeick/xf86-input-synaptics-mtpatch/master/send_multitouch_events.patch
  21.         10-synaptics.conf )
  22. sha256sums=('b40c9dbd5f743ff1eb2ac81a23b9676df72e76ed3fa6408de3f8a3a260248604'
  23.             '03dcb9d789f54fa1dc7828fd64a8c30345b864f60886a6551877c911a6c0ff1d'
  24.             'bd506a0545c335faa6da7ec42b3f60f2c09b5ed9e26f03003d6f59be88107ee2'
  25.             )
  26.  
  27. build() {
  28.   cd "${srcdir}/xf86-input-synaptics-${pkgver}"
  29.   patch -Np1 -i ../send_multitouch_events.patch
  30.   ./configure --prefix=/usr
  31.   make
  32. }
  33.  
  34. package() {
  35.   cd "${srcdir}/xf86-input-synaptics-${pkgver}"
  36.   make DESTDIR="${pkgdir}" install
  37.   install -m755 -d "${pkgdir}/etc/X11/xorg.conf.d"
  38.   install -m644 "${srcdir}/10-synaptics.conf" "${pkgdir}/etc/X11/xorg.conf.d/"
  39.   install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
  40.   install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
  41.  
  42.   rm -rf "${pkgdir}/usr/share/X11"
  43. }
clone this paste RAW Paste Data