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

Felix Yan felixonmars at archlinux.org
Sat Sep 23 16:45:20 UTC 2017


    Date: Saturday, September 23, 2017 @ 16:45:19
  Author: felixonmars
Revision: 260154

upgpkg: haskell-string-conversions 0.4.0.1-3

Modified:
  haskell-string-conversions/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-23 16:45:07 UTC (rev 260153)
+++ PKGBUILD	2017-09-23 16:45:19 UTC (rev 260154)
@@ -5,7 +5,7 @@
 _hkgname=string-conversions
 pkgname=haskell-string-conversions
 pkgver=0.4.0.1
-pkgrel=2
+pkgrel=3
 pkgdesc="Simplifies dealing with different types for strings"
 url="https://github.com/soenkehahn/string-conversions"
 license=("custom:BSD3")
@@ -13,12 +13,12 @@
 depends=('ghc-libs' "haskell-text" "haskell-utf8-string")
 makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha256sums=('46bcce6d9ce62c558b7658a75d9c6a62f7259d6b0473d011d8078234ad6a1994')
+sha512sums=('8bd015215d1a8a48f01abf95f53bd75f67c83dc48c5b4c4f0731e9da924f99c18e9c6de46fdebdd497f5dc577311db1aa31f5144dfc5b1de539e201b9fc1c9f6')
 
 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