diff --git a/srcpkgs/xdot/template b/srcpkgs/xdot/template new file mode 100644 index 00000000000..41438327123 --- /dev/null +++ b/srcpkgs/xdot/template @@ -0,0 +1,30 @@ +# Template file for 'xdot' +pkgname=xdot +version="$(date -u +%Y%m%d)" +revision=1 +build_style=python-module +makedepends="git python-distribute" +fulldepends="graphviz pygtk xbps-triggers>=0.46" +short_desc="Interactive viewer for Graphviz dot files" +maintainer="Juan RP " +license="GPL-3" +homepage="https://code.google.com/p/jrfonseca/wiki/XDot" +long_desc=" + xdot is an interactive viewer for graphs written in Graphviz's dot language. + + It uses internally the graphviz's xdot output format as an intermediate + format, and PyGTK and Cairo for rendering. + + xdot can be used either as a standalone application from command line, or as + a library embedded in your python application." + +noarch=yes +nofetch=yes +noextract=yes +pycompile_module="xdot.py" + +do_fetch() { + local url="https://code.google.com/p/jrfonseca.xdot" + msg_normal "Fetching source from $url ...\n" + git clone ${url} xdot-${version} +}