blob: 9fd5ceaa4633faf9974a6c001b28a179e3b96d2a (
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
29
30
31
32
|
local home = os.getenv("HOME")
local prefix = home.."/.local"
install_directories = {
bin = prefix.."/bin",
include = prefix.."/include",
lib = prefix.."/lib",
src = prefix.."/.local/share/pkgit",
}
repositories = {
pkgit = {
url = "https://git.symlinx.net/pkgit",
},
beaker = {
url = "https://git.symlinx.net/beaker",
dependencies = {},
},
}
build_systems = {
["Makefile"] = {
build = function()
os.execute("make")
end,
},
["CMakeLists.txt"] = {
build = function()
os.execute("cmake -B build")
os.execute("cmake --build build")
end,
},
}
|