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

Felix Yan felixonmars at archlinux.org
Sat Sep 23 14:36:21 UTC 2017


    Date: Saturday, September 23, 2017 @ 14:36:20
  Author: felixonmars
Revision: 259938

upgpkg: haskell-microlens 0.4.8.1-3

Modified:
  haskell-microlens/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-23 14:36:08 UTC (rev 259937)
+++ PKGBUILD	2017-09-23 14:36:20 UTC (rev 259938)
@@ -5,9 +5,9 @@
 _hkgname=microlens
 pkgname=haskell-microlens
 pkgver=0.4.8.1
-pkgrel=2
+pkgrel=3
 pkgdesc="A tiny lens library with no dependencies. If you're writing an app, you probably want microlens-platform, not this."
-url="http://github.com/aelve/microlens"
+url="https://github.com/aelve/microlens"
 license=("custom:BSD3")
 arch=('i686' 'x86_64')
 depends=('ghc-libs')
@@ -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