Durian/pkgit.lua
cannoli-fruit f4d69b664c init
2026-06-30 01:43:59 -04:00

26 lines
502 B
Lua

repositories["pkgit"] = {
url = "https://git.symlinx.net/pkgit",
targets = {
default = {
build = function()
e,h,c = os.execute("make")
if c ~= 0 then
print("Compilation Error: ", c, type(c))
print("GIVEN UP")
return c
end
return 0
end,
install = function()
e,h,c = os.execute("make install PREFIX="..prefix)
return c or 0
end,
uninstall = function()
e,h,c = os.execute("make uninstall PREFIX="..prefix)
return c or 0
end,
}
}
}