Creating a snap for a program with no 'install'?

Hi,

I work with a program which doesn’t have an “install” option – the current instructions for this program are: Extract, run ./build.sh, then add ‘./prog’ to your path (don’t move the resulting executable). The extraction also produces many files which are needed by the program.

Is there an easy ‘snapcraft’ way of just extracting a tar, building it, then packaging the entire result?

You can use override-build to configure a custom build process, probably using the ‘nil’ plugin.

If you point source to the tarball, it will extract it for you (source-type: tar may be required).

here is an example where i use an upstream “./buildme” script, similar to what you describe regarding build.sh

Thanks, I think is exactly what I’m looking for!