blob: e7145a9067047f6f9ebd2a27699286115242fcc8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
local home = os.getenv("HOME")
local prefix = home.."/.local"
install_directories = {
bin = prefix.."/bin",
include = prefix.."/include",
lib = prefix.."/lib",
src = prefix.."/share/pkgit",
}
repositories = {
pkgit = {
url = "https://git.symlinx.net/pkgit",
},
}
build_systems = {
["Makefile"] = {
build = function()
os.execute("make")
end,
},
["CMakeLists.txt"] = {
build = function()
os.execute("cmake -B build")
os.execute("cmake --build build")
end,
},
}
|