mkdeb - Create a Debian package


NAME

mkdeb - Create a Debian package (.deb)


SYNOPSIS

mkdeb [-m | --multiarch]


DESCRIPTION

Create a *.deb file according to the package name and version info found in ./deb/DEBIAN/control file and include all file in the package found in ./deb folder. Update some of control file's fields, eg. Version (increase by 1 if there is any file in the package newer than control file), Installed-Size...

In multiarch mode, instead of ./deb folder, it takes data from all folders in the current working directory which name is a valid Debian architecture name (eg. amd64, i386, ...), and stores temporary files in ./deb for building each architecture's package.

Mkdeb also considers mkdeb-perms.txt file in the current working directory to set some file attributes in the package, otherwise all file attributes are gonna be the same as on the original. Each line in this file looks like:

<MODE> <OWNER> <GROUP> <PATH>

Where

<MODE>

is an octal file permission mode, 3 or 4 digits, or "-" to ignore

<OWNER>

UID or name of the owner user

<GROUP>

GID or name of the owner group

<PATH>

the file's path itself to which the attributes are applied, relative to ./deb directory.