### this file is sourced not run
PKGVER=0.32.0
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=xf86-input-wacom-$PKGVER.tar.bz2
MD5SUM=4597acd6ca57488b90369b81ce81efd0
SRC_URL=http://downloads.sourceforge.net/linuxwacom/$TARBALL
BUNDLE=

SLACKREQ='xorg-server'
SLACKDESC="xf86-input-wacom: xf86-input-wacom $PKGVER (Xorg Wacom input driver)  
xf86-input-wacom:  
xf86-input-wacom: The Xorg Wacom Driver package contains the X.Org X11 driver 
xf86-input-wacom: and SDK for Wacom and Wacom-like tablets. It is not required 
xf86-input-wacom: to use a Wacom tablet, the xf86-input-evdev driver can 
xf86-input-wacom: handle these devices without problems although this driver 
xf86-input-wacom: provides advanced functionality such as absolute positioning 
xf86-input-wacom: and pressure input which are not available on standard evdev 
xf86-input-wacom: driver.  
xf86-input-wacom: 
xf86-input-wacom:
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	CONFFLAGS="$XORG_CONFIG"
	pkg_build_autoconf && 
	pkg_build_slackdesc &&
	
	# relocate udev rules to its correct place
	mv /usr/$LIBDIR/udev/rules.d/* /$LIBDIR/udev/rules.d &&
	rm -r /usr/$LIBDIR/udev
}
