go: update to 1.2.
This commit is contained in:
parent
e15dade6a0
commit
b8607a3275
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'go'
|
||||
pkgname=go
|
||||
version=1.1
|
||||
version=1.2
|
||||
revision=1
|
||||
wrksrc=go
|
||||
nostrip=yes
|
||||
|
@ -11,16 +11,7 @@ maintainer="Juan RP <xtraeme@gmail.com>"
|
|||
homepage="http://golang.org/"
|
||||
license="BSD"
|
||||
distfiles="http://go.googlecode.com/files/go${version}.src.tar.gz"
|
||||
checksum="bf1d057d8386e840f9cd3f787252e26d8ee196852e9232a6f9ce762337b19cb6"
|
||||
long_desc="
|
||||
The Go programming language is an open source project to make programmers
|
||||
more productive. Go is expressive, concise, clean, and efficient. Its
|
||||
concurrency mechanisms make it easy to write programs that get the most out
|
||||
of multicore and networked machines, while its novel type system enables
|
||||
flexible and modular program construction. Go compiles quickly to machine
|
||||
code yet has the convenience of garbage collection and the power of run-time
|
||||
reflection. It's a fast, statically typed, compiled language that feels like
|
||||
a dynamically typed, interpreted language."
|
||||
checksum=9ab83fb8eafe39f4204ef0f8e84e5ff7e8f1d533ddb05f51e6dc81503e8c0ae4
|
||||
|
||||
do_build() {
|
||||
cd ${wrksrc}
|
||||
|
@ -60,7 +51,7 @@ do_install() {
|
|||
vinstall misc/vim/$f 644 usr/share/vim/vimfiles
|
||||
done
|
||||
|
||||
install -d ${DESTDIR}/{etc/profile.d,usr/{share/go,lib/go,lib/go/src}}
|
||||
install -d ${DESTDIR}/{etc/profile.d,usr/{share/go,lib/go,lib/go/src,lib/go/site/src}}
|
||||
|
||||
cp -r doc misc -t ${DESTDIR}/usr/share/go
|
||||
ln -s /usr/share/go/doc ${DESTDIR}/usr/lib/go/doc
|
||||
|
@ -70,6 +61,7 @@ do_install() {
|
|||
cp -a src/cmd ${DESTDIR}/usr/lib/go/src/cmd
|
||||
cp -a src/lib9 ${DESTDIR}/usr/lib/go/src/
|
||||
cp -a lib ${DESTDIR}/usr/lib/go/
|
||||
cp -a include ${DESTDIR}/usr/lib/go/
|
||||
|
||||
install -Dm644 src/Make.* ${DESTDIR}/usr/lib/go/src
|
||||
|
||||
|
|
Loading…
Reference in New Issue