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

Felix Yan felixonmars at archlinux.org
Wed Dec 6 05:15:12 UTC 2017


    Date: Wednesday, December 6, 2017 @ 05:15:06
  Author: felixonmars
Revision: 272395

upgpkg: haskell-data-serializer 0.3.2-1

rebuild with data-serializer,0.3.2

Modified:
  haskell-data-serializer/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-06 05:11:30 UTC (rev 272394)
+++ PKGBUILD	2017-12-06 05:15:06 UTC (rev 272395)
@@ -3,22 +3,23 @@
 
 _hkgname=data-serializer
 pkgname=haskell-data-serializer
-pkgver=0.3
-pkgrel=23
+pkgver=0.3.2
+pkgrel=1
 pkgdesc="Common API for serialization libraries"
 url="https://github.com/mvv/data-serializer"
 license=('custom:BSD3')
 arch=('x86_64')
-depends=('ghc-libs' 'haskell-cereal' 'haskell-data-endian' 'haskell-parsers' 'haskell-semigroups')
-makedepends=('ghc')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-data-endian' 'haskell-parsers' 'haskell-semigroups'
+         'haskell-split')
+makedepends=('ghc' 'haskell-tasty' 'haskell-tasty-quickcheck')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('7959312c1de72eb9390a8a9b99b481dc7f3800d2ae881fe08b536c20fff42d9b9b235e6d03a84563ea591a5bb167549bee11fb62afd6cd0905c6ed5966458060')
+sha512sums=('ecb8ae4a85845fbc0f2674b1ae9c9bd1f6a7db7fc49b30a4609e701f19e72740216da427076241fe7c7491a950c2428be6b1bde0ea74662c8bd70766ef9d92e5')
 
 build() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
 
     runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
-        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+        --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
@@ -27,6 +28,11 @@
     sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
 }
 
+check() {
+    cd $_hkgname-$pkgver
+    runhaskell Setup test
+}
+
 package() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
 



More information about the arch-commits mailing list