summaryrefslogtreecommitdiff
path: root/opt/vim/MAKEPKG
blob: 48bd000e88c85b9eee4a565f0cf98d948f0431d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#!/bin/mkpkg
# description: Vi IMproved - text editor
# url: https://www.vim.org/

name=vim
version=9.2.1129
release=1
variant=(Vi IMproved - console only)
depends=(ncurses)
source=(https://github.com/vim/vim/archive/v$version/vim-$version.tar.gz)

sha256sums=(
    "a30c7c49be62fe59dd746c8bca3853ac5996327cd641b038334be7e926929c2c"
)

build() {
    cd vim-$version
    
    ./configure \
        --prefix=/usr \
        --localstatedir=/var/lib/vim \
        --with-features=huge \
        --with-compiledby='rawnix' \
        --without-wayland \
        --enable-multibyte \
        --enable-cscope \
        --disable-gui \
        --disable-gpm \
        --disable-acl \
        --disable-nls \
        --without-x \
        --disable-perlinterp \
        --disable-pythoninterp \
        --disable-python3interp \
        --disable-rubyinterp \
        --disable-luainterp \
        --disable-tclinterp \
        --disable-canberra \
        --disable-libsodium 
    
    make
    make DESTDIR=$PKG install
    
    rm -rf $PKG/usr/share/vim/vim*/tutor
    rm -rf $PKG/usr/share/applications
    rm -rf $PKG/usr/share/icons
}

signify() {
    untrusted comment: public key
    RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}

# vim: filetype=sh