This repository has been archived on 2024-12-04. You can view files and clone it, but cannot push or open issues or pull requests.
PyBitmessage-2024-12-04/debian.sh
2013-06-03 11:54:29 -04:00

22 lines
513 B
Bash
Executable File

# 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
VERSION=0.3.2
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