summaryrefslogtreecommitdiff
path: root/homebrew/vifm/.beer
diff options
context:
space:
mode:
authorMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-20 20:49:46 -0500
committerMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-23 20:18:47 -0500
commit12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch)
tree352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/vifm/.beer
parenta2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff)
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/vifm/.beer')
-rw-r--r--homebrew/vifm/.beer44
1 files changed, 44 insertions, 0 deletions
diff --git a/homebrew/vifm/.beer b/homebrew/vifm/.beer
new file mode 100644
index 000000000..20b8ceec3
--- /dev/null
+++ b/homebrew/vifm/.beer
@@ -0,0 +1,44 @@
+{
+ "name": "Vifm",
+ "description": "Ncurses based file manager with vi like keybindings",
+ "url": "https://github.com/vifm/vifm/releases/download/v0.10/vifm-0.10.tar.bz2",
+ "mirror": null,
+ "homepage": "https://vifm.info/",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": null,
+ "data": [
+ "diff --git a/src/ui/ui.c b/src/ui/ui.c\n",
+ "index 117ca8b86..ce82b17e8 100644\n",
+ "--- a/src/ui/ui.c\n",
+ "+++ b/src/ui/ui.c\n",
+ "@@ -345,6 +345,11 @@ ui_update_term_state(void)\n",
+ " int\n",
+ " ui_char_pressed(wint_t c)\n",
+ " {\n",
+ "+\tif(curr_stats.load_stage < 2)\n",
+ "+\t{\n",
+ "+\t\treturn 0;\n",
+ "+\t}\n",
+ "+\n",
+ "\twint_t pressed = L'\\0';\n",
+ "\tconst int cancellation_state = ui_cancellation_pause();\n"
+ ]
+ }
+ ],
+ "install": [
+ "system \"./configure\", \"--disable-dependency-tracking\",",
+ "\"--prefix=#{prefix}\",",
+ "\"--without-gtk\",",
+ "\"--without-libmagic\",",
+ "\"--without-X11\"",
+ "system \"make\"",
+ "system \"make\", \"check\"",
+ "ENV.deparallelize { system \"make\", \"install\" }"
+ ],
+ "version": "0.10",
+ "file": "vifm.rb"
+} \ No newline at end of file