Date: Sunday, February 5, 2023 @ 22:03:43 Author: felixonmars Revision: 1392832
upgpkg: haskell-fsnotify 0.4.0.0-1: rebuild with brick 1.5, fsnotify 0.4.0.0, hledger 1.28, hledger-lib 1.28, hledger-ui 1.28, hledger-web 1.28 Modified: haskell-fsnotify/trunk/PKGBUILD ----------+ PKGBUILD | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2023-02-05 22:02:43 UTC (rev 1392831) +++ PKGBUILD 2023-02-05 22:03:43 UTC (rev 1392832) @@ -3,23 +3,24 @@ _hkgname=fsnotify pkgname=haskell-fsnotify -pkgver=0.3.0.1 -pkgrel=336 +pkgver=0.4.0.0 +pkgrel=1 pkgdesc="Cross platform library for file change notification." url="https://github.com/haskell-fswatch/hfsnotify" license=("BSD") arch=('x86_64') -depends=('ghc-libs' "haskell-async" "haskell-hinotify" 'haskell-shelly' - "haskell-unix-compat") -makedepends=('ghc') +depends=('ghc-libs' 'haskell-async' 'haskell-hinotify' 'haskell-monad-control' + 'haskell-safe-exceptions' 'haskell-unix-compat') +makedepends=('ghc' 'haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 'haskell-hspec-expectations' + 'haskell-retry' 'haskell-temporary') source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") -sha512sums=('d5c96a54c1b4788e1d50f259d11d4e2d6eb7224552b50cb359a1f4cdcc2a9b7270f9b5ccdfe9738a163b54ab7ab5a0114de9cabc56660a7324cdfc4b16179e1a') +sha512sums=('bdc3f6e5c5d1cfe45f09b7515f1a36d63dee578a0f0a5dde033db75060ff31f063aa444eb4600c545a35675f2c6bf344adb4672fbc3fd4dd3747bb33f2ea16b3') build() { cd $_hkgname-$pkgver runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ - --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$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 @@ -28,6 +29,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
