diff --git a/srcpkgs/flow/template b/srcpkgs/flow/template new file mode 100644 index 00000000000..373d2195a40 --- /dev/null +++ b/srcpkgs/flow/template @@ -0,0 +1,21 @@ +# Template file for 'flow' +pkgname=flow +version=0.1.2 +revision=1 +build_style=gnu-makefile +makedepends="ocaml elfutils-devel" +short_desc="Static type checker for JavaScript" +maintainer="Eivind Uggedal " +license="BSD" +homepage="http://flowtype.org/" +distfiles="https://github.com/facebook/${pkgname}/archive/v${version}.tar.gz" +checksum=31ddcd3b0a6afa4ec19bab3c3aeb9b1adba7eea4d3ec5c40cc6d1ecc29d904db + +do_install() { + install -Dm755 bin/flow ${DESTDIR}/usr/bin/flow +} + +post_install() { + vlicense LICENSE + vlicense PATENTS +}