# Contributor: Graziano Giuliani pkgname=metview pkgver=4.8.7 pkgrel=1 pkgdesc="ECMWF interactive meteorological application" arch=(i686 x86_64) url="https://software.ecmwf.int/wiki/display/METV/Metview" license=('APACHE') groups=(science) depends=( 'magics++>=2.24.4' mksh openmotif netcdf-cxx-legacy eccodes qtwebkit libxpm) makedepends=('emos>=4.0.5') provides=() conflicts=() replaces=() backup=() options=() install= source=(https://software.ecmwf.int/wiki/download/attachments/3964985/Metview-${pkgver}-Source.tar.gz) noextract=() md5sums=('79ebe622c3d6480f3940d524f21db302') build() { cd Metview-${pkgver}-Source mkdir -p build && cd build cmake -DCMAKE_CXX_COMPILER=g++ -DCMAKE_CC_COMPILER=/usr/bin/gcc \ -Dmagics_DIR=/usr/share/magics/cmake \ -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=production \ -DCMAKE_INSTALL_DATADIR=/usr/share -DENABLE_QT5=ON \ -DPYTHON_EXECUTABLE=/usr/bin/python2 .. make || return 1 } package() { cd Metview-${pkgver}-Source/build make DESTDIR="$pkgdir" install || return 1 } # vim:set ts=2 sw=2 et: