Advertisement
wolrah

programs.cfg

Mar 18th, 2015
260
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.28 KB | None | 0 0
  1. {--This is an example for a programs.cfg file. Please do not add any comments inside actual programs.lua files
  2.   ["example-package"] = {
  3.     files = {
  4.       ["master/somefolder/bar.lua"] = "/",--"/" means the file will be placed inside the folder the user specified, defaults to /usr
  5.       ["master/somefolder/barinfo.txt"] = "//etc", -- double slash for using an absolute path
  6.       ["master/somefolder/barlib.lua"] = "/subfolder",--Places the file in a subfolder in the user-specified folder
  7.       ["master/somefolder/libfolder/"] = "/"
  8.     },
  9.     dependencies = {
  10.       ["GML"] = "/lib"--This package is installed into the specified subfolder
  11.     },
  12.     name = "Package name",--This is for "oppm info"
  13.     description = "This is an example description",--This is for "oppm info"
  14.     authors = "Someone, someone else",--This is for "oppm info"
  15.     note = "Additional installation instructions, general instructions and additional information/notes go here, this is an optional line.",
  16.     hidden = true, -- Add this optional line to make your package not visible in "oppm list", useful for custom dependency libraries
  17.     repo="tree/master/somefolder" --Used by the website. This is where the package will link to on the website
  18.   },
  19.   ["yet-another-package"] = {
  20.           ...
  21.   }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement