1 # Maintainer: Mad Fish <MadFishTheOne@gmail.com>
6 pkgdesc="A project to create useful and beautiful panel in Qt"
9 url="https://gitorious.org/qtpanel"
11 makedepends=('cmake' 'git')
15 _gitroot="git://gitorious.org/qtpanel/qtpanel.git"
21 msg "Connecting to GIT server...."
23 if [ -d ${_gitname} ] ; then
24 cd ${_gitname} && git pull origin
25 msg "The local files are updated."
27 git clone ${_gitroot} ${_gitname}
30 msg "GIT checkout done or server timeout"
32 mkdir -p "${srcdir}/${_gitname}-build"
33 cd "${srcdir}/${_gitname}-build"
34 cmake -DCMAKE_BUILD_TYPE=Release "${srcdir}/${_gitname}"
36 msg "Starting make..."
38 mkdir -p "${pkgdir}/usr/bin"
39 cp qtpanel "${pkgdir}/usr/bin"