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

Felix Yan felixonmars at archlinux.org
Thu Jan 9 13:17:34 UTC 2020


    Date: Thursday, January 9, 2020 @ 13:17:33
  Author: felixonmars
Revision: 551127

upgpkg: haskell-resolv 0.1.1.3-1: rebuild with ghc 8.8.1, cabal-doctest 1.0.7, polyparse 1.13, primitive 0.7.0.0, regex-base 0.94.0.0, regex-pcre 0.95.0.0, regex-posix 0.96.0.0, regex-tdfa 1.3.1.0, easytest 0.3, unexceptionalio 0.5.0, gtk2hs-buildtools 0.13.8.0, ghc-typelits-natnormalise 0.7, resolv 0.1.1.3

Modified:
  haskell-resolv/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-09 13:16:58 UTC (rev 551126)
+++ PKGBUILD	2020-01-09 13:17:33 UTC (rev 551127)
@@ -2,8 +2,8 @@
 
 _hkgname=resolv
 pkgname=haskell-resolv
-pkgver=0.1.1.1
-pkgrel=43
+pkgver=0.1.1.3
+pkgrel=1
 pkgdesc="Domain Name Service (DNS) lookup via the libresolv standard library routines"
 url="https://github.com/hvr/resolv"
 license=('GPL')
@@ -11,11 +11,11 @@
 depends=('ghc-libs' 'haskell-base16-bytestring')
 makedepends=('ghc' 'haskell-tasty' 'haskell-tasty-hunit')
 source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('0bc87f922072077d08d49e583d7fe60127380044ff2433e2e794029b77b4334f854c8cec451c4ad5a938bb52144b6f0fd9cad9d550ba208cd96fb0acdb631536')
+sha512sums=('59189b3b2c1811f7e4fc3e79f66e5264751479996584e59713cb3ad2cf6d855f202b1db3a02ad57692ee7c55c75a5dc6b5fd008f853f2923923558d923c8129a')
 
 prepare() {
     cd $_hkgname-$pkgver
-    sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.12/<2/' -e 's/<.*0.10/<1/' -e 's/< *0.6/<1/' $_hkgname.cabal
+    sed -i 's/< *1.2/<2/' $_hkgname.cabal
 }
 
 build() {
@@ -22,7 +22,7 @@
     cd $_hkgname-$pkgver
     
     runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
-        --prefix=/usr --docdir=/usr/share/doc/$pkgname --disable-tests \
+        --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
@@ -33,8 +33,7 @@
 
 check() {
     cd $_hkgname-$pkgver
-    # https://github.com/haskell-hvr/resolv/issues/1
-    # runhaskell Setup test
+    runhaskell Setup test
 }
 
 package() {



More information about the arch-commits mailing list