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.gzor.debian.tar.gz- and optionally the
.orig.tar.gz(if you useddebuild -S -sato build your package)
How do those files have to look like and how do I create them? (examples, commandline tools?)
pbuilderwhich installs some GB on your system, is this really needed for my case? (only one bash script is tested and that works well) – rubo77 Jul 09 '14 at 15:10pbuilderis 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. – Charles Green Jul 09 '14 at 15:12debuild -S -saordebuild -S -sd.pbuilderis when you want to test building the package in a clean chroot (where only the minimal Ubuntu packages are present. This is to test that you have covered all necessary dependencies. – saiarcot895 Jul 09 '14 at 16:10debuild -S -saI get this error:cannot find readable debian/changelog anywhere!– rubo77 Jul 09 '14 at 16:19debian/{changelog,compat,control,copyright,rules}and a few others. Most packaging tutorials talk about them. You can use the commanddh_make -s -nwill generate a set of sample files needed, which you can customize accordingly. – muru Jul 10 '14 at 01:34debianfolder must be a subfolder of your current directory. – saiarcot895 Jul 11 '14 at 02:10