[arch-commits] Commit in haskell-cassava/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Jun 22 05:25:48 UTC 2017
Date: Thursday, June 22, 2017 @ 05:25:47
Author: felixonmars
Revision: 239408
upgpkg: haskell-cassava 0.5.0.0-1
rebuild with cassava,0.5.0.0
Modified:
haskell-cassava/trunk/PKGBUILD
----------+
PKGBUILD | 17 +++++++----------
1 file changed, 7 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-22 05:25:39 UTC (rev 239407)
+++ PKGBUILD 2017-06-22 05:25:47 UTC (rev 239408)
@@ -4,27 +4,24 @@
_hkgname=cassava
pkgname=haskell-cassava
-pkgver=0.4.5.1
-pkgrel=14
+pkgver=0.5.0.0
+pkgrel=1
pkgdesc="A CSV parsing and encoding library"
url="https://github.com/tibbe/cassava"
license=("custom:BSD3")
arch=('i686' 'x86_64')
-depends=("ghc" "haskell-attoparsec" "haskell-blaze-builder" "haskell-hashable" "haskell-text"
- "haskell-unordered-containers" "haskell-vector")
+depends=('ghc' "haskell-attoparsec" "haskell-blaze-builder" "haskell-hashable" "haskell-only"
+ "haskell-text" "haskell-text-short" "haskell-unordered-containers" "haskell-vector")
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha256sums=('7c622ae9dc647508662a1cda3fe3f6d7032786e4e3d15f8488de9e9330cf9d9f')
+sha512sums=('96cb0355d3af7a4ee937e525641b6c9ab92a20f932e6e1f0eea5f5b271c492714071ef0f29b53db4adce036190921e59ace0034b79fc3a779985b8a385157ec1')
-prepare() {
- sed -i 's/vector < 0.12/vector < 0.13/' ${_hkgname}-${pkgver}/${_hkgname}.cabal
-}
-
build() {
cd "${srcdir}/${_hkgname}-${pkgver}"
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 \
+ -f-pre-bytestring-0-10-4
runhaskell Setup build
runhaskell Setup haddock --hoogle --html
runhaskell Setup register --gen-script
More information about the arch-commits
mailing list