debian-mirror-gitlab/spec/fixtures/packages/debian/README.md
2021-01-30 21:13:34 +05:30

21 lines
376 B
Markdown

# Build a Debian package
Install the build dependencies:
```shell
sudo apt install dpkg-dev
```
Go to the `spec/fixtures/packages/debian` directory and clean up old files:
```shell
cd spec/fixtures/packages/debian
rm -v *.tar.* *.dsc *.deb *.udeb *.buildinfo *.changes
```
Go to the package source directory and build:
```shell
cd sample
dpkg-buildpackage --no-sign
```