1 # Maintainer: Dave Reisner <d@falconindy.com>
3 pkgname=xf86-input-multitouch-git
6 pkgdesc="A multitouch X driver using the kernel MT protocol"
8 url="http://bitmath.org/code/multitouch/"
11 makedepends=('git' 'xorg-server-devel')
12 provides=('xf86-input-multitouch')
13 conflicts=('xf86-input-multitouch')
14 source=('10-multitouch.conf')
15 md5sums=('2bdf08d4526179bb369806d6b7b3a243')
17 _gitroot="http://bitmath.org/git/multitouch.git"
22 msg "Connecting to GIT server...."
24 if [[ -d $_gitname ]] ; then
25 ( cd $_gitname && git pull origin; )
26 msg "The local files are updated."
28 git clone $_gitroot $_gitname
31 msg "GIT checkout done or server timeout"
32 msg "Starting make..."
34 rm -rf "$srcdir/$_gitname-build"
35 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
36 cd "$srcdir/$_gitname-build"
42 cd "$srcdir/$_gitname-build"
44 make DESTDIR="$pkgdir/" install
45 install -Dm644 "$srcdir/10-multitouch.conf" "$pkgdir/etc/X11/xorg.conf.d/10-multitouch.conf"