PKGBUILDs/extra/labplot/PKGBUILD

36 lines
1 KiB
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 39337 2009-05-15 08:38:53Z ronald $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: damir <damir@archlinux.org>
# Contributor: Tobias Powalowski <t.powa@gmx.de>
pkgname=labplot
pkgver=1.6.0.2
pkgrel=4
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>=6.5.1.9' \
'fftw>=3.2.1' 'netcdf>=3.6.2')
makedepends=('libxml++>=2.26' 'audiofile')
options=('!libtool' '!makeflags')
source=(http://downloads.sourceforge.net/$pkgname/LabPlot-$pkgver.tar.gz)
# http://staff.mbi-berlin.de/gerlach/Linux/LabPlot/src/$origname-$pkgver.tar.gz)
md5sums=('850256dcd02c4a8ede5b5fe3fbc21ab7')
build() {
cd $srcdir/LabPlot-${pkgver}
# 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
}