1 # Maintainer: Christian Hesse <mail@eworm.de>
2 # Contributor: Alexey Vasiliev <robbinton@gmail.com>
7 pkgdesc="Free RDP client - git checkout"
9 url="http://www.freerdp.com/"
15 _gitroot="https://github.com/FreeRDP/FreeRDP.git"
20 msg "Connecting to GIT server...."
22 if [ -d ${_gitname} ] ; then
23 cd ${_gitname} && git pull origin
24 msg "The local files are updated."
26 git clone ${_gitroot} ${_gitname}
29 msg "GIT checkout done or server timeout"
30 msg "Starting make..."
32 rm -rf "${srcdir}/${_gitname}-build"
33 git clone "${srcdir}/${_gitname}" "${srcdir}/${_gitname}-build"
34 cd "${srcdir}/${_gitname}-build"
36 cmake ./ -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib
38 make DESTDIR="${pkgdir}/" install