summaryrefslogtreecommitdiff
path: root/pcr/octave-control
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/octave-control')
-rw-r--r--pcr/octave-control/PKGBUILD9
-rw-r--r--pcr/octave-control/octave-control.install6
2 files changed, 7 insertions, 8 deletions
diff --git a/pcr/octave-control/PKGBUILD b/pcr/octave-control/PKGBUILD
index 3db8a4593..4ea2c6496 100644
--- a/pcr/octave-control/PKGBUILD
+++ b/pcr/octave-control/PKGBUILD
@@ -1,6 +1,6 @@
#
-# Contributor : Clemens Buchacher <drizzd@aon.at>
-# Maintainer : Aurélien DESBRIÈRES <aurelien@hackers.camp>
+# Maintainer (Arch): Clemens Buchacher <drizzd@aon.at>
+# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
#
# You can use the newpkg script from
# https://github.com/drizzd/octave-forge-archlinux to automatically generate
@@ -9,14 +9,14 @@
_pack=control
pkgname=octave-$_pack
-pkgver=2.6.4
+pkgver=2.8.0
pkgrel=1
pkgdesc="Computer-Aided Control System Design (CACSD) Tools for GNU Octave, based on the proven SLICOT Library"
arch=(any)
url="http://octave.sourceforge.net/$_pack/"
license=('GPL3')
groups=('octave-forge')
-depends=('octave>=3.6.0')
+depends=('octave>=3.8.0')
makedepends=('gcc-fortran')
optdepends=()
backup=()
@@ -25,6 +25,7 @@ install=$pkgname.install
_archive=$_pack-$pkgver.tar.gz
source=("http://downloads.sourceforge.net/octave/$_archive")
noextract=("$_archive")
+md5sums=('0a2f043b8a80323ab58c1d9641cf411a')
build() {
cd "$srcdir"
diff --git a/pcr/octave-control/octave-control.install b/pcr/octave-control/octave-control.install
index 2ddb42de9..36e195ce7 100644
--- a/pcr/octave-control/octave-control.install
+++ b/pcr/octave-control/octave-control.install
@@ -1,10 +1,8 @@
_pack=control
-_prefix=/usr/share/octave/packages
-_libdir=/usr/lib/octave/packages
## arg 1: the new package version
post_install() {
- octave -q -f --eval "pkg prefix $prefix $libdir; pkg install -verbose -global /usr/share/octave/$_pack.tar.gz"
+ octave -q -f --eval "pkg install -verbose -global /usr/share/octave/$_pack.tar.gz"
}
## arg 1: the new package version
@@ -16,5 +14,5 @@ post_upgrade() {
## arg 1: the old package version
post_remove() {
- octave -q -f --eval "pkg prefix $prefix $libdir; pkg uninstall $_pack; pkg rebuild -global"
+ octave -q -f --eval "pkg uninstall $_pack; pkg rebuild -global"
}