Date: Friday, January 3, 2020 @ 19:49:09 Author: felixonmars Revision: 547700
upgpkg: haskell-string-qq 0.0.4-1: rebuild with string-qq 0.0.4 Modified: haskell-string-qq/trunk/PKGBUILD ----------+ PKGBUILD | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-01-03 19:46:11 UTC (rev 547699) +++ PKGBUILD 2020-01-03 19:49:09 UTC (rev 547700) @@ -3,22 +3,22 @@ _hkgname=string-qq pkgname=haskell-string-qq -pkgver=0.0.2 -pkgrel=8 +pkgver=0.0.4 +pkgrel=1 pkgdesc="QuasiQuoter for non-interpolated strings, texts and bytestrings." url="https://hackage.haskell.org/package/string-qq" license=("custom:PublicDomain") arch=('x86_64') depends=('ghc-libs') -makedepends=('ghc') +makedepends=('ghc' 'haskell-hunit') source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") -sha512sums=('3394f2e129726e5f317693cf145ab91723e9b0352a04e42eeb770e6b5bfcade2c3c8da772f61425641b7c4e48e98542cf1a7544d48cd7f67e21f930236dae9ba') +sha512sums=('1e533afccc4e246da8fb0d76aaa63560c4b936490c002e466bcc0d08aabc0e66f393f935e0f5d93284fcd12a590e7fbe12e88175ac3599183f633eec04bf22b4') 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 --enable-tests \ --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid runhaskell Setup build runhaskell Setup register --gen-script @@ -27,6 +27,11 @@ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh } +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + package() { cd $_hkgname-$pkgver