I would like to create an Ubuntu package from a single bash script I wrote.
Is there a simple instruction how to build an Ubuntu package, that can be uploaded to launchpad? (I already created the PPA and uploaded my PGP- and SSH-keys).
I already created successfully a debian package (with Packages.gz
and a PPA hosted at github itself) but that package is missing the needed files that are required in this Ubuntu manual: Uploading a package to a PPA:
.dsc
.changes
.diff.gz
or.debian.tar.gz
- and optionally the
.orig.tar.gz
(if you useddebuild -S -sa
to build your package)
How do those files have to look like and how do I create them? (examples, commandline tools?)
pbuilder
which installs some GB on your system, is this really needed for my case? (only one bash script is tested and that works well)pbuilder
is the "package builder", that you will be better off if you do install it. Perhaps a package could be built by hand by someone with sufficient knowledge.debian/{changelog,compat,control,copyright,rules}
and a few others. Most packaging tutorials talk about them. You can use the commanddh_make -s -n
will generate a set of sample files needed, which you can customize accordingly.