diff options
author | Carlos Aznarán | 2024-02-16 15:11:09 -0500 |
---|---|---|
committer | Carlos Aznarán | 2024-02-16 15:11:09 -0500 |
commit | 274c524978ab718eaccabf7c9fb7dc5da01d5216 (patch) | |
tree | 7e34695e73b4ca628f5ceef6ee4352ae4044407c | |
parent | 123eb5ab053b922b7d19f8e94eb0332add5d88cb (diff) | |
download | aur-octave-tablicious.tar.gz |
Bump version to 0.4.2
-rw-r--r-- | octave-tablicious.install | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/octave-tablicious.install b/octave-tablicious.install new file mode 100644 index 000000000000..9d9f26d1a1da --- /dev/null +++ b/octave-tablicious.install @@ -0,0 +1,17 @@ +_pack=tablicious + +_octave_run() { + octave --no-history --no-init-file --no-window-system -q -f --eval "$*" +} + +post_install() { + _octave_run "pkg rebuild -global $_pack" +} + +post_upgrade() { + post_install +} + +post_remove() { + _octave_run "pkg rebuild -global" +}
\ No newline at end of file |