update to 2.30.0

This commit is contained in:
sukanka 2022-07-02 13:45:27 +08:00
parent 8dc3b1c9e5
commit aeccf782f2
2 changed files with 11 additions and 11 deletions

View file

@ -1,7 +1,7 @@
pkgbase = stanc
pkgdesc = A package for obtaining Bayesian inference using the No-U-Turn sampler, a variant of Hamiltonian Monte Carlo.
pkgver = 2.29.2
pkgrel = 2
pkgver = 2.30.0
pkgrel = 1
url = http://mc-stan.org/
arch = i686
arch = x86_64
@ -11,7 +11,7 @@ pkgbase = stanc
makedepends = doxygen
depends = gcc-libs
provides = cmdstan
source = https://github.com/stan-dev/cmdstan/releases/download/v2.29.2/cmdstan-2.29.2.tar.gz
sha512sums = 8b1485c8832fa283307b87c491f259432a7284f4975d21e5424f3b1be0ca9bf1012443c0be1b01b09aecbff40f3d1bb6031abe3bb89d8e64380f61ed9d1ffec3
source = https://github.com/stan-dev/cmdstan/releases/download/v2.30.0/cmdstan-2.30.0.tar.gz
sha512sums = e304087437419bc137c2befd35b612c88075a5a660f519177098004f0546d267cceba3df363d68dc4c62392cc310dc07db01023e83e63a3f6e95c5cd6130dbbf
pkgname = stanc

View file

@ -3,13 +3,13 @@
pkgname='stanc'
pkgdesc="A package for obtaining Bayesian inference using the No-U-Turn sampler, a variant of Hamiltonian Monte Carlo."
pkgver=2.29.2
pkgrel=2
pkgver=2.30.0
pkgrel=1
arch=('i686' 'x86_64')
url='http://mc-stan.org/'
license=('BSD')
depends=('gcc-libs')
makedepends=('texlive-bin' 'texlive-core' 'doxygen'
makedepends=('texlive-bin' 'texlive-core' 'doxygen'
# needed if compile against system library
# 'gtest' 'benchmark' 'sundials' 'boost' 'eigen' 'tbb' 'stanmath'
@ -17,7 +17,7 @@ makedepends=('texlive-bin' 'texlive-core' 'doxygen'
)
provides=("cmdstan")
source=(https://github.com/stan-dev/cmdstan/releases/download/v$pkgver/cmdstan-$pkgver.tar.gz)
sha512sums=('8b1485c8832fa283307b87c491f259432a7284f4975d21e5424f3b1be0ca9bf1012443c0be1b01b09aecbff40f3d1bb6031abe3bb89d8e64380f61ed9d1ffec3')
sha512sums=('e304087437419bc137c2befd35b612c88075a5a660f519177098004f0546d267cceba3df363d68dc4c62392cc310dc07db01023e83e63a3f6e95c5cd6130dbbf')
build() {
cd "${srcdir}/cmdstan-${pkgver}"
@ -33,7 +33,7 @@ check() {
package() {
cd "${srcdir}/cmdstan-${pkgver}"
# Stan's makefile doesn't have a make install command...
# Install binaries:
install -dm755 "${pkgdir}/usr/bin"
@ -46,8 +46,8 @@ package() {
install -dm755 "${pkgdir}/usr/include/stan"
cd "stan/src"
find . -iregex './stan.*.hpp$' -type f -exec install -DTm644 "{}" "${pkgdir}/usr/include/{}" \;
cd ../..
cd ../..
# Install LICENSE file:
install -dm755 "${pkgdir}/usr/share/licenses/stan"
cp -r "stan/licenses/." "${pkgdir}/usr/share/licenses/stan/."