[arch-commits] Commit in haskell-yesod/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Jun 16 15:43:36 UTC 2017
Date: Friday, June 16, 2017 @ 15:43:32
Author: felixonmars
Revision: 237707
upgpkg: haskell-yesod 1.4.5-63
rebuild with ghc,8.0.2
Modified:
haskell-yesod/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-16 15:40:09 UTC (rev 237706)
+++ PKGBUILD 2017-06-16 15:43:32 UTC (rev 237707)
@@ -5,12 +5,12 @@
_hkgname=yesod
pkgname=haskell-yesod
pkgver=1.4.5
-pkgrel=62
+pkgrel=63
pkgdesc="Creation of type-safe, RESTful web applications."
url="http://www.yesodweb.com/"
license=("MIT")
arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-aeson" "haskell-blaze-html" "haskell-blaze-markup"
+depends=("ghc" "haskell-aeson" "haskell-blaze-html" "haskell-blaze-markup"
"haskell-conduit-extra" "haskell-data-default-class" "haskell-fast-logger"
"haskell-monad-control" "haskell-monad-logger" "haskell-resourcet" "haskell-semigroups"
"haskell-shakespeare" "haskell-streaming-commons" "haskell-text"
@@ -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