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

# source: james
TARBALL=kbbind-1.11.tar.gz
MD5SUM=a242e50613376a64aeb508120c4d7921
SRC_URL=http://www.solemnwarning.net/kbbind/$TARBALL
BUNDLE=

SLACKREQ=
SLACKDESC='kbbind: kbbind 1.10 (console keyboard remapper)  
kbbind:  
kbbind: kbbind is a utility for remapping keys and key combinations under 
kbbind: Linux. Keys may be mapped to other keys and commands may be executed 
kbbind: on press/autorepeat. Each kbbind process reads events from a single 
kbbind: keyboard using evdev and may be used for configuring remote controls, 
kbbind: special keyboards, etc. 
kbbind: This works under X desktop too, but kbbind must be started before
kbbind: Xorg is started.  
kbbind: 
kbbind: http://www.solemnwarning.net/kbbind/ 
'

### default pkg_download
### default pkg_prepare
### default pkg_package

### build
pkg_build() {
	cd /tmp/kbbind* &&
	sed -i -e 's|/dev/input/uinput|/dev/uinput|g' kbbind.cpp &&
	make PREFIX=/usr install &&
	mkdir -p /usr/share/doc &&	
	install -m644 example.conf /etc/kbbind.conf &&	
	install -m644 kbbind.html /usr/share/doc/kbbind.html &&
	pkg_build_slackdesc
}


