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

Felix Yan felixonmars at archlinux.org
Sun Jun 18 12:16:08 UTC 2017


    Date: Sunday, June 18, 2017 @ 12:16:07
  Author: felixonmars
Revision: 238060

upgpkg: haskell-protolude 0.1.10-9

rebuild with ghc,8.0.2

Modified:
  haskell-protolude/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-18 12:14:47 UTC (rev 238059)
+++ PKGBUILD	2017-06-18 12:16:07 UTC (rev 238060)
@@ -5,12 +5,12 @@
 _hkgname=protolude
 pkgname=haskell-protolude
 pkgver=0.1.10
-pkgrel=8
+pkgrel=9
 pkgdesc="A sensible set of defaults for writing custom Preludes."
 url="https://github.com/sdiehl/protolude"
 license=("MIT")
 arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-async" "haskell-mtl" "haskell-safe" "haskell-stm" "haskell-text")
+depends=("ghc" "haskell-async" "haskell-mtl" "haskell-safe" "haskell-stm" "haskell-text")
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha256sums=('163296a518f0d7329dcdf040bf0eddb1fb804eee198405801fab8f192ce1c7a5')
 
@@ -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
     runhaskell Setup build
@@ -38,4 +38,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