void-packages/srcpkgs/hoogle/template

20 lines
577 B
Bash

# Template file for 'hoogle'
pkgname=hoogle
version=5.0.13
revision=1
build_style=haskell-stack
nocross=yes # Can't yet cross compile Haskell
stackage="lts-9.0"
makedepends="zlib-devel"
short_desc="Haskell API search engine"
maintainer="Inokentiy Babushkin <twk@twki.de>"
license="BSD-3"
homepage="http://hoogle.haskell.org/"
distfiles="https://github.com/ndmitchell/${pkgname}/archive/v${version}.tar.gz"
checksum=8e48dab21b40b5b339be23fab5f51f3d0a7d1cce476d6eed995e8cd00416abd8
nopie=yes # network-2.6.3.1 build fails with a relocation
post_install() {
vlicense LICENSE
}