void-packages/srcpkgs/flow/template

21 lines
535 B
Bash

# Template file for 'flow'
pkgname=flow
version=0.37.4
revision=1
only_for_archs="x86_64"
build_style=gnu-makefile
makedepends="ocaml ocamlbuild elfutils-devel"
short_desc="Static type checker for JavaScript"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
license="BSD"
homepage="http://flowtype.org/"
distfiles="https://github.com/facebook/${pkgname}/archive/v${version}.tar.gz"
checksum=f78bd6a37a242159ca5344069ae97b1843add40a43dc5680e463ca137a2b211c
nopie=yes
do_install() {
vbin bin/flow
vlicense LICENSE
vlicense PATENTS
}