pocket_archive-scm-1.rockspec 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. package = "pocket_archive"
  2. version = "scm-1"
  3. source = {
  4. url = "git://git.knowledgetx.com/scossu/pocket_archive.git",
  5. branch = "master",
  6. tag = "HEAD",
  7. }
  8. description = {
  9. summary = "Archival management & portal generator for cultural heritage.",
  10. detailed = [[
  11. Stick it in your pocket and carry it around. Install it on a cloud server.
  12. Install it on a Raspberry Pi. Browse it offline. Browse it online.
  13. Duplicate it, share it, harvest it and aggregate it. Feed it non-GMO
  14. spreadsheets regularly and it will thrive.
  15. ]],
  16. homepage = "http://git.knowledgetx.com/scossu/pocket_archive",
  17. license =
  18. "https://git.knowledgetx.com/scossu/pocket_archive/src/master/LICENSE"
  19. }
  20. dependencies = {
  21. "lua >= 5.4",
  22. "cli",
  23. "datafile",
  24. "etlua",
  25. "ftcsv",
  26. "libmagic",
  27. "lua-cjson",
  28. "lua-vips",
  29. "luaposix",
  30. "penlight",
  31. "sllog",
  32. "luasocket",
  33. "volksdata",
  34. "watchdog",
  35. }
  36. build = {
  37. type = "builtin",
  38. modules = {
  39. -- markdown is not set up for Lua 5.4 and cannot be installed via
  40. -- Luarocks. Embedding the source here.
  41. ["markdown"] = "ext/markdown/markdown.lua",
  42. ["pocket_archive"] = "src/core.lua",
  43. ["pocket_archive.model"] = "src/model.lua",
  44. ["pocket_archive.validator"] = "src/validator.lua",
  45. ["pocket_archive.submission"] = "src/submission.lua",
  46. ["pocket_archive.repo"] = "src/repo.lua",
  47. ["pocket_archive.presentation"] = "src/presentation.lua",
  48. ["pocket_archive.cmdoc"] = "src/cmdoc.lua",
  49. ["pocket_archive.transformers"] = "src/transformers.lua",
  50. ["pocket_archive.monocypher"] = {
  51. "ext/monocypher/monocypher.c",
  52. "ext/monocypher/lua_monocypher.c",
  53. },
  54. },
  55. install = {bin = {
  56. pkar = "src/util/pkar.lua",
  57. pkar_watch = "src/util/watcher.lua",
  58. }},
  59. copy_directories = {"config", "core_schema", "doc", "templates"},
  60. }