summaryrefslogtreecommitdiff
path: root/etc/pkgs/002-vim.sh
blob: 674525496de3bed20823f943c6e8632df69d799d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash
set -xe

name=vim
version=8.1.0994
url=https://github.com/vim/vim/archive/v${version}.tar.gz

curl -LO ${url}
tar xf v${version}.tar.gz

pushd ${name}-${version}/src
    ./configure --prefix=${TOOLCHAIN} \
        --without-local-dir \
        --enable-cscope \
        --enable-multibyte \
        --enable-python3interp=dynamic

    make -j${_maxjobs}
    make install STRIP=strip
popd

rm -f v${version}*.tar.gz
rm -rf ${name}-${version}