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

Felix Yan felixonmars at archlinux.org
Fri Jun 16 10:15:43 UTC 2017


    Date: Friday, June 16, 2017 @ 10:15:43
  Author: felixonmars
Revision: 237607

upgpkg: haskell-aws 0.16-48

rebuild with ghc,8.0.2

Modified:
  haskell-aws/trunk/PKGBUILD

----------+
 PKGBUILD |   20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-16 10:09:40 UTC (rev 237606)
+++ PKGBUILD	2017-06-16 10:15:43 UTC (rev 237607)
@@ -5,19 +5,18 @@
 _hkgname=aws
 pkgname=haskell-aws
 pkgver=0.16
-pkgrel=47
+pkgrel=48
 pkgdesc="Amazon Web Services (AWS) for Haskell"
 url="http://github.com/aristidb/aws"
 license=("custom:BSD3")
 arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-aeson" "haskell-attoparsec" "haskell-base16-bytestring"
+depends=("ghc" "haskell-aeson" "haskell-attoparsec" "haskell-base16-bytestring"
          "haskell-base64-bytestring" "haskell-blaze-builder" "haskell-byteable"
-         "haskell-case-insensitive" "haskell-cereal" "haskell-conduit"
-         "haskell-conduit-extra" "haskell-cryptohash" "haskell-data-default"
-         "haskell-http-conduit" "haskell-http-types" "haskell-lifted-base"
-         "haskell-monad-control" "haskell-mtl" "haskell-network" "haskell-old-locale"
-         "haskell-resourcet" "haskell-safe" "haskell-scientific" "haskell-tagged"
-         "haskell-text" "haskell-unordered-containers" "haskell-utf8-string"
+         "haskell-case-insensitive" "haskell-cereal" "haskell-conduit" "haskell-conduit-extra"
+         "haskell-cryptohash" "haskell-data-default" "haskell-http-conduit" "haskell-http-types"
+         "haskell-lifted-base" "haskell-monad-control" "haskell-mtl" "haskell-network"
+         "haskell-old-locale" "haskell-resourcet" "haskell-safe" "haskell-scientific"
+         "haskell-tagged" "haskell-text" "haskell-unordered-containers" "haskell-utf8-string"
          "haskell-vector" "haskell-xml-conduit")
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha256sums=('84b5c60227f3c9eddc0abf0881aee22443fc4a211b8a95f18be628eaa492209c')
@@ -25,7 +24,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-examples
@@ -47,4 +46,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