diff options
| author | dacctal <dacctal@symlinx.net> | 2026-05-24 10:23:38 +0000 |
|---|---|---|
| committer | dacctal <dacctal@symlinx.net> | 2026-05-24 10:23:38 +0000 |
| commit | aa0d78815004ae6b0c4a42b0e024f5c4ef555ae2 (patch) | |
| tree | 62f97b4c5acfdb98003568466f878fbd3d6b9dfb /config/init.lua | |
| parent | 83d471f2c1d1b1fa6be51f41e4f1c36ab19d7094 (diff) | |
c rewrite
Diffstat (limited to 'config/init.lua')
| -rw-r--r-- | config/init.lua | 34 |
1 files changed, 16 insertions, 18 deletions
diff --git a/config/init.lua b/config/init.lua index 29bb679..47647e4 100644 --- a/config/init.lua +++ b/config/init.lua @@ -1,25 +1,20 @@ local home = os.getenv("HOME") -local prefix = home.."/pkgit" +local prefix = home.."/.local" install_directories = { - bin = prefix.."/bin", + bin = prefix.."/bin", include = prefix.."/include", - lib = prefix.."/lib", - src = prefix.."/src", + lib = prefix.."/lib", + src = prefix.."/src", + pkgblds = home.."/.local/share/pkgit", } repositories = { - pkgit = { "https://git.symlinx.net/pkgit" }, + pkgit = { + url = "https://git.symlinx.net/pkgit", + }, beaker = { - "https://git.symlinx.net/pkgit", - dependencies = {} - build = function() - os.execute("make") - end, - pre_install = function() end - install = function() - os.execute("make install INSTALL_PREFIX="..prefix) - end, - post_install = function() end + url = "https://git.symlinx.net/beaker", + dependencies = {}, }, } @@ -28,8 +23,11 @@ build_systems = { build = function() os.execute("make") end, - install = function() - os.execute("make install") + }, + ["CMakeLists.txt"] = { + build = function() + os.execute("cmake -B build") + os.execute("cmake --build build") end, }, -} +}
\ No newline at end of file |
