Update package version to 9.1.1798
This commit is contained in:
@@ -1,11 +1,36 @@
|
|||||||
name: vim
|
name: vim
|
||||||
description: A highly configurable text editor
|
description: A highly configurable text editor
|
||||||
version: 9.1.1779
|
version: 9.1.1798
|
||||||
|
revision: 1
|
||||||
url: https://www.vim.org/
|
url: https://www.vim.org/
|
||||||
license: vim
|
license: vim
|
||||||
architecture: any
|
architecture: any
|
||||||
depends: ["acl","glibc","gpm","libgcrypt","zlib"]
|
|
||||||
optional_depends: ["gawk","lua","perl","python3","ruby","sh","tcl"]
|
|
||||||
make_depends: ["gawk","lua","perl","python3","ruby","tcl"]
|
|
||||||
keep: ["etc/vimrc"]
|
|
||||||
type: source
|
type: source
|
||||||
|
keep:
|
||||||
|
- etc/vimrc
|
||||||
|
depends:
|
||||||
|
- acl
|
||||||
|
- glibc
|
||||||
|
- gpm
|
||||||
|
- libgcrypt
|
||||||
|
- zlib
|
||||||
|
optional_depends:
|
||||||
|
- gawk
|
||||||
|
- lua
|
||||||
|
- perl
|
||||||
|
- python3
|
||||||
|
- ruby
|
||||||
|
- sh
|
||||||
|
- tcl
|
||||||
|
make_depends:
|
||||||
|
- gawk
|
||||||
|
- lua
|
||||||
|
- perl
|
||||||
|
- python3
|
||||||
|
- ruby
|
||||||
|
- tcl
|
||||||
|
downloads:
|
||||||
|
- url: https://github.com/vim/vim/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz
|
||||||
|
extract_to_bpm_source: true
|
||||||
|
extract_strip_components: 1
|
||||||
|
checksum: 38154bb5012a8c037f7f3a579840b974c951734debcd10ad774b9a736a04973b
|
||||||
|
|||||||
@@ -2,15 +2,9 @@
|
|||||||
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
||||||
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
||||||
|
|
||||||
DOWNLOAD="https://github.com/vim/vim/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz"
|
|
||||||
FILENAME="${DOWNLOAD##*/}"
|
|
||||||
|
|
||||||
# The prepare function is executed in the root of the temp directory
|
# The prepare function is executed in the root of the temp directory
|
||||||
# This function is used for downloading files and putting them into the correct location
|
# This function is used for putting downloaded files to the correct location or applying patches
|
||||||
prepare() {
|
prepare() {
|
||||||
wget "$DOWNLOAD"
|
|
||||||
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
|
|
||||||
|
|
||||||
cd "$BPM_SOURCE"
|
cd "$BPM_SOURCE"
|
||||||
# Define place for global vimrc file
|
# Define place for global vimrc file
|
||||||
sed -E 's|^.*(#define SYS_.*VIMRC_FILE.*").*$|\1|g' -i src/feature.h
|
sed -E 's|^.*(#define SYS_.*VIMRC_FILE.*").*$|\1|g' -i src/feature.h
|
||||||
|
|||||||
Reference in New Issue
Block a user