sudo snap install snapcraft --classic
snapcraft --use-lxd
sudo snap install --devmode --dangerous *.snap
Created
January 10, 2020 12:07
-
-
Save aarroyoc/e0d6d746d5424681b17367e34735634f to your computer and use it in GitHub Desktop.
PCC Snap
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
name: pcc | |
version: 1.0.0-git | |
summary: P language interpreter | |
description: | | |
P language interpreter in C (Flex and Bison). | |
confinement: devmode | |
base: core18 | |
parts: | |
pcc: | |
plugin: dump | |
override-build: | | |
cd pcc-master | |
make | |
mkdir -p $SNAPCRAFT_PART_INSTALL/bin | |
cp pcc $SNAPCRAFT_PART_INSTALL/bin/ | |
source-type: zip | |
source: https://github.com/aarroyoc/pcc/archive/master.zip | |
build-packages: | |
- g++ | |
- make | |
- flex | |
- bison | |
apps: | |
pcc: | |
command: pcc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment