makedeb


Introduction

Welcome

Installing

Release Types Shell Script APT Repository makedeb Package Repository Docker

makedeb

PKGBUILD Syntax Distro/Architecture Specific Variables Differences from makepkg Comparisons to Other Tools

Using the MPR

Introduction Mist - The MPR CLI Installing Packages Uploading Packages Support Policy

Prebuilt-MPR

Introduction Getting Started Adding Packages

MPR User Guidelines

Marking Maintainers in a PKGBUILD Package Relationships Using Experimental makedeb Features

Support

Obtaining Support Community Events makedeb Team Ways to Support makedeb Reporting Security Vulnerabilities

Differences from makepkg



makedeb is based on (and is originated in the codebase of) makepkg, the packaging tool used on Arch Linux. Likewise, most of the behavior in makedeb is the same as makepkg, but there are a few changes that have been made to work better in the packaging system for .deb packages.

PKGBUILD changes

arch

The values in the arch value are taken from the output of dpkg --print-architecture. makepkg on the other hand uses an architecture similar to the output of uname -m. This means that most architectures you’d find in makepkg-styled PKGBUILD will likely not work with makedeb, and will need to be changed.

In practice, it looks like this (for the x86_64 architecture as an example):

In makepkg, you’d do this:

arch=('x86_64')

But with makedeb, you would use this instead:

arch=('amd64')

backup

In makepkg, backup entries are specified with no leading forward slash:

backup=('etc/pkgname.conf')

makedeb on the other hand requires all entries to start with a forward slash instead:

backup=('/etc/pkgname.conf')

VCS support

makedeb and makepkg both support specifying version control system sources like such:

source=('git+https://github.com/makedeb/makedeb')

This clones the https://github.com/makedeb/makedeb repository with the git VCS client.

The area in which makedeb and makepkg differ is that makedeb only supports git and svn for the VCS client, while makepkg supports some additional ones. There was a period where makedeb supported the same ones makepkg did, but a few were dropped due to lack of popularity and the maintenance cost of supporting such systems.