author | Alexander Rødseth
<xyproto@archlinux.org> 2016-12-02 09:42:32 UTC |
committer | Alexander Rødseth
<xyproto@archlinux.org> 2016-12-02 09:42:32 UTC |
parent | e97a259c3f1e5603e109167a61e93ab578aad70c |
PKGBUILD | +2 | -2 |
go.install | +1 | -16 |
diff --git a/PKGBUILD b/PKGBUILD index 6b7c595..7d47e7a 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -10,7 +10,7 @@ # Contributor: John Luebs <jkluebs@gmail.com> pkgname=('go' 'go-tools') -pkgver=1.7.3 +pkgver=1.7.4 pkgrel=1 epoch=2 arch=('x86_64' 'i686') @@ -159,7 +159,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 case "$CARCH" in diff --git a/go.install b/go.install index 3be80f8..c96b545 100644 --- a/go.install +++ b/go.install @@ -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 }