pocket_archive-scm-1.rockspec 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. "volksdata",
  33. "watchdog",
  34. }
  35. build = {
  36. type = "builtin",
  37. modules = {
  38. -- markdown is not set up for Lua 5.4 and cannot be installed via
  39. -- Luarocks. Embedding the source here.
  40. ["markdown"] = "ext/markdown/markdown.lua",
  41. ["pocket_archive"] = "src/core.lua",
  42. ["pocket_archive.model"] = "src/model.lua",
  43. ["pocket_archive.validator"] = "src/validator.lua",
  44. ["pocket_archive.submission"] = "src/submission.lua",
  45. ["pocket_archive.repo"] = "src/repo.lua",
  46. ["pocket_archive.generator"] = "src/generator.lua",
  47. ["pocket_archive.transformers"] = "src/transformers.lua",
  48. ["pocket_archive.monocypher"] = {
  49. "ext/monocypher/monocypher.c",
  50. "ext/monocypher/lua_monocypher.c",
  51. },
  52. },
  53. install = {bin = {
  54. pkar = "src/util/pkar.lua",
  55. pkar_watch = "src/util/watcher.lua",
  56. }},
  57. copy_directories = {"config", "doc", "templates"},
  58. }