1 # Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>
6 pkgdesc="A DC++ protocol server (hub) (GIT version)"
9 url="http://www.verlihub-project.org/"
10 depends=('geoip' 'mysql' 'gettext' 'lua' 'python2')
13 conflicts=('verlihub')
15 _gitroot="git://verlihub.git.sourceforge.net/gitroot/verlihub/verlihub"
19 msg "Connecting to GIT server..."
21 if [ -d "${srcdir}"/"${_gitname}" ] ; then
22 cd "${_gitname}" && git pull origin
24 git clone "${_gitroot}"
27 [ -d "${srcdir}"/"${_gitname}"-build ] && rm -fr "${srcdir}"/"${_gitname}"-build
28 cp -R "${srcdir}"/"${_gitname}" "${srcdir}"/"${_gitname}"-build
30 msg "GIT checkout done or server timeout"
31 msg "Starting build..."
33 cd "${srcdir}"/"${_gitname}"-build
34 ./configure --prefix=/usr
38 cd "${srcdir}"/"${_gitname}"-build
39 make DESTDIR="${pkgdir}" install