[arch-commits] Commit in haskell-binary-parser/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat Jun 13 19:50:24 UTC 2020


    Date: Saturday, June 13, 2020 @ 19:50:24
  Author: felixonmars
Revision: 642967

upgpkg: haskell-binary-parser 0.5.6-1: rebuild with binary-parser 0.5.6

Modified:
  haskell-binary-parser/trunk/PKGBUILD

----------+
 PKGBUILD |   20 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-06-13 19:39:11 UTC (rev 642966)
+++ PKGBUILD	2020-06-13 19:50:24 UTC (rev 642967)
@@ -3,24 +3,25 @@
 
 _hkgname=binary-parser
 pkgname=haskell-binary-parser
-pkgver=0.5.5
-pkgrel=21
+pkgver=0.5.6
+pkgrel=1
 pkgdesc="A highly-efficient but limited parser API specialised for bytestrings"
 url="https://github.com/nikita-volkov/binary-parser"
 license=("MIT")
 arch=('x86_64')
-depends=('ghc-libs' "haskell-base-prelude")
-makedepends=('ghc')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 'haskell-rerebase'
+             'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('da2937fb50a6daad9e984b9ab252ad0764b0ab0a6e0d18912ef51c3a95d80056677928339e22e8f6000a38e5ce1c616432ab127e2c2ad9632dbf4a762bdd8732')
+sha512sums=('e218ac9f38f85f143acaed4ecd8d347e1442807e07159c097fef84b48fbb2c08b4f0f1915c5dd5692b4bf779ba3ccdfbf6f48665f0447a1b4cf44c76c638011e')
 
 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 build $MAKEFLAGS
     runhaskell Setup register --gen-script
     runhaskell Setup unregister --gen-script
     sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
@@ -27,6 +28,11 @@
     sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
 }
 
+check() {
+    cd $_hkgname-$pkgver
+    runhaskell Setup test
+}
+
 package() {
     cd $_hkgname-$pkgver
     



More information about the arch-commits mailing list