stack: update to 1.6.5.

This commit is contained in:
Leah Neukirchen 2018-03-03 17:23:38 +01:00
parent 2d8b22f152
commit 31786a1aaf

View file

@ -1,26 +1,27 @@
# Template file for 'stack'
pkgname=stack
version=1.6.3
revision=2
_stackage="lts-10.2"
version=1.6.5
revision=1
_stackage="lts-10.7"
hostmakedepends="cabal-install pkg-config"
makedepends="zlib-devel pcre-devel"
depends="git iana-etc"
short_desc="Cross-platform program for developing Haskell projects"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="BSD-3"
license="3-clause-BSD"
homepage="http://haskellstack.org"
distfiles="https://github.com/commercialhaskell/${pkgname}/releases/download/v${version}/${pkgname}-${version}-sdist-1.tar.gz
https://www.stackage.org/${_stackage}/cabal.config>cabal.config-${_stackage}"
skip_extraction="cabal.config-${_stackage}"
checksum="e3fdd37f36acec830d5692be4a5a5fcb5862112eebc4c11f6c3689ec86dba49b
66b74d1952ae5f7ab6bec2cab3c23ed90aad6c8d5e6105c178074eab9e9b3889"
checksum="71d02e2a3b507dcde7596f51d9a342865020aa74ebe79847d7bf815e1c7f2abb
0ada04a2f46cafa2139bf1b47c3186004fa9aa260fa54887f4a979535404fe25"
nocross=yes
nopie_files="/usr/bin/stack"
do_build() {
cabal sandbox init
cp ${XBPS_SRCDISTDIR}/${pkgname}-${version}/cabal.config-${_stackage} cabal.config
sed -i '/hpack/d' cabal.config
cabal update
cabal install ${makejobs} --only-dependencies
cabal install ${makejobs} cpphs