void-packages/srcpkgs/valadoc-git/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

22 lines
639 B
Bash

# Template file for 'valadoc-git'
pkgname=valadoc-git
version=20150113
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config libtool automake git vala-devel"
makedepends="libglib-devel vala-devel libgee08-devel graphviz-devel"
replaces="valadoc>=0"
provides="valadoc-${version}_${revision}"
short_desc="Documentation tool for the vala project"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-3"
homepage="https://live.gnome.org/Valadoc"
do_fetch() {
local url="git://git.gnome.org/valadoc"
msg_normal "Fetching source from $url ...\n"
git clone ${url} ${pkgname}-${version}
}
pre_configure() {
./autogen.sh
}