1 # Contributor: Mildred <silkensedai@online.fr>
2 # kate: hl bash; space-indent on; indent-width 2;
5 pkgname=projectcenter.app-svn
8 pkgdesc="ProjectCenter.app is the GNUstep Integrated Devloppment Environment"
10 url="http://gnustep.org/"
13 makedepends=('subversion')
14 provides=(projectcenter.app)
15 conflicts=(projectcenter.app)
23 _svntrunk="http://svn.gna.org/svn/gnustep/apps/projectcenter/trunk/"
24 _svnmod=projectcenter.app
29 if [ -d "$_svnmod/.svn" ]; then
30 msg "SVN update $_svnmod"
31 (cd "$_svnmod" && svn up -r "$pkgver")
33 msg "SVN checkout $_svntrunk $_svnmod"
34 svn co "$_svntrunk" --config-dir ./ -r "$pkgver" "$_svnmod"
37 msg "SVN checkout done or server timeout. Preparing sources..."
39 cp -r "$_svnmod" "$_svnmod-build"
42 msg "Starting make..."
44 export MAKEFLAGS="`sed 's/-j[0-9]*//g' <<<"$MAKEFLAGS"`"
45 ./configure --prefix=/opt/GNUstep
47 make DESTDIR="$startdir/pkg" install