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

Felix Yan felixonmars at archlinux.org
Fri Jun 16 14:19:15 UTC 2017


    Date: Friday, June 16, 2017 @ 14:19:14
  Author: felixonmars
Revision: 237643

upgpkg: haskell-unicode-transforms 0.3.0-2

rebuild with ghc,8.0.2

Modified:
  haskell-unicode-transforms/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-16 14:16:30 UTC (rev 237642)
+++ PKGBUILD	2017-06-16 14:19:14 UTC (rev 237643)
@@ -4,12 +4,12 @@
 _hkgname=unicode-transforms
 pkgname=haskell-unicode-transforms
 pkgver=0.3.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Unicode transforms (normalization NFC/NFD/NFKC/NFKD)"
 url="http://github.com/ekmett/unicode-transforms/"
 license=('custom:BSD3')
 arch=('i686' 'x86_64')
-depends=('ghc=8.0.1' 'haskell-bitarray' 'haskell-text')
+depends=('ghc' 'haskell-bitarray' 'haskell-text')
 source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
 sha512sums=('e0b141cbe3a91aaad0ddcc556af56aace8f72a6b4497c46eadb5de6274f7f7d1a090b66a66ecc788aad8acd3f32e95db9b083c3c50a65dc7b299d02cd9173826')
 
@@ -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 \
             -f-dev -f-has-icu -f-has-llvm
@@ -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