Working Saturnin-based meta-command

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. [project]
  2. version = 0.0.6
  3. name = Saturnin Demo
  4. tagline = Saturnin example toolkit
  5. pkgname = saturnin-demo
  6. maintainer = Alois Mahdal <netvor+saturnin@vornet.cz>
  7. vcs_browser = https://github.com/AloisMahdal/saturnin-demo
  8. relsrc = master
  9. reldst = last
  10. [dist]
  11. tarball = LICENSE.md
  12. tarball = Makefile
  13. tarball = README.md
  14. tarball = mkit.ini
  15. tarball = packaging
  16. tarball = src
  17. tarball = tests
  18. tarball = utils
  19. rpmstuff = packaging/template.spec
  20. debstuff = packaging/debian
  21. [ENV]
  22. PREFIX = /usr/local
  23. XDG_DATA_HOME = $HOME/.local/share
  24. XDG_CACHE_HOME = $HOME/.cache
  25. XDG_CONFIG_HOME = $HOME/.config
  26. [roots]
  27. bin = [ENV:PREFIX]/bin
  28. libexec = [ENV:PREFIX]/libexec/saturnin-demo
  29. share = [ENV:PREFIX]/share/saturnin-demo
  30. doc = [ENV:PREFIX]/share/doc/saturnin-demo
  31. etc = /etc/saturnin-demo
  32. etc_bc = /etc/bash_completion.d
  33. sfincb = [ENV:PREFIX]/share/shellfu/include-bash
  34. [macros]
  35. __SATURNIN_DATA_HOME__ = [ENV:XDG_DATA_HOME]/saturnin-demo
  36. __SATURNIN_CACHE_HOME__ = [ENV:XDG_CACHE_HOME]/saturnin-demo
  37. __SATURNIN_CONFIG_HOME__ = [ENV:XDG_CONFIG_HOME]/saturnin-demo
  38. __SATURNIN_CONFIG_LOCAL__ = [roots:etc]
  39. __SATURNIN_LIBEXEC__ = [roots:libexec]
  40. __SATURNIN_SHARE__ = [roots:share]
  41. __SDEMO_MAINDESC__ = saturnin is Shellfu library that helps you easily build toolkit from
  42. __SDEMO_MAINDESC__ = various scripts that you may have lying around. Instead of having a
  43. __SDEMO_MAINDESC__ = herd of untamed undocumented and hard-to-share scripts, with help of
  44. __SDEMO_MAINDESC__ = saturnin you can easily create and package a meta-command with a set
  45. __SDEMO_MAINDESC__ = of discoverable and maintainable sub-commands.
  46. __SDEMO_BINDESC__ = This package contains a demo meta-command built with saturnin; you can
  47. __SDEMO_BINDESC__ = also re-use the source as template for your new toolkit.
  48. __SDEMO_MODDESC__ = This sub-package contains Shellfu/Bash modules used by *saturnin-demo*.
  49. [modes]
  50. bin = 755
  51. libexec = 755
  52. [files]
  53. bin = src/app saturnin-demo
  54. doc = README.md
  55. etc_bc = src/complete.bash saturnin-demo.bash
  56. libexec = src/libexec/saturnin-demo-dump
  57. libexec = src/libexec/saturnin-demo-echo
  58. libexec = src/libexec/saturnin-demo-greet
  59. sfincb = src/shellfu/saturnin_demo_greet.sh
  60. share = src/help
  61. share = src/ini.d
  62. #mkit version=0.0.34