Add snap package build file

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
This commit is contained in:
Claudio Matsuoka 2019-02-13 12:47:53 -02:00
parent a565ae1e8f
commit 5bbcd7383a

45
snapcraft.yaml Normal file

@ -0,0 +1,45 @@
name: figlet
base: core18
version: git #'2.2.5+git'
summary: A program for making large letters out of ordinary text
description: |
FIGlet is a program to print text banners using large characters.
The name derives from "Frank, Ian and Glenn's letters".
grade: devel
confinement: strict
parts:
figlet:
plugin: make
source: .
make-parameters:
- prefix=
build-packages:
- gcc
apps:
figlet:
command: bin/figlet
environment:
FIGLET_FONTDIR: $SNAP/share/figlet
plugs:
- home
figlist:
command: bin/figlist
environment:
FIGLET_FONTDIR: $SNAP/share/figlet
plugs:
- home
chkfont:
command: bin/chkfont
environment:
FIGLET_FONTDIR: $SNAP/share/figlet
plugs:
- home
showfigfonts:
command: bin/showfigfonts
environment:
FIGLET_FONTDIR: $SNAP/share/figlet
plugs:
- home