diff options
author | wangjiezhe | 2015-11-23 19:59:01 +0800 |
---|---|---|
committer | wangjiezhe | 2015-11-23 19:59:35 +0800 |
commit | a0c1dba26f03e82f839517be0fa5c48171e1f56f (patch) | |
tree | b8cb31215fb06b29edc7a0c4ece3773c0fa9f709 /PKGBUILD | |
parent | c2a2c76cbd80daf1de4a2f9fc5910948e77603d6 (diff) | |
download | aur-a0c1dba26f03e82f839517be0fa5c48171e1f56f.tar.gz |
linear-algebra 2.2.2
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -8,7 +8,7 @@ _pack=linear-algebra pkgname=octave-$_pack -pkgver=2.2.1 +pkgver=2.2.2 pkgrel=2 pkgdesc="Additional linear algebra code, including general SVD and matrix functions." arch=(any) @@ -24,7 +24,11 @@ install=$pkgname.install _archive=$_pack-$pkgver.tar.gz source=("http://downloads.sourceforge.net/octave/$_archive") noextract=("$_archive") -md5sums=('99bb7f404d06447f379fb3100cc46c64') +md5sums=('702461982f6028addf00bac1d0b31538') + +_octave_run() { + octave --no-history --no-init-file --no-window-system -q -f --eval "$*" +} _install_dir() { src=$1 @@ -38,7 +42,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; |