diff options
| author | dacctal <dacctal@symlinx.net> | 2026-05-05 23:45:19 +0000 |
|---|---|---|
| committer | dacctal <dacctal@symlinx.net> | 2026-05-05 23:45:19 +0000 |
| commit | 83d471f2c1d1b1fa6be51f41e4f1c36ab19d7094 (patch) | |
| tree | 819b2e76d859863b020059a6c7f3029e0fe0c07f | |
| parent | fdfd040e140875fbe6dc1428114923c95461e3b9 (diff) | |
fixed default config
| -rw-r--r-- | config/init.lua | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/config/init.lua b/config/init.lua index 110ef3f..29bb679 100644 --- a/config/init.lua +++ b/config/init.lua @@ -1,12 +1,13 @@ -local prefix = "/home/dacc/pkgit" -local install_directories = { +local home = os.getenv("HOME") +local prefix = home.."/pkgit" +install_directories = { bin = prefix.."/bin", include = prefix.."/include", lib = prefix.."/lib", src = prefix.."/src", } -local repositories = { +repositories = { pkgit = { "https://git.symlinx.net/pkgit" }, beaker = { "https://git.symlinx.net/pkgit", @@ -15,14 +16,14 @@ local repositories = { os.execute("make") end, pre_install = function() end - install = funciton() + install = function() os.execute("make install INSTALL_PREFIX="..prefix) end, post_install = function() end }, } -local build_systems = { +build_systems = { Makefile = { build = function() os.execute("make") |
