From a478bc2efa0ac25fbc0d5fed628bbb86b2f4da4a Mon Sep 17 00:00:00 2001 From: maxice8 Date: Thu, 7 Jun 2018 00:02:25 -0300 Subject: [PATCH] protobuf-c: rebuild against protobuf-3.6.0. --- srcpkgs/protobuf-c/template | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/srcpkgs/protobuf-c/template b/srcpkgs/protobuf-c/template index c50b98236a9..d8530462f7a 100644 --- a/srcpkgs/protobuf-c/template +++ b/srcpkgs/protobuf-c/template @@ -1,16 +1,17 @@ # Template file for 'protobuf-c' pkgname=protobuf-c version=1.3.0 -revision=4 +revision=5 build_style=gnu-configure hostmakedepends="pkg-config protobuf" makedepends="protobuf-devel" short_desc="C implementation of the Google Protocol Buffers" maintainer="Enno Boland " -license="BSD" +license="BSD-2-Clause" homepage="https://github.com/protobuf-c/protobuf-c" -distfiles="$homepage/releases/download/v$version/protobuf-c-$version.tar.gz" +distfiles="${homepage}/releases/download/v${version}/protobuf-c-${version}.tar.gz" checksum=5dc9ad7a9b889cf7c8ff6bf72215f1874a90260f60ad4f88acf21bb15d2752a1 + # buildprocess calls compiler while building, disable it on cross build build_options="protoc" if [ -z "$CROSS_BUILD" ]; then @@ -18,6 +19,10 @@ if [ -z "$CROSS_BUILD" ]; then fi configure_args="$(vopt_enable protoc)" +post_install() { + vlicense LICENSE +} + protobuf-c-devel_package() { depends="${sourcepkg}>=${version}_${revision}" short_desc+=" - development files"