1 # Contributor: Mildred <silkensedai@online.fr>
2 # kate: hl bash; space-indent on; indent-width 2;
5 pkgname=gnustep-gui-svn
8 pkgdesc="Application Kit for GNUstep"
10 url="http://gnustep.org/"
12 depends=(gnustep-base libtiff libpng libjpeg libgcrypt gnutls)
13 makedepends=('subversion')
14 provides=(gnustep-gui)
15 conflicts=(gnustep-gui)
23 _svntrunk="http://svn.gna.org/svn/gnustep/libs/gui/trunk/"
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 . /etc/profile.d/GNUstep.sh
45 export MAKEFLAGS="`sed 's/-j[0-9]*//g' <<<"$MAKEFLAGS"`"
46 ./configure --prefix=/opt/GNUstep
48 make DESTDIR="$startdir/pkg" install