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

Felix Yan felixonmars at archlinux.org
Sat Sep 23 17:40:06 UTC 2017


    Date: Saturday, September 23, 2017 @ 17:40:05
  Author: felixonmars
Revision: 260274

upgpkg: haskell-vector-algorithms 0.7.0.1-9

Modified:
  haskell-vector-algorithms/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-23 17:39:56 UTC (rev 260273)
+++ PKGBUILD	2017-09-23 17:40:05 UTC (rev 260274)
@@ -5,7 +5,7 @@
 _hkgname=vector-algorithms
 pkgname=haskell-vector-algorithms
 pkgver=0.7.0.1
-pkgrel=8
+pkgrel=9
 pkgdesc="Efficient algorithms for vector arrays"
 url="http://code.haskell.org/~dolio/"
 license=("custom:BSD3")
@@ -13,7 +13,7 @@
 depends=('ghc-libs' "haskell-mtl" "haskell-mwc-random" "haskell-primitive" "haskell-vector")
 makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha256sums=('ed460a41ca068f568bc2027579ab14185fbb72c7ac469b5179ae5f8a52719070')
+sha512sums=('1ea718eeb062defee830fa7dba323981678691c5d320b8929dcd695af17f82d65007cfd35103310026dab51cf10462dbead09082fc0ba5ddd0c2e18e305c4c6a')
 
 prepare() {
     sed -i 's/vector >= 0.6 && < 0.12,/vector >= 0.6 \&\& < 0.13,/' ${_hkgname}-${pkgver}/${_hkgname}.cabal
@@ -22,7 +22,7 @@
 build() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
     
-    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
         --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
             -fproperties -f-bench -f-internalchecks -f-unsafechecks -fboundschecks
@@ -41,7 +41,4 @@
     runhaskell Setup copy --destdir="${pkgdir}"
     install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
     rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
-
-    # Remove static libs
-    find "$pkgdir"/usr/lib -name "*.a" -delete
 }



More information about the arch-commits mailing list