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

Felix Yan felixonmars at archlinux.org
Wed Dec 9 09:14:04 UTC 2020


    Date: Wednesday, December 9, 2020 @ 09:14:03
  Author: felixonmars
Revision: 772339

upgpkg: haskell-vector-algorithms 0.8.0.4-1: rebuild with vector-algorithms 0.8.0.4

Modified:
  haskell-vector-algorithms/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-09 09:11:01 UTC (rev 772338)
+++ PKGBUILD	2020-12-09 09:14:03 UTC (rev 772339)
@@ -3,22 +3,22 @@
 
 _hkgname=vector-algorithms
 pkgname=haskell-vector-algorithms
-pkgver=0.8.0.3
-pkgrel=50
+pkgver=0.8.0.4
+pkgrel=1
 pkgdesc="Efficient algorithms for vector arrays"
 url="https://github.com/erikd/vector-algorithms/"
 license=("BSD")
 arch=('x86_64')
-depends=('ghc-libs' "haskell-primitive" "haskell-vector")
-makedepends=('ghc')
+depends=('ghc-libs' 'haskell-primitive' 'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('45311e19a1e5c9994e7d666b73445d11946f60915df3d2f385a435538d1b6b0929b56a960f83c5df1b2df883566e7f8e6fdd5be4e075364d7daecd6dbec780e5')
+sha512sums=('da5f52493c7f68df0a2c718724dcac9be758b09b14c8fa913aa328ee4c1286893fb239882018202d0fcd56709364ccddf3d620ff3b886d830102ef52a0868d42')
 
 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 \
             -fproperties -f-bench -f-internalchecks -f-unsafechecks -fboundschecks -f-llvm
     runhaskell Setup build $MAKEFLAGS
@@ -28,6 +28,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