milis/talimatname/genel/go/talimat

22 lines
385 B
Plaintext

# Description: GO Programlama dili
# URL: http://golang.org/
# packager: milisarge@gmail.com
# Depends on: git mercurial
name=go
version=1.4.3
release=1
case "`uname -m`" in
x86_64) GOARCH=amd64 ;;
i686) GOARCH=386 ;;
esac
source=(https://storage.googleapis.com/golang/${name}${version}.linux-$GOARCH.tar.gz)
build() {
mkdir $PKG/opt
cp -rf $name $PKG/opt/
}