summaryrefslogtreecommitdiff
path: root/data/vim/make.sh
diff options
context:
space:
mode:
Diffstat (limited to 'data/vim/make.sh')
-rw-r--r--data/vim/make.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/data/vim/make.sh b/data/vim/make.sh
index 790e0d155..5a68d377e 100644
--- a/data/vim/make.sh
+++ b/data/vim/make.sh
@@ -1,10 +1,11 @@
pkg:extract
cd *
-for ((x = 2; x != 214; ++x)); do
- echo Applying patch $x
- patch -p0 <"${PKG_DATA}/patches/8.1.$(printf '%.4u\n' "$x")"
+for patch in "${PKG_DATA}/patches/8.1."*; do
+ echo Applying patch $(basename "${patch}")
+ patch -p0 <"${patch}"
done
+
pkg:patch
cd src
autoconf
@@ -14,3 +15,4 @@ make
pkg:install
pkg: mkdir -p /etc/profile.d
pkg: cp -a %/vim.sh /etc/profile.d
+pkg: ln -s vim /usr/bin/vi