I would like to create a brand new deb package to install series of files. If at all possible, I would like to untar the folder containing these files as part of the installation into a known folder location. Failing that, some knowledge how to package the source folders and files would be very useful.
Question is – is this possible and if so – how?
Lets give an example:
~/mypluginfolder/ contains the files
y, a subfolder called
abc and inside that another file called
I want to tar this folder:
tar -cvf myfiles.tar ~/mypluginfolder
I presume my debian package would look like
changelog, compat, control, install, rules source
Is it possible to somehow untar
myfiles.tar to a known folder location for example
Thus the final result would be:
If – presuming launchpad needs source, advice is sought as to where I should drop the source folders and files into the deb package structure.
This will eventually will become a series of individual launchpad PPA packages.
What I prefer (but may not be able to achieve…) is to keep my packaging to a minimum – create a series of packages from a template and adjust the bare minimum (changelog etc + the tar file/file & folder structure).