Date: Wednesday, December 18, 2019 @ 18:56:31 Author: felixonmars Revision: 538047
upgpkg: haskell-shake 0.18.4-1 rebuild with shake 0.18.4 Modified: haskell-shake/trunk/PKGBUILD ----------+ PKGBUILD | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-12-18 18:46:22 UTC (rev 538046) +++ PKGBUILD 2019-12-18 18:56:31 UTC (rev 538047) @@ -3,27 +3,31 @@ _hkgname=shake pkgname=haskell-shake -pkgver=0.18.3 -pkgrel=56 +pkgver=0.18.4 +pkgrel=1 pkgdesc="Build system library, like Make, but more accurate dependencies." url="https://shakebuild.com" license=("BSD") arch=('x86_64') -depends=('ghc-libs' 'haskell-extra' 'haskell-filepattern' 'haskell-hashable' 'haskell-heaps' - 'haskell-js-dgtable' 'haskell-js-flot' 'haskell-js-jquery' 'haskell-primitive' - 'haskell-random' 'haskell-unordered-containers' 'haskell-utf8-string') +depends=('ghc-libs' 'haskell-extra' 'haskell-file-embed' 'haskell-filepattern' 'haskell-hashable' + 'haskell-heaps' 'haskell-js-dgtable' 'haskell-js-flot' 'haskell-js-jquery' + 'haskell-primitive' 'haskell-random' 'haskell-unordered-containers' 'haskell-utf8-string') makedepends=('ghc' 'haskell-quickcheck') source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") -sha512sums=('d7d3ac1c7db8cec76df7e09d115f54be09cd66f95740c27ad807e3fa35b9ea37d20874c279b22d62b173b52205050a7bcaa805a265dab0fe73776e9a0b9a36db') +sha512sums=('ae3721010b0624a6e5aa8f129bb193cb00093959c5caf1c43c2e69525242f38e9e71cb1599d21c0df042d6d79d14e291723e1da14bd998d87c4060918aa0619d') prepare() { cd $_hkgname-$pkgver - sed -i 's/ghc --make/ghc -dynamic --make/' src/Test/Command.hs - sed -e 's/runhaskell -package=Cabal Setup.hs configure/runhaskell -package=Cabal Setup.hs configure --enable-executable-dynamic --disable-library-vanilla/' \ + sed -i 's/ghc --make/ghc -dynamic --make/' src/Test/{Command.hs,CloseFileHandles.hs} + sed -e 's/ghc -package=Cabal/ghc -package=Cabal -dynamic/' \ -e 's/ghc -fno-code/ghc -dynamic -fno-code/' \ + -e 's/"configure",/"configure","--enable-executable-dynamic","--disable-library-vanilla",/' \ -i src/Test/Docs.hs sed -i 's/cmd "ghc" flags/cmd "ghc" "-dynamic" flags/' src/Test/Self.hs src/Test/SelfMake.hs sed -i 's/ghc --make/ghc -dynamic --make/' docs/manual/build.sh + + # Not sure about this one: + sed -i 's/at cmd, called at/at want, called at/' src/Test/Errors.hs } build() { @@ -32,7 +36,7 @@ runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir="$pkgname" --enable-tests \ --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ - -f-portable -f-cloud + -f-portable -f-cloud -f-embed-files runhaskell Setup build runhaskell Setup register --gen-script runhaskell Setup unregister --gen-script