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

Felix Yan felixonmars at archlinux.org
Fri Jun 16 15:34:42 UTC 2017


    Date: Friday, June 16, 2017 @ 15:34:41
  Author: felixonmars
Revision: 237699

upgpkg: haskell-hopenpgp 2.5.5-79

rebuild with ghc,8.0.2

Modified:
  haskell-hopenpgp/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-16 15:25:02 UTC (rev 237698)
+++ PKGBUILD	2017-06-16 15:34:41 UTC (rev 237699)
@@ -4,12 +4,12 @@
 _hkgname=hOpenPGP
 pkgname=haskell-hopenpgp
 pkgver=2.5.5
-pkgrel=78
+pkgrel=79
 pkgdesc="Native Haskell implementation of OpenPGP (RFC4880)"
 url="http://floss.scru.org/hOpenPGP/"
 license=('MIT')
 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-bifunctors' 'haskell-byteable' 'haskell-bzlib'
          'haskell-binary-conduit' 'haskell-conduit' 'haskell-conduit-extra' 'haskell-cryptonite'
          'haskell-crypto-cipher-types' 'haskell-data-default-class' 'haskell-errors'
@@ -25,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 \
             -fnetwork-uri
@@ -47,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
 }



More information about the arch-commits mailing list