summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Legner2018-11-21 08:41:11 +0100
committerSimon Legner2018-11-21 08:41:11 +0100
commit01c71c4e1fb2af5cf5ab62ed79d66aa4d8d6c297 (patch)
tree3bae6f734656be21574efb4224ce274235f9ec46
parent659310741961e725550f3a38e654d6320b16f135 (diff)
downloadaur-01c71c4e1fb2af5cf5ab62ed79d66aa4d8d6c297.tar.gz
2.7.0-3: fix meteoio-examples
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2a42be6ec8b..4845b8631ba 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = meteoio
pkgdesc = Make data access easy and safe for numerical simulations in environmental sciences
pkgver = 2.7.0
- pkgrel = 2
+ pkgrel = 3
url = https://models.slf.ch/p/meteoio/
arch = x86_64
license = LGPL3
diff --git a/PKGBUILD b/PKGBUILD
index 9780ab7fe84..2526d71a5a0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgbase=meteoio
pkgname=('meteoio' 'meteoio-examples')
pkgver=2.7.0
-pkgrel=2
+pkgrel=3
pkgdesc="Make data access easy and safe for numerical simulations in environmental sciences"
arch=('x86_64')
url="https://models.slf.ch/p/meteoio/"
@@ -21,6 +21,7 @@ build() {
mkdir -p build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
+ make
}
package_meteoio() {
@@ -30,9 +31,9 @@ package_meteoio() {
package_meteoio-examples() {
cd "MeteoIO-$pkgver-src/doc/examples/build"
- find -executable
+ install -vDm644 ../io.ini "$pkgdir/usr/share/meteoio/io.ini"
for example in 2D_interpolations coordinates data_converter dem_reading grid2d_reading matrix meteo_reading sun time; do
- install -Dm755 $example "$pkgdir/usr/bin/meteoio_$example"
+ install -vDm755 $example "$pkgdir/usr/bin/meteoio_$example"
done
}