void-packages/srcpkgs/flow/template

22 lines
543 B
Plaintext

# 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 <eivind@uggedal.com>"
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
}