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

Felix Yan felixonmars at archlinux.org
Fri Jun 16 16:17:21 UTC 2017


    Date: Friday, June 16, 2017 @ 16:17:21
  Author: felixonmars
Revision: 237729

upgpkg: haskell-hit 0.6.3-37

rebuild with ghc,8.0.2

Modified:
  haskell-hit/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-16 16:14:51 UTC (rev 237728)
+++ PKGBUILD	2017-06-16 16:17:21 UTC (rev 237729)
@@ -5,16 +5,15 @@
 _hkgname=hit
 pkgname=haskell-hit
 pkgver=0.6.3
-pkgrel=36
+pkgrel=37
 pkgdesc="Git operations in haskell"
 url="http://github.com/vincenthz/hit"
 license=("custom:BSD3")
 arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-attoparsec" "haskell-byteable" "haskell-cryptohash"
-         "haskell-hashable" "haskell-hashtables" "haskell-hourglass" "haskell-mtl" "haskell-parsec"
-         "haskell-patience" "haskell-random" "haskell-system-fileio" "haskell-system-filepath"
-         "haskell-unix-compat" "haskell-utf8-string" "haskell-vector" "haskell-zlib"
-         "haskell-zlib-bindings")
+depends=("ghc" "haskell-attoparsec" "haskell-byteable" "haskell-cryptohash" "haskell-hashable"
+         "haskell-hashtables" "haskell-hourglass" "haskell-mtl" "haskell-parsec" "haskell-patience"
+         "haskell-random" "haskell-system-fileio" "haskell-system-filepath" "haskell-unix-compat"
+         "haskell-utf8-string" "haskell-vector" "haskell-zlib" "haskell-zlib-bindings")
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha256sums=('db86b3712029a4e40d1306dd6cc9ca2c9f4c77fe65a2b74106f1cbd2de26e471')
 
@@ -21,7 +20,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 \
             -fexecutable -f-debug
@@ -43,4 +42,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