summarylogtreecommitdiffstats
path: root/microchip-mplabxc16-bin.install
diff options
context:
space:
mode:
authorGrey Christoforo2015-06-21 11:49:56 +0200
committerGrey Christoforo2015-06-21 11:49:56 +0200
commit744a1568988d7c1153d5030b4fa6cee70f40e347 (patch)
tree853fbc41495f16d38a5814201e7f5287cb603337 /microchip-mplabxc16-bin.install
parent2b290cbeaf2b4bd817c914681702410688b30148 (diff)
downloadaur-744a1568988d7c1153d5030b4fa6cee70f40e347.tar.gz
switch to unpacking the installer binary instead of running it
Diffstat (limited to 'microchip-mplabxc16-bin.install')
-rw-r--r--microchip-mplabxc16-bin.install15
1 files changed, 8 insertions, 7 deletions
diff --git a/microchip-mplabxc16-bin.install b/microchip-mplabxc16-bin.install
index 80969b9bfee5..0fd8e6bf6786 100644
--- a/microchip-mplabxc16-bin.install
+++ b/microchip-mplabxc16-bin.install
@@ -1,5 +1,10 @@
post_install() {
- echo "
+ echo '
+This package provides a file: /etc/profile.d/xc16-toolchain-bin.sh
+It will add the toolchain binaries to the PATH variable for every user.
+It also defines XC16_TOOLCHAIN_ROOT pointing to the toolchain install dir.
+Log out and log back in to update your environment varibles.
+
Before using MPLAB_XC16 you have to agree with the LICENSE at:
/usr/share/licenses/microchip-mplabxc16-bin/LICENSE
@@ -7,10 +12,6 @@ For using MPLAB_XC16 with MPLAB_X (microchip-mplabx-bin), in MPLAB_X go to:
Tools->Options->Embedded->Add
and enter:
-/opt/microchip/xc16/v1.23/bin
-"
-}
-
-post_upgrade() {
- post_install
+$XC16_TOOLCHAIN_ROOT/bin
+'
}