mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
community/go to 1.2-1
This commit is contained in:
parent
2db3c103b1
commit
e913aa037e
3 changed files with 10 additions and 13 deletions
|
@ -13,8 +13,8 @@
|
|||
# - Go 1.1beta2 support
|
||||
|
||||
pkgname=go
|
||||
pkgver=1.1.2
|
||||
pkgrel=3
|
||||
pkgver=1.2
|
||||
pkgrel=1
|
||||
epoch=2
|
||||
pkgdesc='Compiler and tools for the Go programming language from Google'
|
||||
url='http://golang.org/'
|
||||
|
@ -22,11 +22,12 @@ license=('custom')
|
|||
depends=('perl' 'gawk')
|
||||
makedepends=('inetutils')
|
||||
options=('!strip' 'staticlibs')
|
||||
optdepends=('liteide: IDE for editing and building projects written in Go')
|
||||
install="$pkgname.install"
|
||||
backup=('usr/lib/go/bin')
|
||||
source=("http://go.googlecode.com/files/${pkgname}$pkgver.src.tar.gz"
|
||||
"$pkgname.sh")
|
||||
sha256sums=('56f384c973e58c098ec462bcd892a7c1166b9a392461970ddb22d57ed4d495af'
|
||||
sha256sums=('9ab83fb8eafe39f4204ef0f8e84e5ff7e8f1d533ddb05f51e6dc81503e8c0ae4'
|
||||
'36202a833faeb8ea10760557a1e221025288480bdeebf776c8b610014aadc181')
|
||||
|
||||
build() {
|
||||
|
|
|
@ -1,13 +1,10 @@
|
|||
post_upgrade() {
|
||||
# Friendly message to the user
|
||||
echo "Example use of the \"go\" tool as a user:"
|
||||
echo " mkdir ~/go"
|
||||
echo " export GOPATH=~/go"
|
||||
echo " go get website.com/user/module"
|
||||
}
|
||||
|
||||
post_install() {
|
||||
post_upgrade
|
||||
# Friendly message for new users
|
||||
echo "Example use of the \"go\" tool:"
|
||||
echo ' mkdir ~/mygoproject'
|
||||
echo ' export GOPATH=~/mygoproject'
|
||||
echo ' export PATH=\$PATH:\$GOPATH/bin'
|
||||
echo ' go get github.com/codegangsta/martini'
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
export GOPATH=/usr/lib/go/site
|
||||
export GOROOT=/usr/lib/go
|
||||
|
|
Loading…
Reference in a new issue