[arch-commits] Commit in haskell-wai-extra/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Jun 15 06:47:50 UTC 2017
Date: Thursday, June 15, 2017 @ 06:47:49
Author: felixonmars
Revision: 237101
upgpkg: haskell-wai-extra 3.0.19.1-31
rebuild with ghc,8.0.2
Modified:
haskell-wai-extra/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-15 06:45:40 UTC (rev 237100)
+++ PKGBUILD 2017-06-15 06:47:49 UTC (rev 237101)
@@ -5,12 +5,12 @@
_hkgname=wai-extra
pkgname=haskell-wai-extra
pkgver=3.0.19.1
-pkgrel=30
+pkgrel=31
pkgdesc="Provides some basic WAI handlers and middleware."
url="http://github.com/yesodweb/wai"
license=("MIT")
arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-aeson" "haskell-ansi-terminal" "haskell-base64-bytestring"
+depends=("ghc" "haskell-aeson" "haskell-ansi-terminal" "haskell-base64-bytestring"
"haskell-blaze-builder" "haskell-case-insensitive" "haskell-cookie"
"haskell-data-default-class" "haskell-fast-logger" "haskell-http-types"
"haskell-iproute" "haskell-lifted-base" "haskell-network" "haskell-old-locale"
@@ -23,7 +23,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
runhaskell Setup build
@@ -44,4 +44,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