1 # Contributor: Dominik Fuchs <dominik.fuchs@wur.nl>
6 pkgdesc="Extrema is a powerful visualization and data analysis tool (SVN version)"
8 url="http://exsitewebware.com/extrema/"
10 depends=('wxgtk>=2.6.3' 'zlib' 'libxml2' 'libpng')
13 source=(extrema.desktop)
14 md5sums=('7bf97e2388facea73887609a9cdbca98')
15 _svntrunk=https://extrema.svn.sourceforge.net/svnroot/extrema
20 if [ -d $_svnmod/.svn ]; then
21 (cd $_svnmod && svn up -r $pkgver)
23 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
26 msg "SVN checkout done or server timeout"
27 msg "Starting make..."
29 rm -rf "$srcdir/$_svnmod-build"
30 cp -r $_svnmod $_svnmod-build
31 cd $_svnmod-build/extrema/trunk
34 ./configure --prefix=/usr --with-wxGTK=/usr/bin/wx-config
36 make DESTDIR=$startdir/pkg install
37 tar -jxf extrema_icons.tar.bz2
38 mkdir -p $startdir/pkg/usr/share/applications
39 install -D -m644 32x32/apps/extrema.png $startdir/pkg/usr/share/pixmaps/extrema.png
40 install -D -m644 $startdir/extrema.desktop $startdir/pkg/usr/share/applications/extrema.desktop