1
0

snapcraft.yaml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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:
  22. - $SNAP_DATA/custom_components
  23. default-provider: home-assistant-snap
  24. hooks:
  25. install:
  26. plugs: [lib-hacs]
  27. remove:
  28. plugs: [lib-hacs]
  29. parts:
  30. hacs:
  31. plugin: dump
  32. source: https://github.com/hacs/integration.git
  33. source-tag: ${SNAPCRAFT_PROJECT_VERSION}
  34. organize:
  35. custom_components/hacs: hacs
  36. stage:
  37. - hacs
  38. configure-hooks:
  39. plugin: dump
  40. source: hooks
  41. organize:
  42. install.sh: snap/hooks/post-refresh
  43. uninstall.sh: snap/hooks/remove