mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
community/go to 1.2.2-1
This commit is contained in:
parent
8ed1667d74
commit
4bab905dc3
1 changed files with 7 additions and 4 deletions
|
@ -16,8 +16,8 @@
|
|||
|
||||
pkgname=go
|
||||
epoch=2
|
||||
pkgver=1.2.1
|
||||
pkgrel=5
|
||||
pkgver=1.2.2
|
||||
pkgrel=1
|
||||
pkgdesc='Compiler and tools for the Go programming language from Google'
|
||||
url='http://golang.org/'
|
||||
license=('custom')
|
||||
|
@ -29,7 +29,7 @@ optdepends=('mercurial: for fetching sources from mercurial repositories'
|
|||
'bzr: for fetching sources from bazaar repositories'
|
||||
'subversion: for fetching sources from subversion repositories')
|
||||
install="$pkgname.install"
|
||||
source=("$pkgname-$pkgver::hg+https://code.google.com/p/$pkgname#branch=release-branch.$pkgname${pkgver/.1}")
|
||||
source=("$pkgname-$pkgver::hg+https://code.google.com/p/$pkgname#tag=$pkgname$pkgver")
|
||||
md5sums=('SKIP')
|
||||
|
||||
build() {
|
||||
|
@ -44,6 +44,7 @@ build() {
|
|||
export GOOS=linux
|
||||
export GOPATH="$srcdir/"
|
||||
export GOROOT="$srcdir/$pkgname-$pkgver"
|
||||
export GOBIN="$GOROOT/bin"
|
||||
|
||||
bash make.bash
|
||||
|
||||
|
@ -64,6 +65,7 @@ check() {
|
|||
|
||||
export GOARCH=arm
|
||||
export GOROOT="$srcdir/$pkgname-$pkgver"
|
||||
export GOBIN="$GOROOT/bin"
|
||||
export PATH="$srcdir/$pkgname-$pkgver/bin:$PATH"
|
||||
|
||||
# TestSimpleMulticastListener will fail in standard chroot
|
||||
|
@ -74,8 +76,9 @@ package() {
|
|||
cd "$pkgname-$pkgver"
|
||||
|
||||
export GOROOT="$srcdir/$pkgname-$pkgver"
|
||||
export GOBIN="$GOROOT/bin"
|
||||
|
||||
install -Dm755 ../godoc "$pkgdir/usr/bin/godoc"
|
||||
install -Dm755 "$srcdir/godoc" "$pkgdir/usr/bin/godoc"
|
||||
|
||||
install -Dm644 LICENSE \
|
||||
"$pkgdir/usr/share/licenses/go/LICENSE"
|
||||
|
|
Loading…
Reference in a new issue