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

Felix Yan felixonmars at archlinux.org
Sat Sep 23 17:34:12 UTC 2017


    Date: Saturday, September 23, 2017 @ 17:34:12
  Author: felixonmars
Revision: 260260

upgpkg: haskell-either 4.4.1.1-32

Modified:
  haskell-either/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-23 17:34:01 UTC (rev 260259)
+++ PKGBUILD	2017-09-23 17:34:12 UTC (rev 260260)
@@ -5,9 +5,9 @@
 _hkgname=either
 pkgname=haskell-either
 pkgver=4.4.1.1
-pkgrel=31
+pkgrel=32
 pkgdesc="An either monad transformer"
-url="http://github.com/ekmett/either/"
+url="https://github.com/ekmett/either/"
 license=("custom:BSD3")
 arch=('i686' 'x86_64')
 depends=('ghc-libs' "haskell-bifunctors" "haskell-exceptions" "haskell-free"
@@ -16,7 +16,7 @@
          "haskell-semigroups" "haskell-transformers-base")
 makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha256sums=('b087cb0fb63fec2fbdcac05fef0d03751daef5deb86cda3c732b9a6a31e634d3')
+sha512sums=('ebc61b0f83812c7479a4fe5422ae4b73f219f0d57938e8c43e0f1e8932374c874709453773b7577f98b07ab17c884e8f4f77a28d457291b5d3f988da71fb6195')
 
 prepare() {
     sed -e 's/MonadRandom       >= 0.1     && < 0.5,/MonadRandom       >= 0.1     \&\& < 0.6,/' \
@@ -27,7 +27,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
@@ -45,7 +45,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