summarylogtreecommitdiffstats
path: root/octave-specfun.install
diff options
context:
space:
mode:
authorClemens Buchacher2015-06-10 10:46:18 +0200
committerClemens Buchacher2015-06-10 10:46:18 +0200
commit7ff7e30209a89fdb7ad272f4f60fe5c3c57deb22 (patch)
tree4e67b3555c3753d569abcb46d7b4d6ee782b48f0 /octave-specfun.install
downloadaur-7ff7e30209a89fdb7ad272f4f60fe5c3c57deb22.tar.gz
specfun 1.1.0-3
Diffstat (limited to 'octave-specfun.install')
-rw-r--r--octave-specfun.install13
1 files changed, 13 insertions, 0 deletions
diff --git a/octave-specfun.install b/octave-specfun.install
new file mode 100644
index 000000000000..70146cb0fa91
--- /dev/null
+++ b/octave-specfun.install
@@ -0,0 +1,13 @@
+_pack=specfun
+
+post_install() {
+ octave -q -f --eval "pkg rebuild -global $_pack"
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ octave -q -f --eval "pkg rebuild -global"
+}