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

Felix Yan felixonmars at archlinux.org
Sat Dec 16 17:24:32 UTC 2017


    Date: Saturday, December 16, 2017 @ 17:24:32
  Author: felixonmars
Revision: 274587

upgpkg: haskell-fingertree 0.1.3.1-1

rebuild with fingertree,0.1.3.1

Modified:
  haskell-fingertree/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-16 17:24:26 UTC (rev 274586)
+++ PKGBUILD	2017-12-16 17:24:32 UTC (rev 274587)
@@ -4,7 +4,7 @@
 
 _hkgname=fingertree
 pkgname=haskell-fingertree
-pkgver=0.1.3.0
+pkgver=0.1.3.1
 pkgrel=1
 pkgdesc="Generic finger-tree structure, with example instances"
 url="https://hackage.haskell.org/package/${_hkgname}"
@@ -14,13 +14,13 @@
 makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 'haskell-test-framework'
              'haskell-test-framework-hunit' 'haskell-test-framework-quickcheck2')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('2ff7fb657f80be156beaf81bbc2ea5f1c3d8a7c8343af567d17befe4fcf42486fcb2282681825daca90b74c6db69fff417fc58a109d783dde2428a700b32fdd0')
+sha512sums=('7bd2ee7d6fc97b9bcabe62bd78853e48d3db4612f6c45e17f21d6a8515c284b7adf795c9ab0f22d87cfcb05cee04085b6b724be8b1b6b160eade98882af8db8a')
 
 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
@@ -29,6 +29,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