PKGBUILDs/community/go/go.install

22 lines
513 B
Plaintext
Raw Normal View History

2012-11-22 18:49:32 +00:00
post_install() {
2013-12-02 15:18:29 +00:00
# Friendly message for new users
2014-01-27 17:32:44 +00:00
echo
2014-03-26 13:05:40 +00:00
echo 'The "liteide" package provides an IDE for editing and building Go projects.'
echo
2014-01-27 17:32:44 +00:00
echo 'Example use of the "go" tool:'
echo
echo ' mkdir ~/go'
echo ' export GOPATH=~/go'
echo ' export PATH=$PATH:~/go/bin'
2015-03-24 18:19:57 +00:00
echo ' go get golang.org/x/tour/gotour'
2014-01-27 17:32:44 +00:00
echo
2015-03-24 18:19:57 +00:00
post_upgrade
}
post_upgrade() {
# This is needed to avoid problems like FS#41561 and FS#44099
go install std 2> /dev/null || return 0
2014-08-27 18:54:43 +00:00
}
2012-11-22 18:49:32 +00:00
# vim:set ts=2 sw=2 et: