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

Felix Yan felixonmars at archlinux.org
Thu Jun 15 06:37:59 UTC 2017


    Date: Thursday, June 15, 2017 @ 06:37:59
  Author: felixonmars
Revision: 237091

upgpkg: haskell-quickcheck 2.9.2-3

rebuild with ghc,8.0.2

Modified:
  haskell-quickcheck/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-15 06:35:20 UTC (rev 237090)
+++ PKGBUILD	2017-06-15 06:37:59 UTC (rev 237091)
@@ -6,7 +6,7 @@
 _hkgname=QuickCheck
 pkgname=haskell-quickcheck
 pkgver=2.9.2
-pkgrel=2
+pkgrel=3
 pkgdesc='Automatic testing of Haskell programs'
 url='https://hackage.haskell.org/package/QuickCheck'
 license=('custom:BSD3')
@@ -19,7 +19,7 @@
   cd "$srcdir/$_hkgname-$pkgver"
 
   runhaskell Setup configure \
-    -O --enable-library-profiling --enable-shared \
+    -O --enable-shared --enable-executable-dynamic \
     --prefix=/usr --docdir="/usr/share/doc/$pkgname" \
     --libsubdir=\$compiler/site-local/\$pkgid \
     -ftemplateHaskell
@@ -43,6 +43,9 @@
   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
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list