1 # Maintainer: David Phillips <david@daphsoft.com>
5 pkgdesc="A simple, cross-platform GUI automation toolkit for Python."
7 url="https://github.com/msanders/autopy"
9 depends=('libpng' 'zlib' 'libxtst' 'xorg-xmessage' 'python2')
12 _gitroot="git://github.com/msanders/autopy.git"
17 msg "Connecting to GIT server...."
19 if [ -d $_gitname ] ; then
20 cd $_gitname && git pull origin
21 msg "The local files are updated."
26 msg "GIT checkout done or server timeout"
27 msg "Starting build..."
29 cd "$srcdir/$_gitname"
30 python2 setup.py build
35 cd "$srcdir/$_gitname"
36 python2 setup.py install --prefix=/usr --root="$pkgdir"