-
Notifications
You must be signed in to change notification settings - Fork 167
/
vim.yaml
55 lines (48 loc) · 1.22 KB
/
vim.yaml
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
55
package:
name: vim
version: 9.1.0202
epoch: 0
description: "Improved vi-style text editor"
copyright:
- license: Vim
environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- lua5.3-dev
- ncurses-dev
- python3-dev
- wolfi-base
pipeline:
- uses: fetch
with:
uri: https://github.com/vim/vim/archive/v${{package.version}}.tar.gz
expected-sha256: fe1df26dfb79d2050e35ed97629beac81b210ca438e77078e68a455f096ec251
- runs: |
# vim seems to manually set FORTIFY_SOURCE=1, and setting both breaks the build
export CFLAGS=${CFLAGS/-Wp,-D_FORTIFY_SOURCE=3/}
export CPPFLAGS="$CFLAGS"
export CXXFLAGS="$CFLAGS"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--enable-luainterp \
--enable-python3interp=dynamic \
--without-x \
--disable-nls \
--enable-multibyte \
--enable-gui=no \
--with-lua-prefix=/usr/lua5.3 \
--with-compiledby="Wolfi Linux"
- uses: autoconf/make
- uses: autoconf/make-install
- uses: strip
update:
enabled: true
github:
identifier: vim/vim
strip-prefix: v
use-tag: true