stack: update to 1.5.0.

This commit is contained in:
Leah Neukirchen 2017-07-26 13:59:51 +02:00
parent 353206f8ec
commit 1b74a3ec0e
1 changed files with 4 additions and 6 deletions

View File

@ -1,8 +1,8 @@
# Template file for 'stack'
pkgname=stack
version=1.4.0
version=1.5.0
revision=1
_stackage="lts-8.9"
_stackage="lts-8.23"
hostmakedepends="cabal-install pkg-config"
makedepends="zlib-devel pcre-devel"
depends="git iana-etc"
@ -13,16 +13,14 @@ homepage="http://haskellstack.org"
distfiles="https://github.com/commercialhaskell/stack/archive/v${version}.tar.gz
https://www.stackage.org/${_stackage}/cabal.config>cabal.config-${_stackage}"
skip_extraction="cabal.config-${_stackage}"
checksum="595d311ad117e41ad908b7065743917542b40f343d1334673e98171ee74d36e6
05c840d29192fc45d71b1b6d3be852f07903648f9f4993fc6c91759a0f97e204"
checksum="2ffead80e9cc3b72480e9130bb639aaa8a6a684d8f6098a3843fe88803c8e478
cf29206c8b610f83423839a335a96d1cc8f4b974bb46254bf5c3ffe54cf94030"
nocross=yes
nopie=yes # network-2.6.2.1 build fails with a relocation
do_build() {
cabal sandbox init
cp ${XBPS_SRCDISTDIR}/${pkgname}-${version}/cabal.config-${_stackage} cabal.config
sed -i 's/ store ==.*/ store ==0.3.1,/' cabal.config
sed -i 's/ store-core ==.*/ store-core ==0.3,/' cabal.config
cabal update
cabal install ${makejobs} --only-dependencies
cabal install ${makejobs} cpphs