# Template file for 'hlint'
pkgname=hlint
version=3.10
revision=1
build_style=cabal
cabal_index_state="2025-02-02T20:29:37Z"
makedepends="ncurses-devel"
short_desc="Haskell source code suggestions"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/ndmitchell/hlint"
distfiles="https://github.com/ndmitchell/${pkgname}/archive/v${version}.tar.gz"
checksum=e2a43c6e3981a182fcf4abcb83e2aad948bf8475c570011fb31a902b64bcec4a
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
}
