1 # Maintainer: Sabart Otto - Seberm <seberm[at]gmail[dot].com
6 pkgdesc="Adminer (formerly phpMinAdmin) is a full-featured MySQL management tool written in PHP. GIT version."
7 url="http://www.adminer.org"
9 license=('Apache License, Version 2.0')
12 depends=('php' 'mysql')
16 _gitroot="git://${_gitname}.git.sourceforge.net/gitroot/${_gitname}/${_gitname}"
21 msg "Connecting to GIT (${_gitroot}) ..."
23 if [ -d $_gitname ]; then
24 cd $_gitname && git pull origin
25 msg "The local files of ${_gitname} were updated."
27 git clone $_gitroot $_gitname
30 msg "GIT checkout done or server timeout"
32 mkdir -p $pkgdir/srv/http/$_gitname
33 cp -R $srcdir/$_gitname/$_gitname/* $pkgdir/srv/http/$_gitname