1 # Maintainer: Thomas Dziedzic < gostrc at gmail >
2 # Contributor: Anton Bazhenov <anton.bazhenov at gmail>
3 # Contributor: Blind <x15@gmx.net>
8 pkgdesc='A visualization and analysis platform for ocean, atmosphere, and solar researchers.'
10 url='http://www.vapor.ucar.edu/'
12 depends=('qt3' 'netcdf' 'libgeotiff' 'perl')
13 optdepends=('bash: for some scripts'
14 'tcsh: for some scripts'
15 'perl: for some scripts')
16 source=("ftp://ftp.ucar.edu/vapor/source/$pkgname-$pkgver-src.tar.gz"
18 md5sums=('615ac60aaf1680689e98dbb14fe6a6d3'
19 'c33c51eff7a197fb809a9a2fca694986')
22 cd $pkgname-$pkgver/$pkgname
26 -e "s,/usr/local,$pkgdir/usr," \
27 -e "s,RELEASE=0,RELEASE=1," \
28 -e "s,QTDIR =,QTDIR = /opt/qt," \
29 -e "s,BUILD_AMR_SUPPORT = 0,BUILD_AMR_SUPPORT = 1," \
31 sed "s,/usr/bin/install,/bin/install," -i make/config/Linux.mk
34 #patch -Np0 -i ../../$pkgname.patch || return 1
39 cd $pkgname-$pkgver/$pkgname
41 make install || return 1
43 # fix paths in setup scripts
44 sed "s,$pkgdir/usr,/usr," -i "$pkgdir"/usr/bin/$pkgname-setup.{csh,sh}
47 install -Dm644 LICENSE.htm "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.html