diff options
author | Joey Dumont | 2015-06-11 16:03:25 -0400 |
---|---|---|
committer | Joey Dumont | 2015-06-11 16:03:25 -0400 |
commit | 45cf79aeb142fddb8a533f28dcf3c327fd65bf50 (patch) | |
tree | 86c6ba9865d9437bfadda9c89fef25c769288075 /octave-odepkg.install | |
download | aur-45cf79aeb142fddb8a533f28dcf3c327fd65bf50.tar.gz |
Pushed package to AUR4.
Diffstat (limited to 'octave-odepkg.install')
-rw-r--r-- | octave-odepkg.install | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/octave-odepkg.install b/octave-odepkg.install new file mode 100644 index 000000000000..a58a9d5707a4 --- /dev/null +++ b/octave-odepkg.install @@ -0,0 +1,14 @@ +pkg=odepkg + +post_install() { + echo "pkg prefix /usr/share/octave/packages /usr/lib /octave/packages; pkg install -global /usr/share/octave/$pkg.tar.gz" | octave --silent +} + +post_upgrade() { + post_remove + post_install +} + +post_remove() { + echo "pkg prefix /usr/share/octave/packages /usr /lib/octave/packages; pkg uninstall $pkg" | octave --silent +}
\ No newline at end of file |