vp-build/srcpkgs/hlint/template

24 lines
674 B
Bash

# Template file for 'hlint'
pkgname=hlint
version=3.3.6
revision=1
build_style=haskell-stack
stackage="lts-19.0"
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=7d536c03f77a0c259efb2b00b525ef34578ca8a4a95ccb412708e8c7172e2e6a
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
}