Sorry for maybe stupid question, but what is the best and fastest way of creating snap of already existing binary?
Let’s say, I have an ./myapp, and I want create snap, which just executes this binary (which doesn’t need any special dependencies), how a snapcraft.yaml for this would look like? My suggestion is making simple build type, and overriding it with:
cp myapp prime/usr/bin/myapp
But it looks a bit clunky.
What do you think?