2016-04-02 16:28:20 +02:00
|
|
|
# Description: The GO programming language
|
|
|
|
# URL: http://golang.org/
|
|
|
|
# packager: milisarge@gmail.com
|
2016-05-09 02:30:41 +02:00
|
|
|
# Depends on: git mercurial
|
2016-04-02 16:28:20 +02:00
|
|
|
|
|
|
|
name=go
|
2016-05-09 02:30:41 +02:00
|
|
|
version=1.4.3
|
2016-04-02 16:28:20 +02:00
|
|
|
release=1
|
|
|
|
|
2016-05-09 02:30:41 +02:00
|
|
|
case "`uname -m`" in
|
|
|
|
x86_64) GOARCH=amd64 ;;
|
|
|
|
i686) GOARCH=386 ;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
source=(https://storage.googleapis.com/golang/${name}${version}.linux-$GOARCH.tar.gz)
|
2016-04-02 16:28:20 +02:00
|
|
|
|
2016-05-09 02:30:41 +02:00
|
|
|
build() {
|
|
|
|
mkdir $PKG/opt
|
|
|
|
cp -rf $name $PKG/opt/
|
|
|
|
|
2016-04-02 16:28:20 +02:00
|
|
|
}
|