diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2016-10-21 16:32:20 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2016-10-21 16:32:20 -0500 |
commit | efd299a57ba296ea9fff89e93a12f3164b1482d3 (patch) | |
tree | 6cd6a74fa2123194f443d5d961a0faac3a625af0 /pcr | |
parent | 81067276fc9a562019034782042be6b25d331c5b (diff) | |
download | abslibre-efd299a57ba296ea9fff89e93a12f3164b1482d3.tar.gz abslibre-efd299a57ba296ea9fff89e93a12f3164b1482d3.tar.bz2 abslibre-efd299a57ba296ea9fff89e93a12f3164b1482d3.zip |
octave-image-2.6.0: updating version
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/octave-image/PKGBUILD | 10 | ||||
-rw-r--r-- | pcr/octave-image/octave-image.install | 8 |
2 files changed, 13 insertions, 5 deletions
diff --git a/pcr/octave-image/PKGBUILD b/pcr/octave-image/PKGBUILD index be13c904c..379da8858 100644 --- a/pcr/octave-image/PKGBUILD +++ b/pcr/octave-image/PKGBUILD @@ -11,7 +11,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) @@ -27,7 +27,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 @@ -41,7 +45,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; diff --git a/pcr/octave-image/octave-image.install b/pcr/octave-image/octave-image.install index 7c9ea5667..f86e8d16c 100644 --- a/pcr/octave-image/octave-image.install +++ b/pcr/octave-image/octave-image.install @@ -1,7 +1,11 @@ _pack=image +_octave_run() { + octave --no-history --no-init-file --no-window-system -q -f --eval "$*" +} + post_install() { - octave -q -f --eval "pkg rebuild -global $_pack" + _octave_run "pkg rebuild -global $_pack" } post_upgrade() { @@ -9,5 +13,5 @@ post_upgrade() { } post_remove() { - octave -q -f --eval "pkg rebuild -global" + _octave_run "pkg rebuild -global" } |