PyBitmessage/debian.sh

22 lines
513 B
Bash
Raw Normal View History

2013-04-01 21:23:32 +02:00
# To build a debian package first ensure that the code exists
# within a directory called pybitmessage-x.x.x (where the x's
# are the version number), make sure that the VERSION parameter
# within debian/rules and this script are correct, then run
# this script.
#!/bin/bash
APP=pybitmessage
2013-04-30 21:52:47 +02:00
VERSION=0.3.0
2013-04-01 21:23:32 +02:00
ARCH_TYPE=all
# Create a source archive
make clean
make source
# Build the package
fakeroot dpkg-buildpackage -A
gpg -ba ../${APP}_${VERSION}-1_${ARCH_TYPE}.deb
gpg -ba ../${APP}_${VERSION}.orig.tar.gz