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

# source: kirk
TARBALL=xf86-input-synaptics-1.7.6.tar.bz2
MD5SUM=f1a501caa0da0bf0e78f249c5ed9bd73 
SRC_URL=http://xorg.freedesktop.org/archive/individual/driver/$TARBALL
BUNDLE=

SLACKREQ='xorg-server'
SLACKDESC='xf86-input-synaptics-chromebook: 1.7.6 (Xorg Touchpad driver)  
xf86-input-synaptics-chromebook:  
xf86-input-synaptics-chromebook: This driver is patched for use in Chromebooks, but may  
xf86-input-synaptics-chromebook: be useful for others. For a c720 chomebook with a click
xf86-input-synaptics-chromebook: pad, if you set AreaBottomEdge=400, then your finger
xf86-input-synaptics-chromebook: will not mover the pointer when placed at the bottom 
xf86-input-synaptics-chromebook: to click the buttons. It may be necessary to use a 
xf86-input-synaptics-chromebook: script that calls synclient AreaBottomEdge=400 after
xf86-input-synaptics-chromebook: the X server has started.
xf86-input-synaptics-chromebook:
xf86-input-synaptics-chromebook:
'

### default pkg_download
### default pkg_prepare
pkg_prepare() {
	pkg_prepare_default &&
	cd tmp/xf86* &&
	patch -Np0 -i $CHROOT_DIR/tmp/pkg/clickpad_drag.2014-06-08.patch
}
### default pkg_package
### build
pkg_build() {
	CONFFLAGS="$XORG_CONFIG"
	pkg_build_autoconf && 
	pkg_build_slackdesc
}
