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

Felix Yan felixonmars at archlinux.org
Thu Jun 15 04:26:19 UTC 2017


    Date: Thursday, June 15, 2017 @ 04:26:18
  Author: felixonmars
Revision: 236974

upgpkg: haskell-monad-loops 0.4.3-4

rebuild with ghc,8.0.2

Modified:
  haskell-monad-loops/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-15 04:24:55 UTC (rev 236973)
+++ PKGBUILD	2017-06-15 04:26:18 UTC (rev 236974)
@@ -5,12 +5,12 @@
 _hkgname=monad-loops
 pkgname=haskell-monad-loops
 pkgver=0.4.3
-pkgrel=3
+pkgrel=4
 pkgdesc="Monadic loops"
 url="https://github.com/mokus0/monad-loops"
 license=("custom:PublicDomain")
 arch=('i686' 'x86_64')
-depends=("ghc=8.0.1")
+depends=("ghc")
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha256sums=('7eaaaf6bc43661e9e86e310ff8c56fbea16eb6bf13c31a2e28103138ac164c18')
 
@@ -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 \
             -fbase4
@@ -37,4 +37,7 @@
     install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
     ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
     runhaskell Setup copy --destdir="${pkgdir}"
+
+    # Remove static libs
+    find "$pkgdir"/usr/lib -name "*.a" -delete
 }



More information about the arch-commits mailing list