mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
community/go to 1.1.2-3
This commit is contained in:
parent
ad5c779026
commit
6c635e5fef
1 changed files with 6 additions and 6 deletions
|
@ -14,14 +14,14 @@
|
|||
|
||||
pkgname=go
|
||||
pkgver=1.1.2
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
epoch=2
|
||||
pkgdesc='Compiler and tools for the Go programming language from Google'
|
||||
url='http://golang.org/'
|
||||
license=('custom')
|
||||
depends=('perl' 'gawk')
|
||||
makedepends=('inetutils')
|
||||
options=('!strip')
|
||||
options=('!strip' 'staticlibs')
|
||||
install="$pkgname.install"
|
||||
backup=('usr/lib/go/bin')
|
||||
source=("http://go.googlecode.com/files/${pkgname}$pkgver.src.tar.gz"
|
||||
|
@ -30,7 +30,7 @@ sha256sums=('56f384c973e58c098ec462bcd892a7c1166b9a392461970ddb22d57ed4d495af'
|
|||
'36202a833faeb8ea10760557a1e221025288480bdeebf776c8b610014aadc181')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$pkgname/src"
|
||||
cd "$pkgname/src"
|
||||
|
||||
[ "$CARCH" == 'arm' ] && export GOARM=5
|
||||
[ "$CARCH" == 'armv6h' ] && export GOARM=6
|
||||
|
@ -44,7 +44,7 @@ build() {
|
|||
}
|
||||
|
||||
check() {
|
||||
cd "$srcdir/$pkgname"
|
||||
cd "$pkgname"
|
||||
|
||||
[ "$CARCH" == 'arm' ] && export GOARM=5
|
||||
[ "$CARCH" == 'armv6h' ] && export GOARM=6
|
||||
|
@ -54,12 +54,12 @@ check() {
|
|||
export GOROOT="$srcdir/$pkgname"
|
||||
export PATH="$srcdir/$pkgname/bin:$PATH"
|
||||
|
||||
# TestSimpleMulticastListener will fail in standard chroot.
|
||||
# TestSimpleMulticastListener will fail in standard chroot
|
||||
cd src && bash run.bash --no-rebuild || true
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$pkgname"
|
||||
cd "$pkgname"
|
||||
export GOROOT="$srcdir/$pkgname"
|
||||
|
||||
export GOROOT="$srcdir/$pkgname"
|
||||
|
|
Loading…
Reference in a new issue