summaryrefslogtreecommitdiffstats
path: root/source/ap/vim/vim.SlackBuild
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2023-08-10 05:48:31 +0000
committer Eric Hameleers <alien@slackware.com>2023-08-10 08:29:19 +0200
commit19e7ff8c7f3129e87cc2b771d47267c547bada6d (patch)
treecd6f0fd437a80fd20b19de35af06eb1bb6f1c681 /source/ap/vim/vim.SlackBuild
parentcba646cba8d9743163fd3f862ea894c53225c80f (diff)
downloadcurrent-19e7ff8c7f3129e87cc2b771d47267c547bada6d.tar.gz
current-19e7ff8c7f3129e87cc2b771d47267c547bada6d.tar.xz
Thu Aug 10 05:48:31 UTC 202320230810054831
a/mkinitrd-1.4.11-x86_64-33.txz: Rebuilt. Exclude 99-nfs.rules. Thanks to micu. ap/vim-9.0.1683-x86_64-1.txz: Upgraded. l/nodejs-20.5.1-x86_64-1.txz: Upgraded. n/NetworkManager-1.44.0-x86_64-1.txz: Upgraded. xap/vim-gvim-9.0.1683-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/ap/vim/vim.SlackBuild')
-rwxr-xr-xsource/ap/vim/vim.SlackBuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/source/ap/vim/vim.SlackBuild b/source/ap/vim/vim.SlackBuild
index 28efb9dbd..7c5db46fc 100755
--- a/source/ap/vim/vim.SlackBuild
+++ b/source/ap/vim/vim.SlackBuild
@@ -33,7 +33,9 @@ PERLINTERP=${PERLINTERP:-dynamic}
if [ -r vim-${VIMBRANCH}*.tar.?z ]; then # if there's a source archive already, use the version number from it:
VERSION=$(echo vim-${VIMBRANCH}*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)
else # need to fetch the latest source archive for this branch:
- VERSION="$(wget -q -O - https://www.vim.org | grep "^${VIMBRANCH}" | head -n 1)"
+ #VERSION="$(wget -q -O - https://www.vim.org | grep "^${VIMBRANCH}" | head -n 1)"
+ # Let's take the version from github instead:
+ VERSION="$(wget -q -O - https://github.com/vim/vim/tags | grep v${VIMBRANCH} | head -n 1 | sed "s/^.*v${VIMBRANCH}/v${VIMBRANCH}/" | cut -f 1 -d '<' | tr -d v)"
( lftpget https://github.com/vim/vim/archive/v${VERSION}.tar.gz
gzip -d v${VERSION}.tar.gz
mv v${VERSION}.tar vim-${VERSION}.tar
@@ -152,9 +154,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
-# Patch for perl-5.38.0:
-cat $CWD/12575.patch | patch -p1 --verbose || exit 1
-
config_vim --without-x --disable-gui || exit 1
make $NUMJOBS || make || exit 1
make install DESTDIR=$PKG || exit 1