Package Details: meteoio-docs 2.9.0-2

Git Clone URL: https://aur.archlinux.org/meteoio.git (read-only, click to copy)
Package Base: meteoio
Description: Make data access easy and safe for numerical simulations in environmental sciences
Upstream URL: https://models.slf.ch/p/meteoio/
Licenses: LGPL3
Submitter: simon04
Maintainer: simon04
Last Packager: simon04
Votes: 0
Popularity: 0.000000
First Submitted: 2018-11-20 16:43 (UTC)
Last Updated: 2021-05-02 07:23 (UTC)

Latest Comments

simon04 commented on 2021-05-02 07:24 (UTC)

@bal0r, thank you for the patch. Applied as 2.9.0-2.

bal0r commented on 2021-04-20 07:26 (UTC) (edited on 2021-04-20 07:26 (UTC) by bal0r)

diff --git a/PKGBUILD b/PKGBUILD
index 25d83fd..ca27ff4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,14 +8,15 @@ 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://gitlabext.wsl.ch/snow-models/meteoio/-/archive/MeteoIO-$pkgver/meteoio-MeteoIO-$pkgver.tar.gz")
+sha256sums=('d7466720899689143514da658e8473ce2db8e9b40f4131924537198dc9c1f164')

 prepare() {
-  cd "MeteoIO-$pkgver-src"
+  cd "meteoio-MeteoIO-$pkgver"
 }

 build() {
-  cd "MeteoIO-$pkgver-src"
+  cd "meteoio-MeteoIO-$pkgver"
   mkdir -p build
   cmake -DCMAKE_INSTALL_PREFIX=/usr -DINSTALL_DOC=1 .
   make
@@ -28,13 +29,13 @@ build() {
 }

 package_meteoio() {
-  cd "MeteoIO-$pkgver-src"
+  cd "meteoio-MeteoIO-$pkgver"
   make DESTDIR="$pkgdir/" install
   rm -r "$pkgdir/usr/share"
 }

 package_meteoio-examples() {
-  cd "MeteoIO-$pkgver-src/doc/examples/build"
+  cd "meteoio-MeteoIO-$pkgver/doc/examples/build"
   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 -vDm755 $example "$pkgdir/usr/bin/meteoio_$example"
@@ -42,9 +43,8 @@ package_meteoio-examples() {
 }

 package_meteoio-docs() {
-  cd "MeteoIO-$pkgver-src/doc/html"
+  cd "meteoio-MeteoIO-$pkgver/doc/html"
   mkdir -p "$pkgdir/usr/share/doc/meteoio"
   cp -r * "$pkgdir/usr/share/doc/meteoio"
 }

-sha256sums=('681424f55e0f7d1e39871834a84c74f832e689029732930e219755d85f570d6f')