wiki:Debathenification

Debathenifying packages is necessary when we need to make source-level or packaging changes to upstream packages.

The first step consists of creating a shell script name debathenify-(packagename). This script should set the following variables:

  • name (the original package)
  • daname (the new name of the package)
  • daversionappend (what to append for our version number)
  • section (packaging section)

It should also define a function called hack_package that makes any necessary changes to the package. The CWD is the root of the source.

Finally, it should source ../common/debathenificator.sh