[arch-commits] Commit in xf86-input-wacom/trunk (70-wacom.rules PKGBUILD)

Ionut Biru ibiru at archlinux.org
Tue Jul 27 19:28:12 UTC 2010


    Date: Tuesday, July 27, 2010 @ 15:28:11
  Author: ibiru
Revision: 86281

upgpkg: xf86-input-wacom 0.10.8-1 update to 0.10.8 and added fedora's udev rule. fixes FS#19434

Added:
  xf86-input-wacom/trunk/70-wacom.rules
Modified:
  xf86-input-wacom/trunk/PKGBUILD

----------------+
 70-wacom.rules |    8 ++++++++
 PKGBUILD       |   16 ++++++++++------
 2 files changed, 18 insertions(+), 6 deletions(-)

Added: 70-wacom.rules
===================================================================
--- 70-wacom.rules	                        (rev 0)
+++ 70-wacom.rules	2010-07-27 19:28:11 UTC (rev 86281)
@@ -0,0 +1,8 @@
+ACTION!="add|change", GOTO="wacom_end"
+
+# Match all wacom tablets with a serial ID starting with WACf
+ATTRS{id}=="WACf*" ENV{NAME}="Serial Wacom Tablet", ENV{SUBSYSTEM}="input", ENV{ID_INPUT}="1", ENV{ID_INPUT_TABLET}="1"
+ATTRS{id}=="FUJ*" ENV{NAME}="Serial Wacom Tablet", ENV{SUBSYSTEM}="input", ENV{ID_INPUT}="1", ENV{ID_INPUT_TABLET}="1"
+
+LABEL="wacom_end"
+

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-07-27 12:17:27 UTC (rev 86280)
+++ PKGBUILD	2010-07-27 19:28:11 UTC (rev 86281)
@@ -3,7 +3,7 @@
 # Contributor: M Rawash <mrawash at gmail.com>
 
 pkgname=xf86-input-wacom
-pkgver=0.10.7
+pkgver=0.10.8
 pkgrel=1
 pkgdesc="X.Org Wacom tablet driver"
 arch=('i686' 'x86_64')
@@ -14,12 +14,16 @@
 makedepends=('pkgconfig' 'xorg-server>=1.8.0' 'xorg-util-macros')
 conflicts=('xorg-server<1.8.0')
 options=(!libtool)
-source=(http://downloads.sourceforge.net/project/linuxwacom/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('6892c96853f164b5a40651ce64e2491a')
+source=(http://downloads.sourceforge.net/project/linuxwacom/${pkgname}/${pkgname}-${pkgver}.tar.bz2
+        70-wacom.rules)
+md5sums=('e2bcc125070a16a7e3608d074d5d27dc'
+         '4d3665bb2ef8a8190734640dffa4c6f7')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  ./configure --prefix=/usr --with-xorg-conf-dir=/etc/X11/xorg.conf.d || return 1
-  make || return 1
-  make DESTDIR="${pkgdir}" install || return 1
+  ./configure --prefix=/usr --with-xorg-conf-dir=/etc/X11/xorg.conf.d
+  make
+  make DESTDIR="${pkgdir}" install
+
+  install -D -m 0644 "${srcdir}/70-wacom.rules"  "${pkgdir}/lib/udev/rules.d/70-wacom.rules"
 }




More information about the arch-commits mailing list