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-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: strict # use 'strict' once you have the right plugs and slots

parts:
  my-part:
    source: https://phab.lubuntu.me/source/manual.git
    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: lubuntu-manual.sh 
    plugs:
      - desktop
