summaryrefslogtreecommitdiffstats
path: root/abs/core/xf86-input-synaptics
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/xf86-input-synaptics')
-rw-r--r--abs/core/xf86-input-synaptics/10-synaptics.conf8
-rw-r--r--abs/core/xf86-input-synaptics/PKGBUILD34
2 files changed, 29 insertions, 13 deletions
diff --git a/abs/core/xf86-input-synaptics/10-synaptics.conf b/abs/core/xf86-input-synaptics/10-synaptics.conf
new file mode 100644
index 0000000..7e456ed
--- /dev/null
+++ b/abs/core/xf86-input-synaptics/10-synaptics.conf
@@ -0,0 +1,8 @@
+Section "InputClass"
+ Identifier "touchpad catchall"
+ Driver "synaptics"
+ MatchIsTouchpad "on"
+ Option "TapButton1" "1"
+ Option "TapButton2" "2"
+ Option "TapButton3" "3"
+EndSection
diff --git a/abs/core/xf86-input-synaptics/PKGBUILD b/abs/core/xf86-input-synaptics/PKGBUILD
index 3ce5c88..670fd87 100644
--- a/abs/core/xf86-input-synaptics/PKGBUILD
+++ b/abs/core/xf86-input-synaptics/PKGBUILD
@@ -1,31 +1,39 @@
-# $Id: PKGBUILD 26858 2009-02-13 15:56:55Z andyrtr $
+# $Id: PKGBUILD 89499 2010-09-01 12:06:39Z 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.0.0
+pkgver=1.3.0
pkgrel=1
pkgdesc="synaptics driver for notebook touchpads"
arch=(i686 x86_64)
license=('custom')
-url="http://w1.894.telia.com/~u89404340/touchpad/"
-depends=('libx11')
-makedepends=('pkgconfig' 'xorg-server>=1.5.3')
+url="http://xorg.freedesktop.org/"
+depends=('libxtst')
+makedepends=('xorg-server-devel' 'libxi' 'libx11')
+conflicts=('xorg-server<1.9.0')
replaces=('synaptics')
provides=('synaptics')
conflicts=('synaptics')
+groups=('xorg-input-drivers')
options=(!libtool)
-source=(http://xorg.freedesktop.org/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('66dd051bb1885613d21ff7a77a7948d8')
+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=('132fff19a3a1768e7ab403f44ebc28e0480a4120'
+ '70ddc39abc03c3b5b8071b70b5553f84e01d78b2')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr || return 1
- make || return 1
- make DESTDIR="${pkgdir}" install || return 1
- install -d "${pkgdir}/usr/share/hal/fdi/policy/10osvendor"
- install -m644 fdi/*.fdi "${pkgdir}/usr/share/hal/fdi/policy/10osvendor/" || return 1
+ ./configure --prefix=/usr
+ make
+ 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}/" || return 1
+ install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
+
+ rm -rf "${pkgdir}/usr/share/X11"
}