diff --git a/srcpkgs/ttyload-git/template b/srcpkgs/ttyload-git/template new file mode 100644 index 00000000000..f8cbc86b9b7 --- /dev/null +++ b/srcpkgs/ttyload-git/template @@ -0,0 +1,22 @@ +# Template file for 'ttyload-git' +pkgname=ttyload-git +version=20141117 +revision=1 +build_style=gnu-makefile +hostmakedepends="git" +short_desc="An ASCII colour-coded graph of load averages over time" +maintainer="Thomas Adam " +license="ISC" +homepage="http://www.daveltd.com/src/util/ttyload/" +provides="ttyload-${version}_${revision}" +replaces="ttyload>=0" + +do_fetch() { + local url="git://github.com/lindes/ttyload.git" + msg_normal "Fetching source from $url ...\n" + git clone ${url} ${pkgname}-${version} +} + +do_install() { + vbin ttyload +}