updated on Wed Jan 18 20:10:41 UTC 2012
[aur-mirror.git] / projectcenter.app-svn / PKGBUILD
blobdf652b4c0344899b1cb1f5d5cc7b56eefbf487a5
1 # Contributor: Mildred <silkensedai@online.fr>
2 # kate: hl bash; space-indent on; indent-width 2;
3 # use versionpkg
5 pkgname=projectcenter.app-svn
6 pkgver=25221
7 pkgrel=2
8 pkgdesc="ProjectCenter.app is the GNUstep Integrated Devloppment Environment"
9 arch=(i686)
10 url="http://gnustep.org/"
11 license=('GPL')
12 depends=(gnustep-svn)
13 makedepends=('subversion')
14 provides=(projectcenter.app)
15 conflicts=(projectcenter.app)
16 replaces=()
17 backup=()
18 install=
19 source=()
20 noextract=()
21 md5sums=()
23 _svntrunk="http://svn.gna.org/svn/gnustep/apps/projectcenter/trunk/"
24 _svnmod=projectcenter.app
26 build() {
27   cd "$startdir/src"
29   if [ -d "$_svnmod/.svn" ]; then
30     msg "SVN update $_svnmod"
31     (cd "$_svnmod" && svn up -r "$pkgver")
32   else
33     msg "SVN checkout $_svntrunk $_svnmod"
34     svn co "$_svntrunk" --config-dir ./ -r "$pkgver" "$_svnmod"
35   fi
37   msg "SVN checkout done or server timeout. Preparing sources..."
39   cp -r "$_svnmod" "$_svnmod-build"
40   cd "$_svnmod-build"
42   msg "Starting make..."
44   export MAKEFLAGS="`sed 's/-j[0-9]*//g' <<<"$MAKEFLAGS"`"
45   ./configure --prefix=/opt/GNUstep
46   make || return 1
47   make DESTDIR="$startdir/pkg" install