snapcraft.yaml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. name: hacs-snap
  2. base: core20
  3. version: '1.3.3'
  4. summary: Home Assistant Community Store
  5. description: |
  6. Manage (Install, track, upgrade) and discover custom elements for Home Assistant directly from the UI.
  7. What?
  8. HACS is a integration that gives the user a powerful UI to handle downloads of custom integrations and plugins.
  9. Highlights of what HACS can do:
  10. - Help you discover new custom elements.
  11. - Help you install (download) new custom elements.
  12. - Help you keep track of your custom elements.
  13. - Manage(Install/Upgrade/Remove)
  14. - Shortcuts to repositories/issue tracker
  15. grade: devel
  16. confinement: strict
  17. plugs:
  18. lib-hacs:
  19. interface: content
  20. content: lib-hacs
  21. target: $SNAP_DATA/custom_components
  22. default-provider: home-assistant-snap
  23. hooks:
  24. install:
  25. plugs: [lib-hacs]
  26. remove:
  27. plugs: [lib-hacs]
  28. parts:
  29. hacs:
  30. plugin: dump
  31. source: https://github.com/hacs/integration.git
  32. source-tag: ${SNAPCRAFT_PROJECT_VERSION}
  33. organize:
  34. custom_components/hacs: hacs
  35. stage:
  36. - hacs
  37. configure-hooks:
  38. plugin: dump
  39. source: hooks
  40. organize:
  41. install.sh: snap/hooks/post-refresh
  42. uninstall.sh: snap/hooks/remove