1 # Maintainer: (epsilom) Xavier Corredor <xavier.corredor.llano (at) gmail.com>
2 # Contributor: alexwizard
4 pkgname=kdeplasma-applets-plasma-crystal-git
5 _realname=plasma-crystal
8 pkgdesc="A widget that can be used as search widget, or alternative file-open mechanism"
10 url="http://quickgit.kde.org/?p=plasma-crystal.git&a=summary"
12 depends=('kdebase-plasma')
13 makedepends=('cmake' 'automoc4' 'git' 'docbook-xsl' 'bc')
14 provides=(kdeplasma-applets-${_realname})
15 conflicts=(kdeplasma-applets-${_realname})
17 _gitroot="git://anongit.kde.org/${_realname}"
23 msg "Connecting to GIT server...."
25 if [ -d ${_gitname} ]; then
26 cd ${_gitname} && git pull origin
27 msg "The local files are updated."
32 msg "GIT checkout done or server timeout"
33 msg "Starting make..."
35 rm -rf ${srcdir}/build
36 git clone ${srcdir}/${_gitname} ${srcdir}/build
39 cmake . -DCMAKE_BUILD_TYPE=Release \
40 -DCMAKE_INSTALL_PREFIX=/usr
46 make DESTDIR=${pkgdir} install