1 # Maintainer: Ryan Huffman <ryanhuffman(at)gmail(dot)com>
6 pkgdesc="TUIO Monitor Daemon"
8 url="http://rhuffman.wordpress.com/"
10 depends=('xorg-server>=1.7.0' 'libxi>=1.2.1')
11 makedepends=('pkgconfig' 'git' 'xorg-util-macros' 'autoconf' 'automake')
12 conflicts=('xorg-server<1.7.0')
17 _gitroot="git://repo.or.cz/tmd.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."
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"
39 ./configure --prefix=/usr || return 1
41 make DESTDIR="${pkgdir}" install || return 1
42 install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" || return 1