aboutsummaryrefslogtreecommitdiff
path: root/scripts/vim.sh
blob: 7fbcbb633420d63bab6115149e828b8d39cd95c4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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