void-packages/srcpkgs/hlint/template
2022-03-11 14:42:59 +01:00

23 lines
675 B
Bash

# Template file for 'hlint'
pkgname=hlint
version=3.2.7
revision=2
build_style=haskell-stack
stackage="lts-18.14"
makedepends="ncurses-devel"
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/${pkgname}/archive/v${version}.tar.gz"
checksum=fcdeefcc79a52206add44b409abcab48c5fe2adff9d5aff077acbc43c702b54e
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
}