aboutsummaryrefslogtreecommitdiffstats
path: root/community/docker
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2018-03-07 11:00:12 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2018-03-07 11:08:39 +0100
commit0e5d58054797c7241b420b2b0d01250e434226f6 (patch)
tree0b65548b654cc264dfb9eb7169123ae9008d6f04 /community/docker
parentc790bfffe4d86fa45c397ad74d7d293325bb6d2c (diff)
downloadaports-0e5d58054797c7241b420b2b0d01250e434226f6.tar.bz2
aports-0e5d58054797c7241b420b2b0d01250e434226f6.tar.xz
community/docker: add install_if for vim subpackages
Other packages providing a vim subpackage (e.g. main/mercurial) also add an install_if rule for their vim subpackage. So for the sake of consistency do it here as well.
Diffstat (limited to 'community/docker')
-rw-r--r--community/docker/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/community/docker/APKBUILD b/community/docker/APKBUILD
index 17dac73f7a..e9c9a676c0 100644
--- a/community/docker/APKBUILD
+++ b/community/docker/APKBUILD
@@ -2,7 +2,7 @@
pkgname=docker
pkgver=17.12.1
_ver=${pkgver/_/-}-ce
-pkgrel=0
+pkgrel=1
_gitcommit=v$_ver
pkgdesc="Pack, ship and run any application as a lightweight container"
url="http://www.docker.io/"
@@ -228,8 +228,9 @@ zshcomp() {
}
vim() {
- pkgdesc="Vim syntax for Docker"
depends=""
+ pkgdesc="Vim syntax for $pkgname"
+ install_if="vim $pkgname=$pkgver-r$pkgrel"
local f=
for f in ftdetect/dockerfile.vim syntax/dockerfile.vim; do