diff options
author | wangjiezhe | 2016-10-05 21:17:03 +0800 |
---|---|---|
committer | wangjiezhe | 2016-10-05 21:17:03 +0800 |
commit | e9e2370bb0c21e2ff32ec3960fe7787d25a41840 (patch) | |
tree | 57f275a224df572a016a27891f1b0c7b6f705f1f /PKGBUILD | |
parent | a71bc339e91d66d47029a95993165c40a4a6e066 (diff) | |
download | aur-e9e2370bb0c21e2ff32ec3960fe7787d25a41840.tar.gz |
image 2.6.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -10,7 +10,7 @@ _pack=image pkgname=octave-$_pack -pkgver=2.4.1 +pkgver=2.6.0 pkgrel=1 pkgdesc="The Octave-forge Image package provides functions for processing images. The package also provides functions for feature extraction, image statistics, spatial and geometric transformations, morphological operations, linear filtering, and much more." arch=(any) @@ -26,7 +26,11 @@ install=$pkgname.install _archive=$_pack-$pkgver.tar.gz source=("http://downloads.sourceforge.net/octave/$_archive") noextract=("$_archive") -md5sums=('ec07f0c9daf824e908881d95a65fbe82') +md5sums=('493621de06fe25ccb48901d762164d9c') + +_octave_run() { + octave --no-history --no-init-file --no-window-system -q -f --eval "$*" +} _install_dir() { src=$1 @@ -40,7 +44,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; |