updated on Sun Jan 22 08:00:21 UTC 2012
[aur-mirror.git] / labplot2 / PKGBUILD
blob30967c42e6074fc2fae7f35e4a193d5fc683fb6b
1 # Contributor: Andrea Scarpino <andrea@archlinux.org
3 pkgname=labplot2
4 pkgver=2.0.0alpha2
5 _pkgver=2.0.0.alpha2
6 pkgrel=1
7 pkgdesc="A free software data analysis and visualization application"
8 arch=('i686' 'x86_64')
9 url='http://labplot.sourceforge.net/'
10 license=('GPL')
11 depends=('kdelibs' 'hdf5' 'netcdf' 'gsl' 'liborigin1')
12 makedepends=('cmake' 'automoc4')
13 source=("http://downloads.sourceforge.net/labplot/LabPlot-${_pkgver}.tar.gz")
14 md5sums=('3da0d99bebaf40e66377b2815f23ccb2')
16 build() {
17   cd "${srcdir}"
18   mkdir build
19   cd build
20   cmake ../LabPlot-${_pkgver} \
21     -DCMAKE_BUILD_TYPE=Release \
22     -DCMAKE_INSTALL_PREFIX=/usr
23   make
26 package() {
27   cd "${srcdir}"/build
28   make DESTDIR="${pkgdir}" install