[arch-commits] Commit in haskell-vector-algorithms/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Jun 15 17:40:18 UTC 2017
Date: Thursday, June 15, 2017 @ 17:40:16
Author: felixonmars
Revision: 237311
upgpkg: haskell-vector-algorithms 0.7.0.1-7
rebuild with ghc,8.0.2
Modified:
haskell-vector-algorithms/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-15 17:35:17 UTC (rev 237310)
+++ PKGBUILD 2017-06-15 17:40:16 UTC (rev 237311)
@@ -5,12 +5,12 @@
_hkgname=vector-algorithms
pkgname=haskell-vector-algorithms
pkgver=0.7.0.1
-pkgrel=6
+pkgrel=7
pkgdesc="Efficient algorithms for vector arrays"
url="http://code.haskell.org/~dolio/"
license=("custom:BSD3")
arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-mtl" "haskell-mwc-random" "haskell-primitive" "haskell-vector")
+depends=("ghc" "haskell-mtl" "haskell-mwc-random" "haskell-primitive" "haskell-vector")
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
sha256sums=('ed460a41ca068f568bc2027579ab14185fbb72c7ac469b5179ae5f8a52719070')
@@ -21,7 +21,7 @@
build() {
cd "${srcdir}/${_hkgname}-${pkgver}"
- runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+ runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
--libsubdir=\$compiler/site-local/\$pkgid \
-fproperties -f-bench -f-internalchecks -f-unsafechecks -fboundschecks
@@ -43,4 +43,7 @@
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