Commit d284c31e authored by Lafont François's avatar Lafont François

Create a script to build the package

parent ea5b85a8
# Build the package
cd moobot-0.1.0
tar --strip-components=1 -zxf ../moobot_0.1.0.orig.tar.gz -C .
debuild -b -us -uc --lintian-opts --pedantic -i -I && echo 'Building is OK!'
# In the root directory of this git repository.
upstream_version=$(dpkg-parsechangelog | awk '/^Version/ {print $2}' | cut -d'-' -f1)
git clone
tar -zcvf "$upstream_targz" moobot/
cd src/
tar --strip-components=1 -zxf "../$upstream_targz" -C .
debuild -b -us -uc --lintian-opts --pedantic -i -I && echo 'Building is OK!'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment