1 # Maintainer: Clément DEMOULINS <clement@archivel.fr>
6 pkgdesc="Provide a simple visual front end for XRandR 1.2."
8 url="http://christian.amsuess.com/tools/arandr/"
10 depends=('pygtk' 'desktop-file-utils' 'xorg-xrandr')
11 makedepends=('docutils' 'git')
14 install=$pkgname.install
19 _gitroot="git://gitorious.org/arandr/arandr.git"
24 msg "Connecting to GIT server...."
26 if [ -d $_gitname ] ; then
27 cd $_gitname && git pull origin
28 msg "The local files are updated."
30 git clone $_gitroot $_gitname
33 msg "GIT checkout done or server timeout"
34 msg "Starting make..."
36 rm -rf "$srcdir/$_gitname-build"
37 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
38 cd "$srcdir/$_gitname-build"
44 python2 setup.py install --prefix=/usr --root=$startdir/pkg