[arch-commits] Commit in haskell-aeson/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Dec 22 12:37:17 UTC 2016
Date: Thursday, December 22, 2016 @ 12:37:17
Author: felixonmars
Revision: 200997
upgpkg: haskell-aeson 1.0.2.1-1
rebuild with aeson-1.0.2.1
Modified:
haskell-aeson/trunk/PKGBUILD
----------+
PKGBUILD | 20 +++++++++-----------
1 file changed, 9 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-12-22 12:36:48 UTC (rev 200996)
+++ PKGBUILD 2016-12-22 12:37:17 UTC (rev 200997)
@@ -5,27 +5,25 @@
pkgname=haskell-aeson
_hkgname=aeson
-pkgver=0.11.2.0
-pkgrel=12
+pkgver=1.0.2.1
+pkgrel=1
pkgdesc="A JSON parsing and encoding library optimized for ease of use and high performance."
url="https://github.com/bos/aeson"
license=("GPL")
arch=('i686' 'x86_64')
makedepends=('ghc')
-depends=("ghc=8.0.1" 'haskell-attoparsec' 'haskell-unordered-containers' 'haskell-mtl'
- 'haskell-syb' 'haskell-tagged' 'haskell-vector' 'haskell-dlist')
-source=("http://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz")
-md5sums=('aef0c0cd9d3563a5ce17eff36871d47c')
+depends=("ghc=8.0.1" 'haskell-attoparsec' 'haskell-base-compat' 'haskell-dlist' 'haskell-hashable'
+ 'haskell-scientific' 'haskell-tagged' 'haskell-time-locale-compat'
+ 'haskell-unordered-containers' 'haskell-vector')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz")
+md5sums=('68acd1bdf54c40416840750210ab8130')
-prepare() {
- sed -i '/fail == 4.9/d' $_hkgname-$pkgver/$_hkgname.cabal
-}
-
build() {
cd "$srcdir/$_hkgname-$pkgver"
runhaskell Setup configure -O --enable-library-profiling --enable-shared \
--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
- --libsubdir=\$compiler/site-local/\$pkgid
+ --libsubdir=\$compiler/site-local/\$pkgid \
+ -f-developer -f-fast -f-bytestring-builder
runhaskell Setup build
runhaskell Setup haddock
runhaskell Setup register --gen-script
More information about the arch-commits
mailing list