stack: update to 1.7.1.
This commit is contained in:
parent
139dc7cc32
commit
d2d0525a48
1 changed files with 6 additions and 6 deletions
|
@ -1,8 +1,8 @@
|
|||
# Template file for 'stack'
|
||||
pkgname=stack
|
||||
version=1.6.5
|
||||
version=1.7.1
|
||||
revision=1
|
||||
_stackage="lts-10.7"
|
||||
_stackage="lts-12.0"
|
||||
hostmakedepends="cabal-install pkg-config unzip"
|
||||
makedepends="zlib-devel pcre-devel"
|
||||
depends="git iana-etc"
|
||||
|
@ -13,18 +13,18 @@ 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="71d02e2a3b507dcde7596f51d9a342865020aa74ebe79847d7bf815e1c7f2abb
|
||||
0ada04a2f46cafa2139bf1b47c3186004fa9aa260fa54887f4a979535404fe25"
|
||||
checksum="a548fb549b2b1e539e257732596508e4c3d43e3a9d62bd22ecc19dda67c30ce6
|
||||
5cc57cdd4fe15dc8cbb02ef9e57838e224db7bcb5383c22d6bca5c027f3bee7b"
|
||||
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
|
||||
sed -i 's/\(hpack\|temporary\|store\|fsnotify\|exceptions\|aeson\) .*/\1/' stack.cabal
|
||||
cabal update
|
||||
cabal install ${makejobs} cpphs happy
|
||||
cabal install ${makejobs} --only-dependencies
|
||||
cabal install ${makejobs} cpphs
|
||||
cabal configure -v --prefix=/usr --libsubdir='$pkg' \
|
||||
--datasubdir='$pkg' --docdir='$datadir/doc/$pkg'
|
||||
cabal build ${makejobs}
|
||||
|
|
Loading…
Reference in a new issue