summaryrefslogtreecommitdiff
path: root/pcr/octave-image/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/octave-image/PKGBUILD')
-rw-r--r--pcr/octave-image/PKGBUILD10
1 files changed, 7 insertions, 3 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;