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

Felix Yan felixonmars at archlinux.org
Thu Jun 15 19:23:25 UTC 2017


    Date: Thursday, June 15, 2017 @ 19:23:24
  Author: felixonmars
Revision: 237377

upgpkg: haskell-listlike 4.5.1-4

rebuild with ghc,8.0.2

Modified:
  haskell-listlike/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-15 19:20:03 UTC (rev 237376)
+++ PKGBUILD	2017-06-15 19:23:24 UTC (rev 237377)
@@ -4,12 +4,12 @@
 _hkgname=ListLike
 pkgname=haskell-listlike
 pkgver=4.5.1
-pkgrel=3
+pkgrel=4
 pkgdesc="Generic support for list-like structures"
 url="https://github.com/sjoerdvisscher/listlike"
 license=('custom:BSD3')
 arch=('i686' 'x86_64')
-depends=('ghc=8.0.1' 'haskell-dlist' 'haskell-fmlist' 'haskell-text' 'haskell-utf8-string'
+depends=('ghc' 'haskell-dlist' 'haskell-fmlist' 'haskell-text' 'haskell-utf8-string'
          'haskell-vector')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 md5sums=('51a149e64d59270924832a77797310c2')
@@ -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 "COPYRIGHT" "${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT"
     rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYRIGHT"
+
+    # Remove static libs
+    find "$pkgdir"/usr/lib -name "*.a" -delete
 }



More information about the arch-commits mailing list