diff options
author | root <root@rshg054.dnsready.net> | 2012-02-13 23:15:14 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-02-13 23:15:14 +0000 |
commit | 16e845de1bbf76ab48a02bfaa21730f45e6afaaa (patch) | |
tree | 29a9ad28230397e62bdb0ab5cd970763a6033f69 /testing/xf86-input-synaptics | |
parent | 0020cc650ff973f269f23332e82fc097254d0adc (diff) |
Mon Feb 13 23:15:14 UTC 2012
Diffstat (limited to 'testing/xf86-input-synaptics')
-rw-r--r-- | testing/xf86-input-synaptics/10-synaptics.conf | 9 | ||||
-rw-r--r-- | testing/xf86-input-synaptics/PKGBUILD | 48 |
2 files changed, 57 insertions, 0 deletions
diff --git a/testing/xf86-input-synaptics/10-synaptics.conf b/testing/xf86-input-synaptics/10-synaptics.conf new file mode 100644 index 000000000..81a90fb81 --- /dev/null +++ b/testing/xf86-input-synaptics/10-synaptics.conf @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "touchpad catchall" + Driver "synaptics" + MatchIsTouchpad "on" + MatchDevicePath "/dev/input/event*" + Option "TapButton1" "1" + Option "TapButton2" "2" + Option "TapButton3" "3" +EndSection diff --git a/testing/xf86-input-synaptics/PKGBUILD b/testing/xf86-input-synaptics/PKGBUILD new file mode 100644 index 000000000..095c34a3e --- /dev/null +++ b/testing/xf86-input-synaptics/PKGBUILD @@ -0,0 +1,48 @@ +# $Id: PKGBUILD 150014 2012-02-12 09:44:16Z andyrtr $ +# Maintainer: Jan de Groot <jgc@archlinux.org> +# Contributor: Tobias Powalowski <tpowa@archlinux.org> +# Contributor: Thomas Bächler <thomas@archlinux.org> +# Contributor: Alexander Baldeck <alexander@archlinux.org> + +pkgname=xf86-input-synaptics +pkgver=1.5.99 +pkgrel=0.1 +_gitver=e6032c34515a19ebac09090028f806d82ddfb62d +pkgdesc="Synaptics driver for notebook touchpads" +arch=('i686' 'x86_64') +license=('custom') +url="http://xorg.freedesktop.org/" +depends=('libxtst') +makedepends=('xorg-server-devel>=1.11.99.902' 'libxi' 'libx11') +conflicts=('xorg-server<1.11.99.902') +replaces=('synaptics') +provides=('synaptics') +conflicts=('synaptics') +groups=('xorg-drivers' 'xorg') +options=(!libtool) +backup=('etc/X11/xorg.conf.d/10-synaptics.conf') +source=(#http://xorg.freedesktop.org/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2 + http://cgit.freedesktop.org/xorg/driver/xf86-input-synaptics/snapshot/xf86-input-synaptics-${_gitver}.tar.gz + 10-synaptics.conf) +md5sums=('82556d741fe2bc45c4ab4648cb77700d' + '3b81a81b958dfe3cac3cdef7ee85f1ce') + +build() { +# cd "${srcdir}/${pkgname}-${pkgver}" + cd ${srcdir}/${pkgname}* + autoreconf -fi + ./configure --prefix=/usr + make +} + +package() { + #cd "${srcdir}/${pkgname}-${pkgver}" + cd ${srcdir}/${pkgname}* + make DESTDIR="${pkgdir}" install + install -m755 -d "${pkgdir}/etc/X11/xorg.conf.d" + install -m644 "${srcdir}/10-synaptics.conf" "${pkgdir}/etc/X11/xorg.conf.d/" + install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" + install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" + + rm -rf "${pkgdir}/usr/share/X11" +} |