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

Felix Yan felixonmars at archlinux.org
Sun Sep 24 08:14:05 UTC 2017


    Date: Sunday, September 24, 2017 @ 08:14:04
  Author: felixonmars
Revision: 260350

upgpkg: haskell-text-short 0.1.1-2

Modified:
  haskell-text-short/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-24 08:13:49 UTC (rev 260349)
+++ PKGBUILD	2017-09-24 08:14:04 UTC (rev 260350)
@@ -5,7 +5,7 @@
 _hkgname=text-short
 pkgname=haskell-text-short
 pkgver=0.1.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Memory-efficient representation of Unicode text strings"
 url="https://github.com/hvr/text-short"
 license=("custom:BSD3")
@@ -18,7 +18,7 @@
 build() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
 
-    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
         --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
     runhaskell Setup build
@@ -36,7 +36,4 @@
     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