2011-01-04 12:27:29 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
|
|
|
|
MODULE=xdg-utils
|
|
|
|
VERSION=1.1.0
|
2011-12-07 18:38:12 +00:00
|
|
|
DATE=$(date +%Y%m%d)git
|
2011-01-04 12:27:29 +00:00
|
|
|
|
|
|
|
set -x
|
|
|
|
|
|
|
|
rm -rf $MODULE
|
|
|
|
|
2011-02-01 15:24:51 +00:00
|
|
|
git clone git://anongit.freedesktop.org/git/xdg/xdg-utils $MODULE/
|
2011-01-04 12:27:29 +00:00
|
|
|
pushd $MODULE
|
|
|
|
git archive master --format tar --prefix=${MODULE}-${VERSION}/ | gzip -9 > ../${MODULE}-${VERSION}-${DATE}.tar.gz
|
|
|
|
popd
|
|
|
|
|
|
|
|
rm -rf $MODULE
|