diff --git a/srcpkgs/valadoc-git/template b/srcpkgs/valadoc-git/template new file mode 100644 index 00000000000..e8a467cce9f --- /dev/null +++ b/srcpkgs/valadoc-git/template @@ -0,0 +1,25 @@ +# Template file for 'valadoc-git' +pkgname=valadoc-git +version="$(date -u +%Y%m%d)" +revision=1 +nofetch=yes +noextract=yes +provides="valadoc-${version}" +replaces="valadoc>=0" +build_style=gnu-configure +makedepends="git pkg-config vala-devel>=0.18 glib-devel + automake libgee08-devel which graphviz-devel" +short_desc="Documentation tool for the vala project" +maintainer="pancake " +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 +}