1 # Maintainer: Antonio Chiurla <antoniochiurla.at.gmail.dot.com>
2 # Contributor: Kevin Sullivan <ksullivan@archlinux.us>
4 _origpkgname=easystroke
8 pkgdesc="Use mouse and screen multitouch gestures to initiate commands and hotkeys."
10 url="http://easystroke.sourceforge.net/"
11 license=('custom:ISC')
12 depends=('gtkmm' 'boost' 'libxtst' 'dbus-glib' 'xorg-server>=1.7.0')
13 makedepends=('inputproto' 'intltool' 'gettext' 'xorg-server-devel')
14 optdepends=('help2man: needed to create a manual page')
15 provides=('easystroke')
16 conflicts=('easystroke')
17 install=easystroke-mt.install
18 source=( http://downloads.sourceforge.net/easystroke/easystroke-$pkgver.tar.gz easystroke_multi_touch3.patch easystroke_tablet.patch)
19 md5sums=('ba989d1745415be94afd567e33d124bb' '830b30a4b5b78822c1a13adb26892963' '3e862c5bf296b31300ccdaa952c61daf')
22 cd "$srcdir/$_origpkgname-$pkgver"
24 patch -p1 < ../../easystroke_tablet.patch
25 patch -p1 < ../../easystroke_multi_touch3.patch
27 # Start compilation process with two jobs.
31 # Note: requires help2man and there is no guarantee this does anything. In fact,
32 # the produced man pages might need to be manually installed into $pkgdir.
37 cd "$srcdir/$_origpkgname-$pkgver"
39 # Put files into their respective places
40 make PREFIX=/usr DESTDIR="$pkgdir/" install
41 install -D -m644 ${srcdir}/${_origpkgname}-${pkgver}/LICENSE ${pkgdir}/usr/share/licenses/${_origpkgname}/LICENSE
44 # vim:set ts=2 sw=2 et: