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

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


    Date: Sunday, September 24, 2017 @ 08:12:13
  Author: felixonmars
Revision: 260346

upgpkg: haskell-microlens-th 0.4.1.1-5

Modified:
  haskell-microlens-th/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-24 08:11:57 UTC (rev 260345)
+++ PKGBUILD	2017-09-24 08:12:13 UTC (rev 260346)
@@ -4,20 +4,20 @@
 _hkgname=microlens-th
 pkgname=haskell-microlens-th
 pkgver=0.4.1.1
-pkgrel=4
+pkgrel=5
 pkgdesc="Automatic generation of record lenses for microlens"
-url="http://github.com/aelve/microlens"
+url="https://github.com/aelve/microlens"
 license=('custom:BSD3')
 arch=('i686' 'x86_64')
 depends=('ghc-libs' 'haskell-microlens')
 makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-md5sums=('7745b619fb838b2e69eb15734de19180')
+sha512sums=('0a781fdaeb954a325bd65872b7a337195cd4e12f6a58495afd241b0970cd83ed317c9bca0f99e04cf8305d67faf55a068b5cab06285cf71530fa95d26ae47e6b')
 
 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 \
             -finlining
@@ -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