summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMadPhysicist2017-06-29 00:19:47 -0400
committerMadPhysicist2017-06-29 00:19:47 -0400
commit3e5a0ff7dcc94ae75bad8e57f1ee27e56d4b5f6f (patch)
treeab211c22f22a2ea3e4803fc0a2366d86e0b7fdf2
parent98258b6f7f9d41ace03175e04f6ade6c9c91b8cc (diff)
downloadaur-3e5a0ff7dcc94ae75bad8e57f1ee27e56d4b5f6f.tar.gz
Updated install hooks
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD2
-rw-r--r--octave-splines.install4
3 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 01a243b6a39..1930b01954b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Thu Jun 29 04:15:56 UTC 2017
+# Thu Jun 29 04:19:33 UTC 2017
pkgbase = octave-splines
pkgdesc = Additional spline functions.
pkgver = 1.3.2
- pkgrel = 1
+ pkgrel = 2
url = http://octave.sourceforge.net/splines/
install = octave-splines.install
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index a880cefd614..e89fde17aa5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@
_pack=splines
pkgname=octave-$_pack
pkgver=1.3.2
-pkgrel=1
+pkgrel=2
pkgdesc="Additional spline functions."
arch=(any)
url="http://octave.sourceforge.net/${_pack}/"
diff --git a/octave-splines.install b/octave-splines.install
index d2b7f84cecf..8cce2f25276 100644
--- a/octave-splines.install
+++ b/octave-splines.install
@@ -4,7 +4,7 @@ _libdir=/usr/lib/octave/packages
## arg 1: the new package version
post_install() {
- octave-cli -q -f --eval "pkg prefix $prefix $libdir; pkg install -verbose -global /usr/share/octave/$_pack.tar.gz"
+ octave-cli -q -f --eval "pkg prefix $_prefix $_libdir; pkg install -verbose -global /usr/share/octave/$_pack.tar.gz"
}
## arg 1: the new package version
@@ -16,5 +16,5 @@ post_upgrade() {
## arg 1: the old package version
post_remove() {
- octave-cli -q -f --eval "pkg prefix $prefix $libdir; pkg uninstall $_pack; pkg rebuild -global"
+ octave-cli -q -f --eval "pkg prefix $_prefix $_libdir; pkg uninstall $_pack; pkg rebuild -global"
}