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

Felix Yan felixonmars at archlinux.org
Sat Jun 17 02:35:52 UTC 2017


    Date: Saturday, June 17, 2017 @ 02:35:51
  Author: felixonmars
Revision: 237834

upgpkg: haskell-safe-exceptions 0.1.5.0-2

rebuild with ghc,8.0.2

Modified:
  haskell-safe-exceptions/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-17 02:34:41 UTC (rev 237833)
+++ PKGBUILD	2017-06-17 02:35:51 UTC (rev 237834)
@@ -4,12 +4,12 @@
 _hkgname=safe-exceptions
 pkgname=haskell-safe-exceptions
 pkgver=0.1.5.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Safe, consistent, and easy exception handling"
 url="https://github.com/fpco/safe-exceptions"
 license=('MIT')
 arch=('i686' 'x86_64')
-depends=('ghc=8.0.1' 'haskell-exceptions')
+depends=('ghc' 'haskell-exceptions')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 md5sums=('e38f0a15780091c951444b2ba5c9fa1e')
 
@@ -16,7 +16,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
@@ -37,4 +37,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