summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/gvim/APKBUILD9
1 files changed, 3 insertions, 6 deletions
diff --git a/user/gvim/APKBUILD b/user/gvim/APKBUILD
index e1cde6aa8..1c7a69419 100644
--- a/user/gvim/APKBUILD
+++ b/user/gvim/APKBUILD
@@ -5,7 +5,7 @@
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=gvim
_pkgreal=vim
-pkgver=8.1.1662
+pkgver=8.1.1842
pkgrel=0
pkgdesc="advanced text editor"
url="http://www.vim.org"
@@ -25,14 +25,13 @@ builddir="$srcdir/$_pkgreal-$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 --enable-python3interp=dynamic"
./configure \
--build=$CBUILD \
@@ -58,8 +57,6 @@ build() {
}
package() {
- cd "$builddir"
-
install -Dm755 src/vim "$pkgdir"/usr/bin/gvim
install -Dm755 src/gvimtutor "$pkgdir"/usr/bin/gvimtutor
install -Dm644 runtime/vim16x16.png "$pkgdir"/usr/share/locolor/16x16/apps/gvim.png
@@ -74,4 +71,4 @@ package() {
ln -s gvim rgvim
}
-sha512sums="512fe345ea0982b49fa4b4d520f7e9e874dff92599a6fbc83ef795f9e39445394c3f0e53326f9a8a56c99ba0aa186d08a7d97af378ea22b2c755c57842f1f2ad vim-8.1.1662.tar.gz"
+sha512sums="bed9084fce858e0717409cfc4243437601033736f25b02e86fc360706214cf493aaa654053205df2e63b0143df7d2ee7d8f16a4fec776bcd848488f5bed45149 vim-8.1.1842.tar.gz"