aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan P. Stanić <mps@arvanta.net>2020-10-16 07:11:26 +0000
committerLeo <thinkabit.ukim@gmail.com>2020-10-16 10:41:15 +0000
commit4398f263f98a5786772794a40af54d78d8f3c233 (patch)
treeb315b7e1e46e1baa7a52da735a731f024e4c102b
parentc2e6ed4d625c7f1961f4c23b84bcbf83ed0f6303 (diff)
downloadaports-4398f263f98a5786772794a40af54d78d8f3c233.tar.gz
aports-4398f263f98a5786772794a40af54d78d8f3c233.tar.bz2
aports-4398f263f98a5786772794a40af54d78d8f3c233.tar.xz
main/vim: split help files to subpackage
-rw-r--r--main/vim/APKBUILD13
1 files changed, 11 insertions, 2 deletions
diff --git a/main/vim/APKBUILD b/main/vim/APKBUILD
index 1e253637c4..15e6a6715c 100644
--- a/main/vim/APKBUILD
+++ b/main/vim/APKBUILD
@@ -4,7 +4,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=vim
pkgver=8.2.1843
-pkgrel=1
+pkgrel=2
pkgdesc="Improved vi-style text editor"
url="https://www.vim.org/"
arch="all"
@@ -12,7 +12,7 @@ license="Vim"
options="!check" # some tests are failing
depends="xxd"
makedepends="ncurses-dev lua5.3-dev python3-dev gtk+3.0-dev libx11-dev libxt-dev"
-subpackages="$pkgname-doc ${pkgname}diff::noarch $pkgname-tutor gvim xxd"
+subpackages="$pkgname-doc ${pkgname}diff::noarch $pkgname-tutor $pkgname-help gvim xxd"
source="$pkgname-$pkgver.tar.gz::https://github.com/vim/vim/archive/v$pkgver.tar.gz
vimrc
"
@@ -110,6 +110,15 @@ tutor() {
mv "$pkgdir"/usr/share/vim/vim82/tutor "$subpkgdir"/usr/share/vim/vim82/
}
+help() {
+ pkgdesc="vim help files"
+ depends="vim"
+ options="!tracedeps"
+
+ install -d "$subpkgdir"/usr/share/vim/vim82/doc
+ mv "$pkgdir"/usr/share/vim/vim82/doc "$subpkgdir"/usr/share/vim/vim82/
+}
+
xxd() {
pkgdesc="tool to make (or reverse) a hex dump"
depends=""