1## Some tips on Debian Packaging
2
3- Debian New Maintainers' Guide [http://www.debian.org/doc/debian-policy/]
4- Debian Policy Manual [http://www.debian.org/doc/manuals/maint-guide/]
5- Machine-readable debian/copyright file [http://dep.debian.net/deps/dep5/]
6- DebSrc 3.0 guidelines [https://wiki.debian.org/Projects/DebSrc3.0]
7
8
9## Build using dpkg-buildpackage:
10
11```bash
12$ dpkg-buildpackage -d -tc
13  -d   # do not check build dependencies and conflicts.
14  -tc  # clean source tree when finished.
15```
16
17
18## Update changelog:
19
20```bash
21$ date -R
22```
23
24One can also install `devscripts` package and run:
25
26```bash
27$ dch -i
28```
29
30
31## Check packages:
32
33```bash
34$ dpkg -c *.deb
35$ lintian *.deb
36```
37
38
39## TODO
40
41Make it perfect!
42