1 # Contributor: Andrea Scarpino <andrea@archlinux.org>
2 # Contributor: mosra <mosra@centrum.cz>
7 pkgdesc="An IDE for Web Development based on the KDevelop Platform"
9 url="http://quanta.kdewebdev.org/"
11 depends=('kdevplatform-git')
12 optdepends=('qjson' 'kdevelop-pg-qt-git')
13 makedepends=('cmake' 'automoc4' 'git' 'flex')
20 _gitroot="git://anongit.kde.org/quanta"
26 msg "Connecting to the GIT server...."
28 if [ -d $_gitname ] ; then
31 # Change remote url to anongit
32 if [ -z "$(git remote -v | grep anongit)" ] ; then
33 git remote set-url origin ${_gitroot}
37 msg "The local files are updated."
39 git clone $_gitroot $_gitname
42 msg "GIT checkout done"
43 msg "Starting make..."
45 mkdir -p "${srcdir}/build"
48 cmake ../${_gitname} \
49 -DCMAKE_INSTALL_PREFIX=/usr \
50 -DCMAKE_BUILD_TYPE=RELEASE
58 make DESTDIR="${pkgdir}" install