1 # Maintainer: Atilla ÖNTAŞ <tarakbumba@gmail.com>
2 #Contributor: Mitchell Nemitz <mitchell.nemitz@gmail.com>
6 pkgdesc="Run a program as root with a graphical interface"
8 url="https://github.com/tarakbumba/xdg-su"
10 makedepends=('links' 'xmlto' 'git')
17 _gitroot="https://github.com/tarakbumba/xdg-su/"
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 cd "$srcdir/$_gitname"
35 ./configure --prefix=/usr
40 cd "$srcdir/$_gitname"
41 make DESTDIR="${pkgdir}" install