[arch-commits] Commit in haskell-conduit-combinators/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Jun 17 16:54:33 UTC 2017
Date: Saturday, June 17, 2017 @ 16:54:33
Author: felixonmars
Revision: 237971
upgpkg: haskell-conduit-combinators 1.1.1-25
rebuild with ghc,8.0.2
Modified:
haskell-conduit-combinators/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-17 16:43:40 UTC (rev 237970)
+++ PKGBUILD 2017-06-17 16:54:33 UTC (rev 237971)
@@ -5,16 +5,15 @@
_hkgname=conduit-combinators
pkgname=haskell-conduit-combinators
pkgver=1.1.1
-pkgrel=24
+pkgrel=25
pkgdesc="Commonly used conduit functions, for both chunked and unchunked data"
url="https://github.com/snoyberg/mono-traversable"
license=("MIT")
arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-base16-bytestring" "haskell-base64-bytestring"
- "haskell-chunked-data" "haskell-conduit" "haskell-conduit-extra"
- "haskell-monad-control" "haskell-mono-traversable" "haskell-mwc-random"
- "haskell-primitive" "haskell-resourcet" "haskell-text"
- "haskell-transformers-base" "haskell-unix-compat" "haskell-vector"
+depends=("ghc" "haskell-base16-bytestring" "haskell-base64-bytestring" "haskell-chunked-data"
+ "haskell-conduit" "haskell-conduit-extra" "haskell-monad-control"
+ "haskell-mono-traversable" "haskell-mwc-random" "haskell-primitive" "haskell-resourcet"
+ "haskell-text" "haskell-transformers-base" "haskell-unix-compat" "haskell-vector"
"haskell-void")
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
sha256sums=('a022e80d54d6cae017ae69e04b44fd6f57f8bac6b889e574dc09d30170ac0918')
@@ -22,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 \
-fmonotrav1
@@ -44,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