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

Felix Yan felixonmars at archlinux.org
Wed Jun 14 19:39:17 UTC 2017


    Date: Wednesday, June 14, 2017 @ 19:39:17
  Author: felixonmars
Revision: 236833

upgpkg: haskell-hashable 1.2.6.0-3

rebuild with ghc,8.0.2

Modified:
  haskell-hashable/trunk/PKGBUILD	(contents, properties)

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-14 19:37:46 UTC (rev 236832)
+++ PKGBUILD	2017-06-14 19:39:17 UTC (rev 236833)
@@ -5,12 +5,12 @@
 _hkgname=hashable
 pkgname=haskell-hashable
 pkgver=1.2.6.0
-pkgrel=2
+pkgrel=3
 pkgdesc="Mutable hash tables in the ST monad"
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=('custom:BSD3')
 arch=('i686' 'x86_64')
-depends=('ghc=8.0.1' 'sh' 'haskell-text')
+depends=('ghc' 'sh' 'haskell-text')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 md5sums=('84feaf401179fafb87d360324bde8a0e')
 
@@ -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 \
             -f-examples
@@ -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
 }


Property changes on: haskell-hashable/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list