[arch-commits] Commit in haskell-yesod-static/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Jun 16 14:38:34 UTC 2017
Date: Friday, June 16, 2017 @ 14:38:33
Author: felixonmars
Revision: 237659
upgpkg: haskell-yesod-static 1.5.3-6
rebuild with ghc,8.0.2
Modified:
haskell-yesod-static/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-16 14:36:03 UTC (rev 237658)
+++ PKGBUILD 2017-06-16 14:38:33 UTC (rev 237659)
@@ -5,12 +5,12 @@
_hkgname=yesod-static
pkgname=haskell-yesod-static
pkgver=1.5.3
-pkgrel=5
+pkgrel=6
pkgdesc="Static file serving subsite for Yesod Web Framework."
url="http://www.yesodweb.com/"
license=("MIT")
arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-async" "haskell-attoparsec" "haskell-base64-bytestring"
+depends=("ghc" "haskell-async" "haskell-attoparsec" "haskell-base64-bytestring"
"haskell-blaze-builder" "haskell-byteable" "haskell-conduit" "haskell-conduit-extra"
"haskell-cryptohash" "haskell-cryptohash-conduit" "haskell-css-text" "haskell-data-default"
"haskell-exceptions" "haskell-file-embed" "haskell-hashable" "haskell-hjsmin"
@@ -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