Mantainer BlackEnvil BlackEnvil gmail com Contributor BlackEnvil Black

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Mantainer: BlackEnvil <BlackEnvil@gmail.com>
# Contributor: BlackEnvil <BlackEnvil@gmail.com>
# Contributor: vinc94 <vinc94@gmail.com>
pkgname=codeblocks-svn
pkgver=5519
pkgrel=1
pkgdesc="An open source and cross-platform C/C++ IDE"
arch=('i686' 'x86_64')
url="http://www.codeblocks.org"
license=('GPL3')
makedepends=('subversion' 'zip')
depends=('wxgtk' 'valgrind')
provides=('codeblocks')
conflicts=('codeblocks')
source=()
md5sums=()
_svntrunk="svn://svn.berlios.de/codeblocks/trunk"
_svnmod=codeblocks-svn
build() {
cd $startdir/src || return 1
if [ -d $_svnmod/.svn ]; then
(cd $_svnmod && svn up)
else
svn co $_svntrunk $_svnmod
fi
cd $_svnmod
./bootstrap || return 1
./configure --prefix=/usr --with-contrib-plugins=all || return 1
make || return 1
make DESTDIR="$pkgdir" install || return 1
}