mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
community/go to 1.7.4-1
This commit is contained in:
parent
f83881a120
commit
848137e592
2 changed files with 3 additions and 18 deletions
|
@ -14,7 +14,7 @@
|
|||
# - added switches for our architectures
|
||||
|
||||
pkgname=('go' 'go-tools')
|
||||
pkgver=1.7.3
|
||||
pkgver=1.7.4
|
||||
pkgrel=1
|
||||
epoch=2
|
||||
arch=('arm' 'armv6h' 'armv7h' 'aarch64')
|
||||
|
@ -122,7 +122,7 @@ package_go() {
|
|||
|
||||
package_go-tools() {
|
||||
pkgdesc='Developer tools for the Go programming language (includes godoc)'
|
||||
depends=('go>2:1.5.3-1')
|
||||
depends=('go')
|
||||
|
||||
GOOS=linux
|
||||
|
||||
|
|
|
@ -1,20 +1,5 @@
|
|||
post_install() {
|
||||
# Friendly message for new users
|
||||
echo
|
||||
echo 'The "liteide" package provides an IDE for editing and building Go projects.'
|
||||
echo
|
||||
echo 'Example use of the "go" tool:'
|
||||
echo
|
||||
echo ' mkdir ~/go'
|
||||
echo ' export GOPATH=~/go'
|
||||
echo ' export PATH=$PATH:~/go/bin'
|
||||
echo ' go get golang.org/x/tour/gotour'
|
||||
echo
|
||||
post_upgrade
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
# This is needed to avoid problems like FS#41561 and FS#44099
|
||||
# Fixes FS#41561 and FS#44099
|
||||
go install std 2> /dev/null || return 0
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue