name: file # the name of the snap
version: 0 # the version of the snap
summary: Unix file utility # 79 char long summary
description: Unix file utility # a longer description for the snap
confinement: devmode # use "strict" to enforce system access only via declared interfaces
apps:
file:
command: usr/bin/file
parts:
file: # Replace with a part name of your liking
# Get more information about plugins by running
# snapcraft help plugins
# and more information about the available plugins
# by running
# snapcraft list-plugins
plugin: nil
stage-packages:
- file
- libmagic1
filesets:
libmagic1:
- etc/magic*
- usr/*
file:
- usr/bin/file
snap:
- $libmagic1
- $file
config:
plugin: dump
source: .
stage-packages:
- file
- libmagic1
filesets:
etc/magic: etc/magic
etc/magic.mime: etc/magic.mime
usr/share/file/magic.mgc: usr/share/file/magic.mgc
usr/share/file/magic: usr/share/file/magic