summarylogtreecommitdiffstats
path: root/path.install
diff options
context:
space:
mode:
authorMichael Riegert2021-05-02 17:30:17 -0400
committerMichael Riegert2021-05-02 17:30:17 -0400
commit44954a3fc4f06b95d27ce172203107d4e339fc68 (patch)
treea4d27baca5169354df0f4f86a40b3d212097e380 /path.install
parent2d885db3047abac05014d2cfbadca4f8ffcc4415 (diff)
downloadaur-44954a3fc4f06b95d27ce172203107d4e339fc68.tar.gz
Install to /opt/fpga-toolchain instead
Diffstat (limited to 'path.install')
-rw-r--r--path.install13
1 files changed, 13 insertions, 0 deletions
diff --git a/path.install b/path.install
new file mode 100644
index 000000000000..091206392b82
--- /dev/null
+++ b/path.install
@@ -0,0 +1,13 @@
+post_install() {
+ cat <<HERE
+Set GHDL_PREFIX variable to /opt/fpga-toolchain/lib/ghdl in your profile
+e. g. like this:
+ echo 'export GHDL_PREFIX=/opt/fpga-toolchain/lib/ghdl' >>~/.profile
+Add /opt/fpga-toolchain/bin to your PATH:
+ echo 'export PATH=/opt/fpga-toolchain/bin:\$PATH' >> ~/.profile
+HERE
+}
+
+post_upgrade() {
+ post_install
+}