void-packages/srcpkgs/valabind-git/template

39 lines
1.1 KiB
Plaintext
Raw Normal View History

2012-08-10 09:54:57 +02:00
# Template file for 'valabind-git'
pkgname=valabind-git
version="$(date -u +%Y%m%d)"
2012-08-11 08:13:40 +02:00
revision=1
2012-08-10 09:54:57 +02:00
build_style=gnu-makefile
makedepends="pkg-config vala-devel>=0.18 libglib-devel"
2012-08-10 09:54:57 +02:00
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."
nofetch=yes
noextract=yes
2012-08-10 09:54:57 +02:00
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
}
}