mkdir goprotobuf
cd goprotobuf
export GOPATH=`pwd`
git clone https://github.com/gogo/protobuf.git src/github.com/gogo/protobuf
go get -d -v ./...
cd ..
tar -c -v -f- --exclude .git goprotobuf | xz -9 >goprotobuf-`date '+%Y%m%d'`.tar.xz
rm -rf goprotobuf
