Use new snapcraft.yaml thanks popey

lts
Lyn Perrine 4 years ago
parent 820de91334
commit 5166cb1dde

@ -0,0 +1,2 @@
#! /bin/sh
xdg-open file://$SNAP/build/html/index.html

@ -1,23 +1,26 @@
name: lubuntu-manual # you probably want to 'snapcraft register <name>'
base: core18 # the base snap is the execution environment for this snap
version: '20.04-beta' # just for humans, typically '1.2+git' or '1.3.2'
version: '20.04-alpha' # just for humans, typically '1.2+git' or '1.3.2'
summary: Documentation for Lubuntu # 79 char long summary
description: |
This snap contains the Manual for Lubuntu which includes all of the default program as well as documentation for LXQt. See https://lubuntu.me for more info.
grade: devel # must be 'stable' to release into candidate/stable channels
confinement: classic # use 'strict' once you have the right plugs and slots
confinement: strict # use 'strict' once you have the right plugs and slots
parts:
my-part:
source: https://phab.lubuntu.me/source/manual.git
build-packages: [python3-pip, python3-sphinx, python3-sphinx-rtd-theme, python3-sphinx-bootstrap-theme]
source-type: git
build-packages: [python3-pip, python3-sphinx, latexmk, python3-sphinx-rtd-theme, python3-sphinx-bootstrap-theme]
plugin: make
make-parameters: [html]
artifacts: [build/html/]
launcher:
source: snap/local
plugin: dump
apps:
lubuntu-manual:
command: /usr/bin/xdg-open /snap/lubuntu-manual/current/build/html/index.html
lubuntu-manual:
command: lubuntu-manual.sh
plugs:
- desktop

Loading…
Cancel
Save