diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2015-08-14 09:42:23 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-08-14 14:59:57 +0200 |
commit | a0f76acbe24f10fb8b0619f847e0d594693ed494 (patch) | |
tree | df567c6fabc528f7eb2edff41ac2bc8202696245 /main/protobuf | |
parent | 94f94e27b8c5a916be1dea2cb195687a11d1db0a (diff) | |
download | aports-a0f76acbe24f10fb8b0619f847e0d594693ed494.tar.bz2 aports-a0f76acbe24f10fb8b0619f847e0d594693ed494.tar.xz |
main/protobuf: add vim subpackage
Diffstat (limited to 'main/protobuf')
-rw-r--r-- | main/protobuf/APKBUILD | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/main/protobuf/APKBUILD b/main/protobuf/APKBUILD index 05aa015a97..dc3a520fa5 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=2 +pkgrel=3 pkgdesc="Library for extensible, efficient structure packing" url="http://code.google.com/p/protobuf/" arch="all" @@ -11,7 +11,7 @@ depends= depends_dev="zlib-dev" makedepends="$depends_dev autoconf automake libtool" install="" -subpackages="$pkgname-dev" +subpackages="$pkgname-dev $pkgname-vim" source="protobuf-$pkgver.tar.gz::https://github.com/google/protobuf/archive/v$pkgver.tar.gz" _builddir="$srcdir"/$pkgname-$pkgver @@ -51,6 +51,15 @@ py() { install -m644 google "$subpkgdir"/usr/lib/python2.6/site-packages } +vim() { + depends="" + pkgdesc="Vim syntax for $pkgname" + arch="noarch" + + install -Dm644 "$_builddir"/editors/proto.vim \ + "$subpkgdir"/usr/share/vim/vimfiles/syntax/proto.vim +} + md5sums="af05b2cca289f7b86eef2734a0cdc8b9 protobuf-2.6.1.tar.gz" sha256sums="2667b7cda4a6bc8a09e5463adf3b5984e08d94e72338277affa8594d8b6e5cd1 protobuf-2.6.1.tar.gz" sha512sums="8a6337e007572b1c5688ad178a18e98e94e62112bbc4ae558b4a3f8fa7f93a9643929ccaf31b94490c9f601328ae3f48dab7b702a2b9c989a5254514c78a4d1e protobuf-2.6.1.tar.gz" |