summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Legner2019-01-23 18:03:37 +0100
committerSimon Legner2019-01-23 18:15:00 +0100
commit85a6887007dd73f0b97ea29695e400717db402ac (patch)
tree9aafe5a9b944299815c9393cc36841feb28972f3
parent2c73e7334d2b1a306840afdf40ff44b743c5373d (diff)
downloadaur-85a6887007dd73f0b97ea29695e400717db402ac.tar.gz
Update to 2.8.0-1
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD15
-rw-r--r--exclude_random_numbers.patch14
3 files changed, 31 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 71272d899ad..090fb7d7b4a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,16 @@
pkgbase = meteoio
pkgdesc = Make data access easy and safe for numerical simulations in environmental sciences
- pkgver = 2.7.0
- pkgrel = 5
+ pkgver = 2.8.0
+ pkgrel = 1
url = https://models.slf.ch/p/meteoio/
arch = x86_64
license = LGPL3
makedepends = cmake
makedepends = doxygen
- source = https://models.slf.ch/p/meteoio/downloads/get/MeteoIO-2.7.0-src.tar.gz
- sha256sums = 4e5e141c7d56f18b79644116337775c03648e3e011bc1f30bee657afc63fe3ba
+ source = https://models.slf.ch/p/meteoio/downloads/get/MeteoIO-2.8.0-src.tar.gz
+ source = exclude_random_numbers.patch
+ sha256sums = 4a74896b678bb1b4c9a2248582df76ad2025e6f66aa176049500557f041a98da
+ sha256sums = 77a043c0f6e5c9d52884e8e149a031aff8ade2d3f86455bf6815db59198103ba
pkgname = meteoio
diff --git a/PKGBUILD b/PKGBUILD
index adcd128b982..bdb0262d9aa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,19 @@
# Maintainer: Simon Legner <Simon.Legner@gmail.com>
pkgbase=meteoio
pkgname=('meteoio' 'meteoio-examples' 'meteoio-docs')
-pkgver=2.7.0
-pkgrel=5
+pkgver=2.8.0
+pkgrel=1
pkgdesc="Make data access easy and safe for numerical simulations in environmental sciences"
arch=('x86_64')
url="https://models.slf.ch/p/meteoio/"
license=('LGPL3')
makedepends=('cmake' 'doxygen')
-source=("https://models.slf.ch/p/meteoio/downloads/get/MeteoIO-$pkgver-src.tar.gz")
+source=("https://models.slf.ch/p/meteoio/downloads/get/MeteoIO-$pkgver-src.tar.gz" exclude_random_numbers.patch)
+
+prepare() {
+ cd "MeteoIO-$pkgver-src"
+ patch -p1 < "$srcdir/exclude_random_numbers.patch"
+}
build() {
cd "MeteoIO-$pkgver-src"
@@ -26,6 +31,7 @@ build() {
package_meteoio() {
cd "MeteoIO-$pkgver-src"
make DESTDIR="$pkgdir/" install
+ rm -r "$pkgdir/usr/share"
}
package_meteoio-examples() {
@@ -42,4 +48,5 @@ package_meteoio-docs() {
cp -r * "$pkgdir/usr/share/doc/meteoio"
}
-sha256sums=('4e5e141c7d56f18b79644116337775c03648e3e011bc1f30bee657afc63fe3ba')
+sha256sums=('4a74896b678bb1b4c9a2248582df76ad2025e6f66aa176049500557f041a98da'
+ '77a043c0f6e5c9d52884e8e149a031aff8ade2d3f86455bf6815db59198103ba')
diff --git a/exclude_random_numbers.patch b/exclude_random_numbers.patch
new file mode 100644
index 00000000000..ee0744f61f9
--- /dev/null
+++ b/exclude_random_numbers.patch
@@ -0,0 +1,14 @@
+diff --git a/doc/examples/CMakeLists.txt b/doc/examples/CMakeLists.txt
+index 28a9962d..c164cc4a 100644
+--- a/doc/examples/CMakeLists.txt
++++ b/doc/examples/CMakeLists.txt
+@@ -55,9 +55,6 @@ TARGET_LINK_LIBRARIES(sun ${METEOIO_LIBRARIES})
+ ADD_EXECUTABLE(time time.cc)
+ TARGET_LINK_LIBRARIES(time ${METEOIO_LIBRARIES})
+
+-ADD_EXECUTABLE(random_numbers random_numbers.cc)
+-TARGET_LINK_LIBRARIES(random_numbers ${METEOIO_LIBRARIES})
+-
+ #####################################################################
+ # add a distclean target
+ ADD_CUSTOM_TARGET(distclean make clean