diff options
author | Hunter Sezen <ovariegata@yahoo.com> | 2016-08-14 08:20:02 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-08-14 08:20:02 +0700 |
commit | 7b93505e7419276b01123531174707de012fe0f9 (patch) | |
tree | b4a1e14813271d498f203f390a6943a3ac77ff92 /system/rover | |
parent | 457ffda47f37ff4001d53b0b2a85b72b3fea679d (diff) |
system/rover: Fix typo + remove config.h.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/rover')
-rw-r--r-- | system/rover/README | 4 | ||||
-rw-r--r-- | system/rover/config.h | 81 | ||||
-rw-r--r-- | system/rover/rover.SlackBuild | 4 |
3 files changed, 4 insertions, 85 deletions
diff --git a/system/rover/README b/system/rover/README index 452a67aef585c..9d5427a5b4af4 100644 --- a/system/rover/README +++ b/system/rover/README @@ -8,5 +8,5 @@ is designed to be simple, fast and portable. CUSTOMIZATION ------------- -To customize rover, edit config.h in the SlackBuild directory before -running the SlackBuild. +To customize rover, copy config.h from the source directory to the +the SlackBuild directory and edit it before running the SlackBuild. diff --git a/system/rover/config.h b/system/rover/config.h deleted file mode 100644 index d49d284205b59..0000000000000 --- a/system/rover/config.h +++ /dev/null @@ -1,81 +0,0 @@ -#define RV_VERSION "0.4.2" - -/* CTRL+X: "^X" - ALT+X: "M-X" */ -#define RVK_QUIT "q" -#define RVK_HELP "?" -#define RVK_DOWN "j" -#define RVK_UP "k" -#define RVK_JUMP_DOWN "J" -#define RVK_JUMP_UP "K" -#define RVK_JUMP_TOP "g" -#define RVK_JUMP_BOTTOM "G" -#define RVK_CD_DOWN "l" -#define RVK_CD_UP "h" -#define RVK_HOME "H" -#define RVK_TARGET "t" -#define RVK_REFRESH "r" -#define RVK_SHELL "^M" -#define RVK_VIEW " " -#define RVK_EDIT "e" -#define RVK_OPEN "o" -#define RVK_SEARCH "/" -#define RVK_TG_FILES "f" -#define RVK_TG_DIRS "d" -#define RVK_TG_HIDDEN "s" -#define RVK_NEW_FILE "n" -#define RVK_NEW_DIR "N" -#define RVK_RENAME "R" -#define RVK_DELETE "D" -#define RVK_TG_MARK "m" -#define RVK_INVMARK "M" -#define RVK_MARKALL "a" -#define RVK_MARK_DELETE "X" -#define RVK_MARK_COPY "C" -#define RVK_MARK_MOVE "V" - -/* Colors available: DEFAULT, RED, GREEN, YELLOW, BLUE, CYAN, MAGENTA, WHITE, BLACK. */ -#define RVC_CWD GREEN -#define RVC_STATUS CYAN -#define RVC_BORDER BLUE -#define RVC_SCROLLBAR CYAN -#define RVC_LINK CYAN -#define RVC_HIDDEN YELLOW -#define RVC_EXEC GREEN -#define RVC_REG DEFAULT -#define RVC_DIR DEFAULT -#define RVC_CHR MAGENTA -#define RVC_BLK MAGENTA -#define RVC_FIFO BLUE -#define RVC_SOCK MAGENTA -#define RVC_PROMPT DEFAULT -#define RVC_TABNUM DEFAULT -#define RVC_MARKS YELLOW - -/* Special symbols used by the TUI. See <curses.h> for available constants. */ -#define RVS_SCROLLBAR ACS_CKBOARD -#define RVS_MARK ACS_DIAMOND - -/* Prompt strings for line input. */ -#define RV_PROMPT(S) S ": " -#define RVP_SEARCH RV_PROMPT("search") -#define RVP_NEW_FILE RV_PROMPT("new file") -#define RVP_NEW_DIR RV_PROMPT("new dir") -#define RVP_RENAME RV_PROMPT("rename") - -/* Number of entries to jump on RVK_JUMP_DOWN and RVK_JUMP_UP. */ -#define RV_JUMP 10 - -/* Optional macro to be executed when a batch operation finishes. */ -#define RV_ALERT() beep() - -/* Shell used to launch external programs. - Defining this macro will force Rover to launch external - programs with `sh -c "$EXTERNAL_PROGRAM [arg]"`. This gives more - flexibility, allowing command-line arguments to be embedded in - environment variables (e.g. PAGER="less -N"). On the other hand, - this requires the presence of a shell and will spawn an additional - process each time an external program is invoked. Leave this macro - undefined if you prefer external programs to be launched with just - `$EXTERNAL_PROGRAM [arg]`. */ -#define RV_SHELL "/bin/sh" diff --git a/system/rover/rover.SlackBuild b/system/rover/rover.SlackBuild index fcecebd3f51f6..dc3a5521632e2 100644 --- a/system/rover/rover.SlackBuild +++ b/system/rover/rover.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=rover VERSION=${VERSION:-0.4.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -70,7 +70,7 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # Allows using a custom config.h with rover -if [ -f $CWD/config,h ]; then +if [ -f $CWD/config.h ]; then cp -a $CWD/config.h config.h fi |