void-packages/srcpkgs/hlint/template

23 lines
642 B
Bash

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