# Contributor: Toni Foerster # changed by Richard Terry (so it is probably Wrong! rterry@gnumed.net # to get the lastest development branch of Gambas libffi added as dependency pkgname=gambas2-svn-1028 pkgver=20082201 pkgrel=2 pkgdesc="Gambas is a free development environment based on a Basic interpreter." arch=('i686') url="http://gambas.sourceforge.net" depends=('libldap' 'librsvg' 'postgresql' 'libmysqlclient' 'curl' 'sqlite2' \ 'sqlite3' 'sdl_mixer' 'sdl_image' 'unixodbc' 'kdelibs' 'poppler' \ 'libfbclient' 'omniorb' 'libffi') license=('GPL') conflicts=('gambas_2' 'gambas2') install=gambas2-svn.install source=(gambas2.desktop gambas2.png) md5sums=('421d09a2868e163dcfae24687cdf5c4a' '72dad89f2b239925f8766f2adf4756b8') _svntrunk=https://gambas.svn.sourceforge.net/svnroot/gambas/gambas/branches/2.0/ _svnrevision=1028 build() { cd $startdir/src/ msg "Checking out svn-tree..." svn checkout -r $_svnrevision $_svntrunk|| return 1 cd $startdir/src/2.0/ msg "Configure files..." ./reconf-all ./configure --disable-qte \ --prefix=/usr msg "Start Compiling..." make bindir=$startdir/pkg/usr/bin || return 1 make DESTDIR=$startdir/pkg install || return 1 chmod -R 755 $startdir/pkg/usr/share/gambas2/help install -D -m644 $startdir/src/gambas2.desktop \ $startdir/pkg/usr/share/applications/gambas2.desktop install -D -m644 $startdir/src/gambas2.png \ $startdir/pkg/usr/share/pixmaps/gambas2.png }