summaryrefslogtreecommitdiff
path: root/spec/fixtures/packages/debian/README.md
blob: e398222ce62096c232090cf241211f22d5b6c1c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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
```