[arch-commits] Commit in haskell-network-uri/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Feb 12 10:19:05 UTC 2020


    Date: Wednesday, February 12, 2020 @ 10:19:04
  Author: felixonmars
Revision: 569176

upgpkg: haskell-network-uri 2.6.2.0-1: rebuild with network-uri 2.6.2.0

Modified:
  haskell-network-uri/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-12 10:13:39 UTC (rev 569175)
+++ PKGBUILD	2020-02-12 10:19:04 UTC (rev 569176)
@@ -2,22 +2,23 @@
 
 _hkgname=network-uri
 pkgname=haskell-network-uri
-pkgver=2.6.1.0
-pkgrel=19
+pkgver=2.6.2.0
+pkgrel=1
 pkgdesc="A library for client-side HTTP"
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=('BSD')
 arch=('x86_64')
 depends=('ghc-libs' 'sh')
-makedepends=('ghc')
+makedepends=('ghc' 'haskell-criterion' 'haskell-hunit' 'haskell-test-framework'
+             'haskell-test-framework-hunit' 'haskell-test-framework-quickcheck2')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('c1b6e516cd19875aab0da325dcb8f5c6b98d43c3952bda4f96bd9c798882357c724b2facbef09e2e98d29b696a9e5518a2de9463fb0af4c5df0734fe2654cc24')
+sha512sums=('66c67eac386da617f866ad0684a7262d009f67be0ccd0c4f20ca2de38219e00b11de1fef4c3769957b1412dd42b949cc01a8edc40564a31d3735c12696d648b1')
 
 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
@@ -26,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
     



More information about the arch-commits mailing list