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

Felix Yan felixonmars at archlinux.org
Thu Jun 15 18:04:08 UTC 2017


    Date: Thursday, June 15, 2017 @ 18:04:07
  Author: felixonmars
Revision: 237327

upgpkg: haskell-binary-parser 0.5.5-3

rebuild with ghc,8.0.2

Modified:
  haskell-binary-parser/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-15 18:02:30 UTC (rev 237326)
+++ PKGBUILD	2017-06-15 18:04:07 UTC (rev 237327)
@@ -5,12 +5,12 @@
 _hkgname=binary-parser
 pkgname=haskell-binary-parser
 pkgver=0.5.5
-pkgrel=2
+pkgrel=3
 pkgdesc="A highly-efficient but limited parser API specialised for bytestrings"
 url="https://github.com/nikita-volkov/binary-parser"
 license=("MIT")
 arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-mtl" "haskell-text" "haskell-base-prelude")
+depends=("ghc" "haskell-mtl" "haskell-text" "haskell-base-prelude")
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('da2937fb50a6daad9e984b9ab252ad0764b0ab0a6e0d18912ef51c3a95d80056677928339e22e8f6000a38e5ce1c616432ab127e2c2ad9632dbf4a762bdd8732')
 
@@ -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
 }



More information about the arch-commits mailing list