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

Felix Yan felixonmars at archlinux.org
Sun Feb 2 14:33:55 UTC 2020


    Date: Sunday, February 2, 2020 @ 14:33:54
  Author: felixonmars
Revision: 561561

upgpkg: haskell-math-functions 0.3.3.0-1: rebuild with math-functions 0.3.3.0

Modified:
  haskell-math-functions/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-02 14:32:54 UTC (rev 561560)
+++ PKGBUILD	2020-02-02 14:33:54 UTC (rev 561561)
@@ -3,22 +3,24 @@
 
 _hkgname=math-functions
 pkgname=haskell-math-functions
-pkgver=0.3.2.1
-pkgrel=10
+pkgver=0.3.3.0
+pkgrel=1
 pkgdesc="Special functions and Chebyshev polynomials"
 url="https://github.com/bos/math-functions"
 license=("BSD")
 arch=('x86_64')
-depends=('ghc-libs' 'haskell-data-default-class' "haskell-primitive" "haskell-vector" "haskell-vector-th-unbox")
-makedepends=('ghc')
+depends=('ghc-libs' 'haskell-data-default-class' "haskell-primitive" "haskell-vector"
+         "haskell-vector-th-unbox")
+makedepends=('ghc' 'haskell-erf' 'haskell-quickcheck' 'haskell-tasty' 'haskell-tasty-hunit'
+             'haskell-tasty-quickcheck')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('c76cb7ffc35585589283b09e7083aea4b38b2b677b1b48ebb38667a23d35daeff35fab7bdf378e41eb34166949a9939aea098c7a9bc3a425f2329ad49be08573')
+sha512sums=('f6ac6f9fb604207c11d7888fa375a52b544732dd8e811c3b9bf74237bbc0dc83839eb83c11c5ef0dd88666cff4919d4e06236e14d84da7065b4dc75717ceafad')
 
 build() {
     cd $_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 \
             -f-system-expm1
     runhaskell Setup build
@@ -28,6 +30,11 @@
     sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
 }
 
+check() {
+    cd $_hkgname-$pkgver
+    runhaskell Setup test
+}
+
 package() {
     cd $_hkgname-$pkgver
     



More information about the arch-commits mailing list