aboutsummaryrefslogtreecommitdiffstats
path: root/main/protobuf
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-08-14 15:02:45 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2015-08-14 15:02:45 +0200
commit2c56f6d8b199cb418df3e7cf5c9d73cb4f9e5ee7 (patch)
tree791c152e8db7c534b21cb1f1585bd3c37721eaed /main/protobuf
parenta0f76acbe24f10fb8b0619f847e0d594693ed494 (diff)
downloadaports-2c56f6d8b199cb418df3e7cf5c9d73cb4f9e5ee7.tar.bz2
aports-2c56f6d8b199cb418df3e7cf5c9d73cb4f9e5ee7.tar.xz
main/protobuf: install vim files with install_if
Diffstat (limited to 'main/protobuf')
-rw-r--r--main/protobuf/APKBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/protobuf/APKBUILD b/main/protobuf/APKBUILD
index dc3a520fa5..78501cdf4b 100644
--- a/main/protobuf/APKBUILD
+++ b/main/protobuf/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=protobuf
pkgver=2.6.1
-pkgrel=3
+pkgrel=4
pkgdesc="Library for extensible, efficient structure packing"
url="http://code.google.com/p/protobuf/"
arch="all"
@@ -54,6 +54,7 @@ py() {
vim() {
depends=""
pkgdesc="Vim syntax for $pkgname"
+ install_if="$pkgname=$pkgver-r$pkgrel vim"
arch="noarch"
install -Dm644 "$_builddir"/editors/proto.vim \