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

Felix Yan felixonmars at archlinux.org
Sun Jun 18 12:10:27 UTC 2017


    Date: Sunday, June 18, 2017 @ 12:10:27
  Author: felixonmars
Revision: 238054

upgpkg: haskell-monadplus 1.4.2-3

rebuild with ghc,8.0.2

Modified:
  haskell-monadplus/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-18 12:02:49 UTC (rev 238053)
+++ PKGBUILD	2017-06-18 12:10:27 UTC (rev 238054)
@@ -5,12 +5,12 @@
 _hkgname=monadplus
 pkgname=haskell-monadplus
 pkgver=1.4.2
-pkgrel=2
+pkgrel=3
 pkgdesc="Haskell98 partial maps and filters over MonadPlus."
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=("custom:BSD3")
 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=('366ed520db1eaf2ec56d8508fee2804cc24c7a6016de4b75b9addec681186595')
 
@@ -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 "COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
     rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING"
+
+    # Remove static libs
+    find "$pkgdir"/usr/lib -name "*.a" -delete
 }



More information about the arch-commits mailing list