summaryrefslogtreecommitdiff
path: root/debian/README.md
blob: 8ebfeea6db9d50ee647258928cbe94e4e25993c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
## Some tips on Debian Packaging

- Debian New Maintainers' Guide [http://www.debian.org/doc/debian-policy/]
- Debian Policy Manual [http://www.debian.org/doc/manuals/maint-guide/]
- Machine-readable debian/copyright file [http://dep.debian.net/deps/dep5/]
- DebSrc 3.0 guidelines [https://wiki.debian.org/Projects/DebSrc3.0]


## Build using dpkg-buildpackage:

```bash
$ dpkg-buildpackage -d -tc
  -d   # do not check build dependencies and conflicts.
  -tc  # clean source tree when finished.
```


## Update changelog:

```bash
$ date -R
```

One can also install `devscripts` package and run:

```bash
$ dch -i
```


## Check packages:

```bash
$ dpkg -c *.deb
$ lintian *.deb
```


## TODO

Make it perfect!