summarylogtreecommitdiffstats
path: root/octave-ga.install
diff options
context:
space:
mode:
authorwangjiezhe2015-10-27 11:13:44 +0800
committerwangjiezhe2015-10-27 11:13:44 +0800
commit58c6adcb95ffc5bb15c25c89e86d54887110b491 (patch)
tree1bd13d01e1122f77b88adf289de383517a3e9a3d /octave-ga.install
downloadaur-58c6adcb95ffc5bb15c25c89e86d54887110b491.tar.gz
Initial commit
Diffstat (limited to 'octave-ga.install')
-rw-r--r--octave-ga.install13
1 files changed, 13 insertions, 0 deletions
diff --git a/octave-ga.install b/octave-ga.install
new file mode 100644
index 000000000000..a78be6d05cea
--- /dev/null
+++ b/octave-ga.install
@@ -0,0 +1,13 @@
+_pack=ga
+
+post_install() {
+ octave-cli -q -f --eval "pkg rebuild -global $_pack"
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ octave-cli -q -f --eval "pkg rebuild -global"
+}