diff options
author | wangjiezhe | 2015-10-28 17:33:17 +0800 |
---|---|---|
committer | wangjiezhe | 2015-10-28 17:33:17 +0800 |
commit | 963b92c5e87af0d98df7701c4025fcdd559a0779 (patch) | |
tree | c9b165e579070b9d75b7f4c36c27d3256c394db5 /PKGBUILD | |
parent | cc6be014c90b6bda044578d5ab6b4423cb7db148 (diff) | |
download | aur-963b92c5e87af0d98df7701c4025fcdd559a0779.tar.gz |
Use _octave_run
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -10,7 +10,7 @@ _pack=tsa pkgname=octave-$_pack pkgver=4.3.2 -pkgrel=1 +pkgrel=2 pkgdesc="Stochastic concepts and maximum entropy methods for time series analysis" arch=(any) url="http://octave.sourceforge.net/$_pack/" @@ -27,6 +27,10 @@ source=("http://downloads.sourceforge.net/octave/$_archive") noextract=("$_archive") md5sums=('8aaddde1714576c15872cb0997eefaa6') +_octave_run() { + octave --no-history --no-init-file --no-window-system -q -f --eval "$*" +} + _install_dir() { src=$1 dst=$2 @@ -39,7 +43,7 @@ build() { _archprefix="$srcdir"/install_archprefix mkdir -p "$_prefix" "$_archprefix" cd "$srcdir" - octave-cli -q -f --eval "$(cat <<-EOF + _octave_run "$(cat <<-EOF pkg local_list octave_packages; pkg prefix $_prefix $_archprefix; pkg install -verbose -nodeps $_archive; |