updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / skphpide-svn / PKGBUILD
blob1bfbd8e52ecef27c5f70880b1c95537bc2ea269e
1 # Contributor: totoloco <totoloco at gmail>
2 pkgname=skphpide-svn
3 pkgver=81
4 pkgrel=1
5 pkgdesc="A PHP IDE written in C++ with features like code completion, code templates, find (and replace) in project."
6 arch=(i686 x86_64)
7 url="http://www.shishkabab.net/skphpide.html"
8 license=('unknown')
9 depends=(kdelibs qt)
10 makedepends=(svn gcc cmake make)
11 optdepends=(php)
12 provides=(skphpide)
13 conflicts=(skphpide)
14 replaces=(skphpide)
15 source=()
16 md5sums=()
17 _svntrunk=https://skphpide.svn.sourceforge.net/svnroot/skphpide/trunk/
18 _svnmod=skphpide
20 build() {
21   cd "$srcdir"
23   if [ -d $_svnmod/.svn ]; then
24     (cd $_svnmod && svn up && make clean)
25   else
26     svn co $_svntrunk $_svnmod
27   fi
29   msg "SVN checkout done or server timeout"
30   msg "Starting make..."
32   cd "$srcdir/$_svnmod"
34   CMakeFlags="-DBIN_INSTALL_DIR=/usr/bin -DXDG_APPS_INSTALL_DIR=/usr/share/applications -DDATA_INSTALL_DIR=/usr/share/kde4/apps"
35   cmake $CMakeFlags . || return 1
36   make DESTDIR="$pkgdir/" install
39 # vim:set ts=2 sw=2 et: