summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorgraziano.giuliani2019-07-28 19:48:04 +0200
committergraziano.giuliani2019-07-28 19:48:04 +0200
commit2035a3d37cd5f86f3b01ce14ea927ea631e20960 (patch)
treeaa86b45a0641dd0f365cca84695a94504674c53b
parente8db9215fce2b0ab0fc23ef4aeb667cdc28f1667 (diff)
downloadaur-2035a3d37cd5f86f3b01ce14ea927ea631e20960.tar.gz
new upstream
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD8
2 files changed, 8 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d84c571d4c1..d042d788ccc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = magics++
pkgdesc = Magics is the latest generation of the ECMWF's Meteorological plotting software MAGICS.
- pkgver = 4.0.3
- pkgrel = 3
+ pkgver = 4.1.2
+ pkgrel = 1
url = https://software.ecmwf.int/wiki/display/MAGP
arch = i686
arch = x86_64
@@ -23,9 +23,9 @@ pkgbase = magics++
depends = python
optdepends = libaec
optdepends = odb_api
- source = http://software.ecmwf.int/wiki/download/attachments/3473464/Magics-4.0.3-Source.tar.gz
+ source = http://software.ecmwf.int/wiki/download/attachments/3473464/Magics-4.1.2-Source.tar.gz
source = patch
- md5sums = 0586c99cbebb015aab697c83ab903611
+ md5sums = d7ad5bcc297513089ad28595d5b2f3ca
md5sums = 73b04ae78df8c2f6e88b2a36dcd2dd96
pkgname = magics++
diff --git a/PKGBUILD b/PKGBUILD
index ab90c28221d..a6d8511626e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=magics++
Pkgname=Magics
-pkgver=4.0.3
+pkgver=4.1.2
_attnum=3473464
-pkgrel=3
+pkgrel=1
pkgdesc="Magics is the latest generation of the ECMWF's Meteorological plotting software MAGICS."
arch=('i686' 'x86_64')
url="https://software.ecmwf.int/wiki/display/MAGP"
@@ -14,13 +14,12 @@ depends=('qt5-base' 'proj' 'fftw' 'pango' 'netcdf-cxx-legacy' 'eccodes' 'python'
optdepends=('libaec' 'odb_api')
makedepends=('perl-xml-parser' 'gcc-fortran' 'swig' 'python2-numpy' 'cmake' 'boost' 'emos' 'python2-jinja')
source=(http://software.ecmwf.int/wiki/download/attachments/${_attnum}/${Pkgname}-${pkgver}-Source.tar.gz patch)
-md5sums=('0586c99cbebb015aab697c83ab903611'
+md5sums=('d7ad5bcc297513089ad28595d5b2f3ca'
'73b04ae78df8c2f6e88b2a36dcd2dd96')
build() {
cd "$srcdir/${Pkgname}-${pkgver}-Source"
patch -p0 -i ../patch
- # patch -p2 -i ../g++7.patch
rm -fr src/boost && ln -sf /usr/include/boost src
[ -x /usr/bin/odb ] && has_odb=ON || has_odb=OFF
mkdir -p build
@@ -34,6 +33,7 @@ build() {
-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=production \
-DCMAKE_INSTALL_DATADIR=/usr/share \
-DENABLE_METVIEW=1 -DENABLE_QT5=1 -DPYTHON_EXECUTABLE=/usr/bin/python2 ..
+ sed -i magics.pc-pkg-config-build.cmake -e '/REPLACE/s/++/\\\\+\\\\+/'
make || return 1
}