Last active
February 1, 2021 23:50
-
-
Save forslund/9967dc5a90f0818b802a64d65a924a4d 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