summaryrefslogtreecommitdiff
path: root/source/ap/vim/vim.SlackBuild
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2018-11-14 00:00:07 +0000
committerEric Hameleers <alien@slackware.com>2018-11-14 08:59:46 +0100
commite10adef4c2a06f02cd4970f0f6459c27e840f772 (patch)
treea8686f5f485fe72c2cac0bec34516a183e6c6043 /source/ap/vim/vim.SlackBuild
parent2520b90f18ab408818b967f77ef38c1be85de634 (diff)
downloadcurrent-e10adef4c2a06f02cd4970f0f6459c27e840f772.tar.gz
Wed Nov 14 00:00:07 UTC 201820181114000007
a/aaa_terminfo-6.1_20181110-x86_64-1.txz: Upgraded. a/kernel-generic-4.19.2-x86_64-1.txz: Upgraded. a/kernel-huge-4.19.2-x86_64-1.txz: Upgraded. a/kernel-modules-4.19.2-x86_64-1.txz: Upgraded. ap/vim-8.1.0526-x86_64-1.txz: Upgraded. Don't package .desktop files for the base vim package. Move the terminal-based vim.desktop (menu clutter) into the docs directory. d/kernel-headers-4.19.2-x86-1.txz: Upgraded. k/kernel-source-4.19.2-noarch-1.txz: Upgraded. l/librsvg-2.44.9-x86_64-1.txz: Upgraded. l/ncurses-6.1_20181110-x86_64-1.txz: Upgraded. The new kernel fixes the artifact on the virtual console, so the original linux terminal definition has been restored. xap/vim-gvim-8.1.0526-x86_64-1.txz: Upgraded. Let vim install its own icon and gvim.desktop files. Thanks to drumz. Don't include the terminal-based vim.desktop file. isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to 'source/ap/vim/vim.SlackBuild')
-rwxr-xr-xsource/ap/vim/vim.SlackBuild12
1 files changed, 12 insertions, 0 deletions
diff --git a/source/ap/vim/vim.SlackBuild b/source/ap/vim/vim.SlackBuild
index f9a57901..b6b712bd 100755
--- a/source/ap/vim/vim.SlackBuild
+++ b/source/ap/vim/vim.SlackBuild
@@ -156,6 +156,18 @@ zcat $CWD/vim.vimrc.diff.gz | patch -p1 --verbose || exit 1
# Add patched vimrc to the package:
cat runtime/vimrc.new > $PKG/usr/share/vim/vimrc.new
+# Don't package gvim.desktop - it will be included in the vim-gvim package:
+rm -f $PKG/usr/share/applications/gvim.desktop
+
+# Move the vim.desktop into the docs directory. There's really not much use
+# for this .desktop file. It's easy enough to just open a terminal and run
+# vim in it without this.
+mkdir -p $PKG/usr/doc/vim-$VERSION
+mv $PKG/usr/share/applications/vim.desktop $PKG/usr/doc/vim-$VERSION
+
+# Remove empty directory:
+rmdir $PKG/usr/share/applications
+
# Fix manpage symlinks:
if [ -d $PKG/usr/man ]; then
( cd $PKG/usr/man