2017-01-31 01:37:09 +01:00
|
|
|
# Description: GO Programlama dili
|
2016-04-02 16:28:20 +02:00
|
|
|
# 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
|
2017-01-31 01:37:09 +01:00
|
|
|
|
2016-05-09 02:30:41 +02:00
|
|
|
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
|
|
|
}
|