[arch-commits] Commit in haskell-authenticate/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Jun 16 14:25:18 UTC 2017


    Date: Friday, June 16, 2017 @ 14:25:18
  Author: felixonmars
Revision: 237647

upgpkg: haskell-authenticate 1.3.3.2-94

rebuild with ghc,8.0.2

Modified:
  haskell-authenticate/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-16 14:23:01 UTC (rev 237646)
+++ PKGBUILD	2017-06-16 14:25:18 UTC (rev 237647)
@@ -5,16 +5,16 @@
 _hkgname=authenticate
 pkgname=haskell-authenticate
 pkgver=1.3.3.2
-pkgrel=93
+pkgrel=94
 pkgdesc="Authentication methods for Haskell web applications."
 url="http://github.com/yesodweb/authenticate"
 license=("MIT")
 arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-aeson" "haskell-attoparsec" "haskell-blaze-builder"
-         "haskell-case-insensitive" "haskell-conduit" "haskell-http-conduit"
-         "haskell-http-types" "haskell-monad-control" "haskell-network-uri"
-         "haskell-resourcet" "haskell-tagstream-conduit" "haskell-text"
-         "haskell-unordered-containers" "haskell-xml-conduit")
+depends=("ghc" "haskell-aeson" "haskell-attoparsec" "haskell-blaze-builder"
+         "haskell-case-insensitive" "haskell-conduit" "haskell-http-conduit" "haskell-http-types"
+         "haskell-monad-control" "haskell-network-uri" "haskell-resourcet"
+         "haskell-tagstream-conduit" "haskell-text" "haskell-unordered-containers"
+         "haskell-xml-conduit")
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha256sums=('a65ff7791e646ea847fc6b8369addeecf6d2c3055a0b7ebe1421881103656e30')
 
@@ -21,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 \
             -fnetwork-uri
@@ -43,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