octave: update to 5.2.0.

This commit is contained in:
Piraty 2020-03-07 16:02:13 +01:00
parent 6eb1a56721
commit c48cf123ba

View file

@ -1,6 +1,6 @@
# Template file for 'octave'
pkgname=octave
version=5.1.0
version=5.2.0
revision=1
build_style=gnu-configure
configure_args=" --with-blas=openblas --with-lapack=openblas"
@ -13,7 +13,7 @@ maintainer="Diogo Leal <diogo@diogoleal.com>"
license="GPL-3.0-or-later"
homepage="https://gnu.org/software/octave/"
distfiles="${GNU_SITE}/octave/octave-${version}.tar.gz"
checksum=e36b1124cac27c7caa51cc57de408c31676d5f0096349b4d50b57bfe1bcd7495
checksum=2fea62b3c78d6f38e9451da8a4d26023840725977dffee5250d3d180f56595e1
# Package build options
# TODO: some options are still missing, such as
@ -77,12 +77,6 @@ pre_build() {
chmod +x build-aux/mk-opts.pl
}
post_build() {
# Remove references to hardening -specs.
vsed -e "s|\(-specs=.*hardened-ld\)||g" -e "s|\(-specs=.*hardened-cc1\)||g" \
-i src/mkoctfile.cc libinterp/build-env.cc
}
post_install() {
# add helper to launch octave from dmenu etc.
printf "#!/bin/sh\noctave --gui" > octave-gui