updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / codeblocks-scintilla-svn / PKGBUILD
blob67a8b6cda29e1f425f5c2fbcee64ac6b7cb748c1
1 pkgname=codeblocks-scintilla-svn
2 pkgver=5913
3 pkgrel=1
4 pkgdesc="An open source and cross-platform C/C++ IDE. Fixes big settings dialogs."
5 arch=('i686' 'x86_64')
6 url="http://www.codeblocks.org"
7 license=('GPL3')
8 groups=()
9 depends=('wxgtk' 'valgrind')
10 makedepends=('subversion' 'zip')
11 optdepends=()
12 provides=('codeblocks' 'codeblocks-svn' 'codeblocks-svn-noplugins')
13 conflicts=('codeblocks' 'codeblocks-svn' 'codeblocks-svn-noplugins')
14 backup=()
15 options=()
16 install=
17 source=()
18 md5sums=()
19 noextract=()
21 _svntrunk="svn://svn.berlios.de/codeblocks/branches/scintilla/"
22 _svnmod=codeblocks-svn
24 build() {
25   cd $startdir/src || return 1
27   if [ -d $_svnmod/.svn ]; then
28     (cd $_svnmod && svn up)
29   else
30     svn co -r $pkgver $_svntrunk $_svnmod
31   fi
33   cd $_svnmod
34   ./bootstrap || return 1
35   ./configure --prefix=/usr --with-contrib-plugins=all || return 1
36   make || return 1
37   make DESTDIR="$pkgdir" install || return 1