kind: autotools
depends:
- core.bst
- python2-core.bst
- docutils.bst
sources:
- kind: git
  url: upstream:vim
  track: baserock/morph
  ref: 07c2c06799e0579e6bfb1a7d98acf38e36a98f79
config:
  configure-commands:
  - echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >>src/feature.h
  - ./configure --prefix="%{prefix}" --enable-multibyte
  install-commands:
  - make DESTDIR="%{install-root}" install
  - mkdir -p "%{install-root}"/etc
  - install -m 644 runtime/vimrc_example.vim "%{install-root}"/etc/vimrc
