void-packages/srcpkgs/valabind-git/template

32 lines
1.0 KiB
Plaintext

# Template file for 'valabind-git'
pkgname=valabind-git
version="$(date -u +%Y%m%d)"
revision=1
nofetch=yes
noextract=yes
provides="valabind-9999"
replaces="valabind>=0"
build_style=gnu-makefile
depends="glib-devel vala-devel>=0.18"
makedepends="git pkg-config vala-devel>=0.18 glib-devel"
short_desc="Tool to transform vala source files to swig, GIR or GEAR (git snapshot)"
maintainer="Juan RP <xtraeme@gmail.com>"
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."
do_fetch() {
local url="git://github.com/radare/valabind"
msg_normal "Fetching source from $url ...\n"
git clone ${url} ${pkgname}-${version}
}