How to create a Snap package for a software?
I haven't found any easy to understand resource for absolute beginners who wish to package a software.
Let's take the example to package the latest release 2.5.0
of Vokoscreen Screencast Recorder that is only available as vokoscreen-2.5.0.tar.gz
but neither as a .deb
, nor is there a PPA available.
What would the steps with the new Snap packaging format be to package this version as a .snap
package for easy install?
The snapcraft.io website and snap creation page is the definitive guide on how to snap a software program.
You should be able to just unzip the file in a folder, add a snapcraft.yaml file and run snapcraft snap
. snapcraft.yaml should probably look something like this:
name: vokoscreen
version: 0.1
summary: Vokoscreen screencast creator
description: >
Vokoscreen is an easy to use screencast creator
to record educational videos, live recordings of
browser, installation, videoconferences, etc.
apps:
vokoscreen:
command: vokoscreen.run