# $Id: PKGBUILD 69056 2010-02-16 15:06:54Z ronald $ # Maintainer: Ronald van Haren # Contributor: damir # Contributor: Tobias Powalowski pkgname=labplot pkgver=1.6.0.2 pkgrel=6 pkgdesc="Plotting, Data analysis and visualisation" arch=('i686' 'x86_64') url="http://staff.mbi-berlin.de/gerlach/Linux/LabPlot/" license=("GPL") depends=('kdelibs3' 'gsl' 'imagemagick' \ 'fftw' 'netcdf>=4.1') makedepends=('libxml++>=2.26' 'audiofile') options=('!libtool' '!makeflags') source=(http://downloads.sourceforge.net/$pkgname/LabPlot-$pkgver.tar.gz define-missing-constant.patch 'hdf5-1.8.patch') md5sums=('850256dcd02c4a8ede5b5fe3fbc21ab7' 'e8133bb7b8da63f4ae5a0b998c37b702' '1d38c7304a53b238f8cecb337771ed6f') build() { cd $srcdir/LabPlot-${pkgver} patch -p1 < ../define-missing-constant.patch || return 1 patch -Np0 -i ${srcdir}/hdf5-1.8.patch || return 1 # source kde3 variables source /etc/profile.d/kde3.sh # build and install ./configure --prefix=/opt/kde --enable-mt \ --without-arts --disable-audiofile \ --mandir=/opt/kde/share/man --disable-KexiDB make || return 1 make DESTDIR=${pkgdir} install || return 1 }