.. | ||
distribution | ||
sample/debian | ||
libsample0_1.2.3~alpha2_amd64.deb | ||
README.md | ||
sample-dev_1.2.3~binary_amd64.deb | ||
sample-udeb_1.2.3~alpha2_amd64.udeb | ||
sample_1.2.3~alpha2.dsc | ||
sample_1.2.3~alpha2.tar.xz | ||
sample_1.2.3~alpha2_amd64.buildinfo | ||
sample_1.2.3~alpha2_amd64.changes |
Build a Debian package
Install the build dependencies:
sudo apt install dpkg-dev
Go to the spec/fixtures/packages/debian
directory and clean up old files:
cd spec/fixtures/packages/debian
rm -v *.tar.* *.dsc *.deb *.udeb *.buildinfo *.changes
Go to the package source directory and build:
cd sample
dpkg-buildpackage --no-sign