Date: Wednesday, February 8, 2023 @ 21:48:16 Author: felixonmars Revision: 1396553
upgpkg: haskell-unliftio-core 0.2.1.0-1: rebuild with unliftio-core 0.2.1.0 Modified: haskell-unliftio-core/trunk/PKGBUILD ----------+ PKGBUILD | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2023-02-08 20:47:33 UTC (rev 1396552) +++ PKGBUILD 2023-02-08 21:48:16 UTC (rev 1396553) @@ -3,8 +3,8 @@ _hkgname=unliftio-core pkgname=haskell-unliftio-core -pkgver=0.2.0.1 -pkgrel=9 +pkgver=0.2.1.0 +pkgrel=1 pkgdesc="The MonadUnliftIO typeclass for unlifting monads to IO" url="https://github.com/fpco/monad-unlift" license=("MIT") @@ -12,18 +12,13 @@ depends=('ghc-libs') makedepends=('ghc') source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") -sha512sums=('6bb6bbab7336ea460b354e897c7fae236a53e7975af0430abcb2bb9d23374da0340381176d55f827f8a2b17809fa0205c6baf2a2542c72b9557b874c593d1b02') +sha512sums=('dfc32895bc4410f017d86570c574fc9fbcf68434e4dc240904034c6e932051ee8015fba6a972ea8f0dc47ea5afb0d234208d5c66c21d40710b8bc469578cf976') -prepare() { - cd $_hkgname-$pkgver - sed -i 's/< *4.14/<5/' $_hkgname.cabal -} - build() { cd $_hkgname-$pkgver runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ - --prefix=/usr --docdir=/usr/share/doc/$pkgname \ + --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm runhaskell Setup build $MAKEFLAGS runhaskell Setup register --gen-script @@ -32,6 +27,11 @@ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh } +check() { + cd $_hkgname-$pkgver + runhaskell Setup test --show-details=direct +} + package() { cd $_hkgname-$pkgver
