-
-
Save krisgesling/ad7f2cbdf7191380699a756eb672835a to your computer and use it in GitHub Desktop.
Example of Building Mark-2 packages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# General prerequisites: | |
sudo apt-get install -y debhelper build-essential fakeroot | |
# Clone package | |
git clone https://github.com/mycroft-packaging/mycroft-gui-mark-2 -b focal | |
cd mycroft-gui-mark-2 | |
# Clone source | |
git clone https://github.com/mycroftai/mycroft-gui-mark-2 | |
cp -r debian mycroft-gui-mark-2 | |
cd mycroft-gui-mark-2 | |
# Install build dependencies | |
sudo apt-get build-dep -y . | |
# Create reference zip | |
git archive --format=tar --output=mycroft-gui-mark-2_${VERSION}.orig.tar HEAD | |
gzip mycroft-gui-mark-2_${VERSION}.orig.tar | |
mv mycroft-gui-mark-2_${VERSION}.orig.tar.gz ../ | |
# build the package | |
dpkg-buildpackage -us -uc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment