diff options
author | root <root@rshg054.dnsready.net> | 2011-08-11 23:14:30 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-08-11 23:14:30 +0000 |
commit | 853acffdfdaafc5b2982cbac2a0e5adda28e6d6e (patch) | |
tree | ec8f471de81a4c58c3b2cc228009524ae31f312f /staging/xf86-input-synaptics | |
parent | 1a6b0f4a655e1fbda776cbb34f56a5fa061c27c7 (diff) |
Thu Aug 11 23:14:30 UTC 2011
Diffstat (limited to 'staging/xf86-input-synaptics')
-rw-r--r-- | staging/xf86-input-synaptics/10-synaptics.conf | 9 | ||||
-rw-r--r-- | staging/xf86-input-synaptics/PKGBUILD | 42 |
2 files changed, 51 insertions, 0 deletions
diff --git a/staging/xf86-input-synaptics/10-synaptics.conf b/staging/xf86-input-synaptics/10-synaptics.conf new file mode 100644 index 000000000..81a90fb81 --- /dev/null +++ b/staging/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/staging/xf86-input-synaptics/PKGBUILD b/staging/xf86-input-synaptics/PKGBUILD new file mode 100644 index 000000000..378bdcc8a --- /dev/null +++ b/staging/xf86-input-synaptics/PKGBUILD @@ -0,0 +1,42 @@ +# $Id: PKGBUILD 135132 2011-08-10 12:38:31Z jgc $ +# 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.4.1 +pkgrel=2 +pkgdesc="Synaptics driver for notebook touchpads" +arch=(i686 x86_64) +license=('custom') +url="http://xorg.freedesktop.org/" +depends=('libxtst') +makedepends=('xorg-server-devel>=1.10.99.902' 'libxi' 'libx11') +conflicts=('xorg-server<1.10.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 + 10-synaptics.conf) +sha1sums=('e41201476f4bc8658291808d2d6ef2e0535179ae' + '68e1f4ef5e1038231d210eb422fa4d18c5922f0f') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr + make +} +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + 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" +} |