summarylogtreecommitdiffstats
path: root/ccstudio.install
diff options
context:
space:
mode:
authorAlexei Colin2017-06-21 21:36:51 -0400
committerAlexei Colin2017-06-21 21:36:51 -0400
commit8c3a34b7782c70c17190fb92ef110e22e3d165f5 (patch)
tree902523aa4f9c7cf7bc7e58e1c2de20ad8da77d4a /ccstudio.install
downloadaur-8c3a34b7782c70c17190fb92ef110e22e3d165f5.tar.gz
ccs: package draft
Diffstat (limited to 'ccstudio.install')
-rw-r--r--ccstudio.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/ccstudio.install b/ccstudio.install
new file mode 100644
index 000000000000..05a84810c9c8
--- /dev/null
+++ b/ccstudio.install
@@ -0,0 +1,14 @@
+_dir=/opt/ccstudio/ccsv7
+
+post_install() {
+ echo ">>> To install software from within CCS, run ccstudio as root."
+ echo ">>> For normal usage, run as normal user."
+}
+
+post_remove() {
+ # Since CCS manages its own updates, and treats it's install directory
+ # as its working directory, there's cache and trash left over
+ # NOTE: other directories (${_dir}/tools) might have also been created, but
+ # some are owned by other packages (e.g. compiler), so be conservative.
+ rm -rf ${_dir}/eclipse
+}