# Template file for 'valabind-git' pkgname=valabind-git version=20130812 revision=1 build_style=gnu-makefile hostmakedepends="pkg-config vala-devel>=0.18" makedepends="vala-devel>=0.18 libglib-devel" short_desc="Tool to transform vala source files to swig, GIR or GEAR (git snapshot)" maintainer="Juan RP " license="LGPL-3" homepage="http://radare.org" distfiles="$homepage/get/$pkgname-$version.tar.gz" checksum=161641fc4a6ed0e22fcc82c85c8f91e41f18ae02260151f19293ee36c7c4b751 long_desc=" Valabind is a tool to parse vala[1] or vapi files to transform them into swig interface files, C++ source files, GIR or GEAR. With swig, you can create language bindings for any API written in vala or C with a vapi interface. It can also generate bindings for C++ and v8-GearBox." nofetch=yes noextract=yes do_fetch() { local url="git://github.com/radare/valabind" msg_normal "Fetching source from $url ...\n" git clone ${url} ${pkgname}-${version} } valabind-git_package() { replaces="valabind>=0" provides="valabind-9999" depends="glib-devel vala-devel>=0.18" pkg_install() { vmove usr } }