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

Felix Yan felixonmars at archlinux.org
Thu Jun 22 15:21:02 UTC 2017


    Date: Thursday, June 22, 2017 @ 15:21:01
  Author: felixonmars
Revision: 239590

upgpkg: haskell-binary-tagged 0.1.4.2-23

rebuild with generics-sop,0.3.1.0

Modified:
  haskell-binary-tagged/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-22 15:18:37 UTC (rev 239589)
+++ PKGBUILD	2017-06-22 15:21:01 UTC (rev 239590)
@@ -5,12 +5,12 @@
 _hkgname=binary-tagged
 pkgname=haskell-binary-tagged
 pkgver=0.1.4.2
-pkgrel=22
+pkgrel=23
 pkgdesc="Tagged binary serialisation."
 url="https://github.com/phadej/binary-tagged#readme"
 license=("custom:BSD3")
 arch=('i686' 'x86_64')
-depends=("ghc" "haskell-aeson" "haskell-base16-bytestring" "haskell-generics-sop"
+depends=('ghc' "haskell-aeson" "haskell-base16-bytestring" "haskell-generics-sop"
          "haskell-hashable" "haskell-scientific" "haskell-semigroups" "haskell-sha" "haskell-tagged"
          "haskell-text" "haskell-unordered-containers" "haskell-vector")
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
@@ -21,6 +21,7 @@
     sed -e '/nats/d' \
         -e 's/, vector                   >=0.10 && <0.12/, vector                   >=0.10 \&\& <0.13/' \
         -e 's/, aeson                    >=0.8  && <1.1/, aeson                    >=0.8  \&\& <1.3/' \
+        -e 's/, generics-sop             >=0.1  && <0.3/, generics-sop             >=0.1  \&\& <0.4/' \
         -i ${_hkgname}-${pkgver}/${_hkgname}.cabal
 }
 
@@ -29,7 +30,7 @@
     
     runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
         --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
-        --libsubdir=\$compiler/site-local/\$pkgid
+        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
     runhaskell Setup build
     runhaskell Setup haddock --hoogle --html
     runhaskell Setup register --gen-script



More information about the arch-commits mailing list