summaryrefslogtreecommitdiff
path: root/homebrew/mcli/.beer
blob: 2e8600527c478a756761e7afb3eb05af9e65c801 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
    "name": "MCli",
    "description": "Swiss Army Knife for macOS",
    "url": "https://github.com/rgcr/m-cli/archive/v0.2.5.tar.gz",
    "mirror": null,
    "homepage": "https://github.com/rgcr/m-cli",
    "depends": [],
    "resource": [],
    "conflicts": [],
    "patches": [],
    "install": [
        "prefix.install Dir[\"*\"]",
        "inreplace prefix/\"m\" do |s|",
        "s.gsub! /^\\[ -L.*|^\\s+\\|\\| pushd.*|^popd.*/, \"\"",
        "s.gsub! /MPATH=.*/, \"MPATH=#{prefix}\"",
        "s.gsub! /update_mcli \\&\\&.*/, \"printf \\\"Try: brew update && brew upgrade m-cli \\\\n\\\" && exit 0\"",
        "s.gsub! /uninstall_mcli \\&\\&.*/, \"printf \\\"Try: brew uninstall m-cli \\\\n\\\" && exit 0\""
    ],
    "version": "0.2.5",
    "file": "m-cli.rb"
}