Date: Friday, June 16, 2017 @ 14:04:03
  Author: felixonmars
Revision: 237633

upgpkg: haskell-optparse-simple 0.0.3-49

rebuild with ghc,8.0.2

Modified:
  haskell-optparse-simple/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2017-06-16 14:02:41 UTC (rev 237632)
+++ PKGBUILD    2017-06-16 14:04:03 UTC (rev 237633)
@@ -5,12 +5,12 @@
 _hkgname=optparse-simple
 pkgname=haskell-optparse-simple
 pkgver=0.0.3
-pkgrel=48
+pkgrel=49
 pkgdesc="Simple interface to optparse-applicative"
 url="https://hackage.haskell.org/package/${_hkgname}";
 license=("custom:BSD3")
 arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-either" "haskell-gitrev" 
"haskell-optparse-applicative")
+depends=("ghc" "haskell-either" "haskell-gitrev" 
"haskell-optparse-applicative")
 
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
 sha256sums=('4547f0a6c1bd959b1d9c3c2a5fabee39ac9a19dffabbb2d75461a2d461df8c7e')
 
@@ -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 "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
 }

Reply via email to