Package Details: snowpack 3.6.0-1

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

Latest Comments

simon04 commented on 2021-05-02 07:31

@bal0r, thank you for the patch. Applied as 3.6.0-1. I've changed the source URL to https://gitlabext.wsl.ch/snow-models/snowpack/-/archive/Snowpack-3.6.0/snowpack-Snowpack-3.6.0.tar.bz2 as master cannot be used for packaging (a non ...-git package).

bal0r commented on 2021-04-20 07:43

Quick and dirty fix – caution: checks out master.

diff --git a/PKGBUILD b/PKGBUILD
index 19a46a4..cfffa59 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Simon Legner <Simon.Legner@gmail.com>
 pkgbase=snowpack
 pkgname=('snowpack' 'snowpack-docs')
-pkgver=3.5.0
+pkgver=3.6.0
 pkgrel=1
 pkgdesc="Make data access easy and safe for numerical simulations in environmental sciences"
 arch=('x86_64')
@@ -9,10 +9,11 @@ url="https://models.slf.ch/p/snowpack/"
 license=('LGPL3')
 depends=('meteoio')
 makedepends=('cmake' 'doxygen')
-source=("https://models.slf.ch/p/snowpack/downloads/get/Snowpack-$pkgver-src.tar.gz")
+source=("https://gitlabext.wsl.ch/snow-models/snowpack/-/archive/master/snowpack-master.tar.gz")
+sha256sums=('68c8b97e198d6ecf7206451b51f44f8079e7882ddaa2c067d4eb5eb6a047de0c')

 build() {
-  cd "Snowpack-$pkgver-src"
+  cd "snowpack-master"
   mkdir -p build
   cmake -DCMAKE_INSTALL_PREFIX=/usr -DINSTALL_DOC=1 .
   make
@@ -20,15 +21,14 @@ build() {
 }

 package_snowpack() {
-  cd "Snowpack-$pkgver-src"
+  cd "snowpack-master"
   make DESTDIR="$pkgdir/" install
   rm -r "$pkgdir/usr/share"
 }

 package_snowpack-docs() {
-  cd "Snowpack-$pkgver-src/doc/html"
+  cd "snowpack-master/doc/html"
   mkdir -p "$pkgdir/usr/share/doc/snowpack"
   cp -r * "$pkgdir/usr/share/doc/snowpack"
 }

-sha256sums=('94cd59a97d3b3d9a40d8af3841207846b317c7c515be327731a02d4d7d37eb75')