30 lines
870 B
Bash
30 lines
870 B
Bash
# Template file for 'protobuf-vala'
|
|
pkgname=protobuf-vala
|
|
version=0.1.0
|
|
revision=3
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static"
|
|
hostmakedepends="protobuf pkg-config vala"
|
|
makedepends="libgee08-devel protobuf-devel vala-devel"
|
|
depends="pkg-config glib-devel"
|
|
short_desc="Plugin for the Google protocol buffer compiler to generate Vala code"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
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() {
|
|
vmove "usr/lib/*.so*"
|
|
}
|
|
}
|