void-packages/srcpkgs/hlint/template

20 lines
569 B
Bash

# Template file for 'hlint'
pkgname=hlint
version=2.0.11
revision=1
build_style=haskell-stack
nocross=yes # Can't yet cross compile Haskell
stackage="lts-10.2"
short_desc="Haskell source code suggestions"
maintainer="Inokentiy Babushkin <twk@twki.de>"
license="BSD-3"
homepage="https://github.com/ndmitchell/hlint"
distfiles="https://github.com/ndmitchell/${pkgname}/archive/v${version}.tar.gz"
checksum=be1b67a835c70a28ca3edcb6c042e1c66759167ab83a620034779027c40474e4
nopie_files="/usr/bin/hlint"
post_install() {
rm -f ${DESTDIR}/usr/bin/engine
vlicense LICENSE
}