summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/vim/APKBUILD8
1 files changed, 3 insertions, 5 deletions
diff --git a/system/vim/APKBUILD b/system/vim/APKBUILD
index 7e383e016..21183f2d7 100644
--- a/system/vim/APKBUILD
+++ b/system/vim/APKBUILD
@@ -4,7 +4,7 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=vim
-pkgver=8.1.1662
+pkgver=8.1.1842
pkgrel=0
pkgdesc="advanced text editor"
url="https://www.vim.org"
@@ -28,14 +28,13 @@ builddir="$srcdir/$pkgname-$pkgver"
# - CVE-2016-1248
prepare() {
- cd "$builddir"
+ default_prepare
# Read vimrc from /etc/vim
echo '#define SYS_VIMRC_FILE "/etc/vim/vimrc"' >> src/feature.h
}
build() {
local _onlynative
- cd "$builddir"
[ "$CBUILD" != "$CHOST" ] || _onlynative="--enable-perlinterp=dynamic --enable-python3interp=dynamic"
./configure \
--build=$CBUILD \
@@ -60,7 +59,6 @@ build() {
}
package() {
- cd "$builddir"
make -j1 DESTDIR="$pkgdir/" install
install -Dm644 runtime/doc/uganda.txt \
@@ -81,6 +79,6 @@ vimdiff() {
mv "$pkgdir"/usr/bin/vimdiff "$subpkgdir"/usr/bin
}
-sha512sums="512fe345ea0982b49fa4b4d520f7e9e874dff92599a6fbc83ef795f9e39445394c3f0e53326f9a8a56c99ba0aa186d08a7d97af378ea22b2c755c57842f1f2ad vim-8.1.1662.tar.gz
+sha512sums="bed9084fce858e0717409cfc4243437601033736f25b02e86fc360706214cf493aaa654053205df2e63b0143df7d2ee7d8f16a4fec776bcd848488f5bed45149 vim-8.1.1842.tar.gz
12ee3f96c94d74215159fba379ed61907ec5982a9f1643575dcb7c3d5e30824665d683de95f97b5067718b3f2a1238fb7534a70803bc170614498ad026f352d8 vimrc
16026a3ed3e080b3f8281948579ab678e9acd724ad594463279712fbf1024bcd923155a133bd08118848d2c6cdf11c69489d85b1c7438f60b4c279094714d181 no-default-mouse.patch"