summaryrefslogtreecommitdiff
path: root/homebrew/vis/.beer
blob: 3c460393272901e25a1a602ed88664d4e2774cee (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
33
34
35
36
37
38
39
40
41
42
{
    "name": "Vis",
    "description": "Vim-like text editor",
    "url": "https://github.com/martanne/vis/archive/v0.5.tar.gz",
    "mirror": null,
    "homepage": "https://github.com/martanne/vis",
    "depends": [
        {
            "depend": "luarocks",
            "build-depend": true
        },
        {
            "depend": "pkg-config",
            "build-depend": true
        },
        {
            "depend": "libtermkey",
            "build-depend": false
        },
        {
            "depend": "lua",
            "build-depend": false
        }
    ],
    "resource": [
        {
            "name": "lpeg",
            "url": "https://luarocks.org/manifests/gvvaughan/lpeg-1.0.1-1.src.rock"
        }
    ],
    "conflicts": [],
    "patches": [],
    "install": [
        "luapath = libexec/\"vendor\"",
        "ENV[\"LUA_PATH\"] = \"#{luapath}/share/lua/5.3/?.lua\"",
        "ENV[\"LUA_CPATH\"] = \"#{luapath}/lib/lua/5.3/?.so\"",
        "resource(\"lpeg\").stage do",
        "system \"luarocks\", \"build\", \"lpeg\", \"--tree=#{luapath}\""
    ],
    "version": "0.5",
    "file": "vis.rb"
}