#!/bin/sh
rm -rf gopass
mkdir gopass
export GOPATH=`pwd`/gopass
git clone --depth 1 https://github.com/gopasspw/gopass $GOPATH/src/github.com/gopasspw/gopass
( cd $GOPATH/src/github.com/gopasspw/gopass && go get -v -d )
tar cf - --exclude .git gopass | xz -9 >gopass-`date '+%Y%m%d'`.tar.xz
rm -rf gopass
