summaryrefslogtreecommitdiff
path: root/pcr/octave-control/PKGBUILD
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-11-30 18:59:37 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-11-30 18:59:37 -0500
commit93b5e7b7fff8205170825e2d41da815960b1cc6d (patch)
treeb00aae4d517b60285571ffe697e86b46939ae3c3 /pcr/octave-control/PKGBUILD
parent61233836b07b962ac71ccaa839bf5f22903999ba (diff)
octave-control-3.0.0-1: updating version
Diffstat (limited to 'pcr/octave-control/PKGBUILD')
-rw-r--r--pcr/octave-control/PKGBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/pcr/octave-control/PKGBUILD b/pcr/octave-control/PKGBUILD
index ad28841c8..4306d73b2 100644
--- a/pcr/octave-control/PKGBUILD
+++ b/pcr/octave-control/PKGBUILD
@@ -9,7 +9,7 @@
_pack=control
pkgname=octave-$_pack
-pkgver=2.8.1
+pkgver=3.0.0
pkgrel=1
pkgdesc="Computer-Aided Control System Design (CACSD) Tools for GNU Octave, based on the proven SLICOT Library"
arch=(any)
@@ -25,7 +25,11 @@ install=$pkgname.install
_archive=$_pack-$pkgver.tar.gz
source=("http://downloads.sourceforge.net/octave/$_archive")
noextract=("$_archive")
-md5sums=('0b6141a0937c9be83cabb49256d0f3c8')
+md5sums=('9fc314723673578f7d8ecd065a6a846d')
+
+_octave_run() {
+ octave --no-history --no-init-file --no-window-system -q -f --eval "$*"
+}
_install_dir() {
src=$1
@@ -39,7 +43,7 @@ build() {
_archprefix="$srcdir"/install_archprefix
mkdir -p "$_prefix" "$_archprefix"
cd "$srcdir"
- octave -q -f --eval "$(cat <<-EOF
+ _octave_run "$(cat <<-EOF
pkg local_list octave_packages;
pkg prefix $_prefix $_archprefix;
pkg install -verbose -nodeps $_archive;