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

Felix Yan felixonmars at archlinux.org
Wed Jun 14 20:10:26 UTC 2017


    Date: Wednesday, June 14, 2017 @ 20:10:25
  Author: felixonmars
Revision: 236865

upgpkg: haskell-tagged 0.8.5-2

rebuild with ghc,8.0.2

Modified:
  haskell-tagged/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-14 20:09:08 UTC (rev 236864)
+++ PKGBUILD	2017-06-14 20:10:25 UTC (rev 236865)
@@ -5,12 +5,12 @@
 _hkgname=tagged
 pkgname=haskell-tagged
 pkgver=0.8.5
-pkgrel=1
+pkgrel=2
 pkgdesc="Haskell 98 phantom types to avoid unsafely passing dummy arguments"
 url="http://github.com/ekmett/tagged"
 license=("custom:BSD3")
 arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-transformers-compat")
+depends=("ghc" "haskell-transformers-compat")
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha256sums=('e47c51c955ed77b0fa36897f652df990aa0a8c4eb278efaddcd604be00fc8d99')
 
@@ -17,7 +17,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 \
             -fdeepseq -ftransformers
@@ -39,4 +39,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