You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
311 B
18 lines
311 B
6 years ago
|
#!/bin/bash
|
||
|
|
||
|
|
||
|
MODULE=xdg-utils
|
||
|
VERSION=1.1.0
|
||
|
DATE=$(date +%Y%m%d)git
|
||
|
|
||
|
set -x
|
||
|
|
||
|
rm -rf $MODULE
|
||
|
|
||
|
git clone git://anongit.freedesktop.org/git/xdg/xdg-utils $MODULE/
|
||
|
pushd $MODULE
|
||
|
git archive master --format tar --prefix=${MODULE}-${VERSION}/ | gzip -9 > ../${MODULE}-${VERSION}-${DATE}.tar.gz
|
||
|
popd
|
||
|
|
||
|
rm -rf $MODULE
|