aboutsummaryrefslogtreecommitdiff
path: root/core/neatvi/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-05-09 02:19:53 +0300
committerCem Keylan <cem@ckyln.com>2020-05-09 02:19:53 +0300
commit9baff80858a499c0f1c5e97f4e9b8b450d9f399e (patch)
treeec43ac34ed52ed1b34482dba2839a507d17ea5d0 /core/neatvi/build
parente0e96dc7035ecd456e02b0ed25730965603b65f3 (diff)
downloadrepository-9baff80858a499c0f1c5e97f4e9b8b450d9f399e.tar.gz
neatvi: add package at 07 to core
neatvi is added to the core as it is a slim editor that can be used in the base. Since busybox is not exactly portable outside of a Linux environment, I might be adding this package to the base as well.
Diffstat (limited to 'core/neatvi/build')
-rwxr-xr-xcore/neatvi/build8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/neatvi/build b/core/neatvi/build
new file mode 100755
index 00000000..b2cd0888
--- /dev/null
+++ b/core/neatvi/build
@@ -0,0 +1,8 @@
+#!/bin/sh -e
+
+make
+install -Dm755 vi "$1/usr/bin/vi"
+ln -sf vi "$1/usr/bin/ex"
+
+# Add this as a vim alternative
+ln -sf vi "$1/usr/bin/vim"