aboutsummaryrefslogtreecommitdiff
path: root/scripts/vim.sh
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2018-04-15 15:01:45 -0400
committerMitch Riedstra <mitch@riedstra.us>2018-04-15 15:01:45 -0400
commit104f042ddbef56e323b61353fceeb5fd3dae5556 (patch)
tree3138009b987133ca82c17da4aeb87e97eacc6635 /scripts/vim.sh
parent6fa2b7b7011b709d7fd470c3dcaacfe7c10cf28e (diff)
downloadmin-104f042ddbef56e323b61353fceeb5fd3dae5556.tar.gz
min-104f042ddbef56e323b61353fceeb5fd3dae5556.tar.xz
Added kernel config and many more scripts
Altered scripts to allow for rebuilding wihout deleting the `build` folder. Added ncurses and vim to the build. Also added initial version of runit Still need to make sure that get_sources and distfiles are properly gathered from the script soon
Diffstat (limited to 'scripts/vim.sh')
-rw-r--r--scripts/vim.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/scripts/vim.sh b/scripts/vim.sh
new file mode 100644
index 0000000..7fbcbb6
--- /dev/null
+++ b/scripts/vim.sh
@@ -0,0 +1,17 @@
+#!/bin/sh
+. ./.vars
+export DESTDIR=$prefix
+VERSION=8.0.1298
+BUILD_DIR="${build_dir}/vim-$VERSION"
+if ! [ -d "$BUILD_DIR" ] ; then
+ cd "$build_dir"
+ tar xfjv ${dist_dir}/vim-$VERSION.tar.bz2
+fi
+cd "${build_dir}/vim-$VERSION"
+export CC=musl-gcc
+export LDFLAGS="-static"
+export DESTDIR="$prefix"
+make distclean || echo ""
+./configure --prefix=/usr --with-tlib=ncurses --with-local-dir=$prefix/usr
+make -j$(numproc)
+make install