Date: Thursday, June 15, 2017 @ 10:38:28 Author: felixonmars Revision: 237127
upgpkg: haskell-warp 3.2.12-9 rebuild with ghc,8.0.2 Modified: haskell-warp/trunk/PKGBUILD ----------+ PKGBUILD | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-15 10:34:41 UTC (rev 237126) +++ PKGBUILD 2017-06-15 10:38:28 UTC (rev 237127) @@ -5,17 +5,16 @@ _hkgname=warp pkgname=haskell-warp pkgver=3.2.12 -pkgrel=8 +pkgrel=9 pkgdesc="A fast, light-weight web server for WAI applications." url="http://github.com/yesodweb/wai" license=("MIT") arch=('i686' 'x86_64') -depends=("ghc=8.0.1" "haskell-async" "haskell-auto-update" "haskell-blaze-builder" - "haskell-case-insensitive" "haskell-hashable" "haskell-http-date" - "haskell-http-types" "haskell-http2" "haskell-iproute" "haskell-network" - "haskell-simple-sendfile" "haskell-stm" "haskell-streaming-commons" - "haskell-text" "haskell-unix-compat" "haskell-vault" "haskell-wai" - "haskell-word8") +depends=("ghc" "haskell-async" "haskell-auto-update" "haskell-blaze-builder" + "haskell-case-insensitive" "haskell-hashable" "haskell-http-date" "haskell-http-types" + "haskell-http2" "haskell-iproute" "haskell-network" "haskell-simple-sendfile" "haskell-stm" + "haskell-streaming-commons" "haskell-text" "haskell-unix-compat" "haskell-vault" + "haskell-wai" "haskell-word8") source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") sha512sums=('6e5ff7d72198306bbbc7e86b8fbe9ca6ac74bfc7869384ecc73f5b270e21bc77fceaba9ac5304c43fe3ff13bee0a36bb074bff25054f6bfb6a51ae6f0ce004ca') @@ -26,7 +25,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 \ -f-warp-debug -fallow-sendfilefd -f-network-bytestring @@ -48,4 +47,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 }