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

Felix Yan felixonmars at archlinux.org
Sun Oct 14 13:30:40 UTC 2018


    Date: Sunday, October 14, 2018 @ 13:30:39
  Author: felixonmars
Revision: 393520

upgpkg: haskell-bytestring-show 0.3.5.6-15

rebuild with ghc 8.6.1

Modified:
  haskell-bytestring-show/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-14 13:23:26 UTC (rev 393519)
+++ PKGBUILD	2018-10-14 13:30:39 UTC (rev 393520)
@@ -2,7 +2,7 @@
 
 pkgname=haskell-bytestring-show
 pkgver=0.3.5.6
-pkgrel=14
+pkgrel=15
 pkgdesc="Efficient conversion of values into readable byte strings."
 url="https://hackage.haskell.org/package/bytestring-show"
 license=('BSD')
@@ -12,14 +12,14 @@
 source=("https://hackage.haskell.org/packages/archive/bytestring-show/${pkgver}/bytestring-show-${pkgver}.tar.gz")
 sha512sums=('f59a041e30ec3b3eb9f971968606685ba5968dafc44d92ed50c9f7f124b891f48fc6612fdfc1a57f702e76e41f70c647e81c1919ab7fee194db9d97ddd73dd10')
 
+prepare() {
+    cd bytestring-show-$pkgver
+    sed -e 's/< *0.8/<1/g' -e 's/< *0.6/<1/g' -i bytestring-show.cabal
+}
+
 build() {
     cd "$srcdir"/bytestring-show-${pkgver}
 
-    # update outdated dependency
-    sed -e 's/build-depends: integer-gmp >= 0.2 && < 0.5/build-depends: integer-gmp >= 0.2 \&\& < 0.6/' \
-        -e 's/binary < 0.8/binary < 0.9/' \
-        -i bytestring-show.cabal
-
     runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
         --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid



More information about the arch-commits mailing list