First-draft Debian packaging implementation.
I've split up the installed files into three packages. Following the
upstream names of the binaries, the package 'chroma' contains the
graphical SDL version of the game, and 'chroma-curses' contains the
terminal-based version. They're in separate packages so that each one
can avoid the library dependencies of the other.
The shared data between the two (mostly level designs) lives in a
third package 'chroma-data'. But not all the stuff upstream installs
in /usr/share/chroma goes in there: the SVG graphics used only by the
SDL binary can live in the 'chroma' package.
Upstream's makefile installs binaries in /usr/bin; per Debian policy,
the packaging moves them to /usr/games.
An icon for the .desktop file is constructed from one of the SVGs in
the upstream tarball, but because that SVG contains two images side by
side, I had to provide a small Python script that extracts just one of
them (and then passes it to Inkscape to render into a PNG).
Use the existing packaged DejaVuSans font.
The upstream Chroma tarball came with a bundled copy of DejaVuSans.
Using the standard Debian one instead saves disk space, gets a more
up-to-date version of the font, and avoids having to deal with the
subsidiary copyright notice for the font (graphics/font.txt).
Update upstream source from tag 'upstream/1.18'
Update to upstream version '1.18'
with Debian dir
1f7570f7fd00395516929cdac95f37f088b8db99