creating database schemas for packets cli, started doing packets cli and
packing nginx
This commit is contained in:
@@ -1,19 +1,20 @@
|
||||
return {
|
||||
package = {
|
||||
name = "bat-bin", -- required
|
||||
version = "0.26.0", -- required
|
||||
maintainer = "robogg133", -- required
|
||||
name = "bat-bin", -- required
|
||||
version = "0.26.0", -- required
|
||||
maintainer = "robogg133", -- required
|
||||
description = "A cat(1) clone with syntax highlighting and Git integration.", -- required
|
||||
serial = 0,-- required
|
||||
serial = 0, -- required
|
||||
|
||||
plataforms = {
|
||||
windows = {
|
||||
arch = {"amd64"},
|
||||
arch = { "amd64" },
|
||||
sources = {
|
||||
{
|
||||
url = "https://github.com/sharkdp/bat/releases/download/v0.26.0/bat-v0.26.0-" ..CURRENT_ARCH_NORMALIZED.."-pc-windows-msvc.zip",
|
||||
url = "https://github.com/sharkdp/bat/releases/download/v0.26.0/bat-v0.26.0-" ..
|
||||
CURRENT_ARCH_NORMALIZED .. "-pc-windows-msvc.zip",
|
||||
method = "GET",
|
||||
sha256="a8a6862f14698b45e101b0932c69bc47a007f4c0456f3a129fdcef54d443d501"
|
||||
sha256 = "a8a6862f14698b45e101b0932c69bc47a007f4c0456f3a129fdcef54d443d501"
|
||||
}
|
||||
},
|
||||
dependencies = {
|
||||
@@ -23,10 +24,11 @@ return {
|
||||
}
|
||||
},
|
||||
linux = {
|
||||
arch = {"amd64"},
|
||||
arch = { "amd64" },
|
||||
sources = {
|
||||
{
|
||||
url = "https://github.com/sharkdp/bat/releases/download/v0.26.0/bat-v0.26.0-".. CURRENT_ARCH_NORMALIZED .."-unknown-linux-gnu.tar.gz",
|
||||
url = "https://github.com/sharkdp/bat/releases/download/v0.26.0/bat-v0.26.0-" ..
|
||||
CURRENT_ARCH_NORMALIZED .. "-unknown-linux-gnu.tar.gz",
|
||||
method = "GET",
|
||||
sha256 = "7efed0c768fae36f18ddbbb4a38f5c4b64db7c55a170dfc89fd380805809a44b"
|
||||
}
|
||||
@@ -42,19 +44,18 @@ return {
|
||||
sources = {}
|
||||
|
||||
},
|
||||
|
||||
build = function()
|
||||
|
||||
|
||||
build = function()
|
||||
|
||||
end,
|
||||
|
||||
install = function()
|
||||
|
||||
os.chdir(pathjoin(SOURCESDIR,"bat-v0.26.0-".. CURRENT_ARCH_NORMALIZED .."-unknown-linux-gnu"))
|
||||
os.chmod("bat",0777)
|
||||
|
||||
install = function()
|
||||
os.chdir(pathjoin(SOURCESDIR, "bat-v0.26.0-" .. CURRENT_ARCH_NORMALIZED .. "-unknown-linux-gnu"))
|
||||
os.chmod("bat", 755)
|
||||
local suc, errmsg = os.copy("bat", pathjoin(PACKETDIR, BIN_DIR, "bat"))
|
||||
if not suc then
|
||||
error(errmsg)
|
||||
error("failed to copy bat: " .. errmsg)
|
||||
end
|
||||
end,
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user