5ef05c
#!/bin/bash
5ef05c
5ef05c
5ef05c
MODULE=xdg-utils
5ef05c
VERSION=1.1.0
5ef05c
DATE=$(date +%Y%m%d)git
5ef05c
5ef05c
set -x
5ef05c
5ef05c
rm -rf $MODULE
5ef05c
5ef05c
git clone git://anongit.freedesktop.org/git/xdg/xdg-utils $MODULE/
5ef05c
pushd $MODULE
5ef05c
git archive master --format tar --prefix=${MODULE}-${VERSION}/ | gzip -9 > ../${MODULE}-${VERSION}-${DATE}.tar.gz
5ef05c
popd
5ef05c
5ef05c
rm -rf $MODULE