Suppose I have a git repo, the instructions for building are:
sudo apt-get -y install build-essential git mesa-common-dev libglu1-mesa-dev libsdl2-dev libsamplerate0-dev cd ~ wget http://download.qt.io/official_releases/qt/5.0/5.0.2/qt-linux-opensource-5.0.2-x86-offline.run chmod +x qt-linux-opensource-5.0.2-x86-offline.run ./qt-linux-opensource-5.0.2-x86-offline.run git clone --recursive https://github.com/foo/foo.git mkdir foo-build cd foo-build qmake ../foo -r make -j8
After which all of QT's files reside in a single directory (chosen by the user during graphical install) the application's files reside in
~/foo/bin and the application can be launched by running
(The QT graphical installer is required because the Ubuntu repos do not have an up-to-date version.)
How would I alter this process to package the source into a source package (obviously) which I can upload to my Launchpad PPA.