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

# source: james / arch aur
# see: https://aur.archlinux.org/packages/easystroke
TARBALL=easystroke-$PKGVER.tar.gz
MD5SUM=a18ca925f3b9deb98d464305eb6224a4
#SRC_URL=http://downloads.sourceforge.net/easystroke/$TARBALL
#fork with fixes for newer boost
SRC_URL=https://github.com/mrsteve0924/easystroke/archive/v${PKGVER}.tar.gz
BUNDLE=

SLACKREQ='gtk3mm libdbus-glib libboost-common'
SLACKDESC="easystroke: easystroke $PKGVER (Gesture recognition)  
easystroke:  
easystroke: easystroke is a gesture-recognition application for X11. It aims 
easystroke: to be highly configurable while at the same time providing an 
easystroke: intuitive user interface. It was designed primarily for use on a 
easystroke: Tablet PC, but it also works well with a mouse.  
easystroke: 
easystroke: http://easystroke.sourceforge.net/
easystroke: https://github.com/mrsteve0924/easystroke
easystroke: 
easystroke:
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/easy*

	# binary
	make &&
	make man &&
	make PREFIX=/usr install &&

	# man pages
	install -Dm0644 "easystroke.1" "/usr/share/man/man1/easystroke.1"
	#install -Dm0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"

	pkg_build_slackdesc
}


