1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-01 14:14:38 +02:00
xburst-tools/debian/get-orig-source.sh
Xiangfu Liu 7b710f3e08 for misunderstand the debian rules. I create a [debian] branch for debian package
develop. this is not good. we should add the debian/ folder to master branch

this commit:
     cp the debina/ folder from [debian] branch
     then remove the [debian] branch

Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2010-09-25 16:16:25 +08:00

17 lines
640 B
Bash

#!/bin/sh
# Build a tarball from the latest upstream version, with a nice
# version number.
#
# Requires git 1.6.6 or later, GNU date, and gzip.
set -e
: ${VERSION=201007}
[ -f xburst-tools_${VERSION}.tar.bz2 ] || wget http://projects.qi-hardware.com/media/upload/xburst-tools/files/xburst-tools_${VERSION}.tar.bz2
mkdir -p get-orig-source
echo `pwd`
cd get-orig-source && tar -jxf ../xburst-tools_${VERSION}.tar.bz2
rm -rf get-orig-source/xburst-tools/debian get-orig-source/xburst-tools/.git
cd get-orig-source && tar -czf ../../xburst-tools_${VERSION}-1.orig.tar.gz xburst-tools/
rm -rf xburst-tools_${VERSION}.tar.bz2 get-orig-source