diff options
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" |