1 # Contributors: Evilandi666 <evilandi.aur(at)googlemail.com>
6 pkgdesc="twofing is a daemon which runs in the background and recognizes two-finger gestures performed on a touchscreen and converts them into mouse and keyboard events. This is the edition with patched udev rules for the WeTab/ExoPC."
8 url="https://github.com/plippo/twofing"
9 depends=('udev' 'libxtst' 'libxrandr' 'udev')
10 makedepends=('sed' 'libxi' 'inputproto')
13 _gitroot='git://github.com/Plippo/twofing.git'
18 msg "Connecting to git://github.com/Plippo/twofing.git ...."
19 if [ -d ${srcdir}/$_gitname ] ; then
20 cd $_gitname && git pull origin
21 msg "The local files are updated."
26 mkdir -p ${pkgdir}/usr/bin
27 mkdir -p ${pkgdir}/etc/udev/rules.d/
29 make install DESTDIR=$pkgdir || return 1
32 mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
33 cat "${srcdir}/${_gitname}/twofingemu.c" | head -n 15 > "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"