diff --git a/srcpkgs/protobuf-vala/template b/srcpkgs/protobuf-vala/template index cb25bc9a209..09ed71b320f 100644 --- a/srcpkgs/protobuf-vala/template +++ b/srcpkgs/protobuf-vala/template @@ -1,21 +1,27 @@ # Template file for 'protobuf-vala' pkgname=protobuf-vala version=0.1.0 -revision=2 +revision=3 build_style=gnu-configure configure_args="--disable-static" -hostmakedepends="protobuf" -makedepends="pkg-config libgee08-devel protobuf-devel vala-devel" +hostmakedepends="protobuf pkg-config vala" +makedepends="libgee08-devel protobuf-devel vala-devel" depends="pkg-config glib-devel" -short_desc="A plugin for the Google protocol buffer compiler to generate Vala code" +short_desc="Plugin for the Google protocol buffer compiler to generate Vala code" maintainer="Orphaned " -license="GPL-3" +license="GPL-3.0-only" homepage="http://launchpad.net/protobuf-vala/" distfiles="${homepage}/trunk/${version}/+download/${pkgname}-${version}.tar.xz" checksum=c12547813fa22ee2b15967f17146b08e2a4d90800810fe63730332aea6777c48 disable_parallel_build=yes +post_patch() { + if [ "$CROSS_BUILD" ]; then + vsed -i -e '/^noinst_PROGRAMS/s/=.*/=/' src/Makefile.in + fi +} + libprotobuf-vala_package() { short_desc+=" - shared library" pkg_install() {