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

Felix Yan felixonmars at archlinux.org
Sat Sep 23 05:57:24 UTC 2017


    Date: Saturday, September 23, 2017 @ 05:57:23
  Author: felixonmars
Revision: 259874

upgpkg: haskell-hslogger 1.2.10-6

Modified:
  haskell-hslogger/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-23 05:57:11 UTC (rev 259873)
+++ PKGBUILD	2017-09-23 05:57:23 UTC (rev 259874)
@@ -4,7 +4,7 @@
 
 pkgname=haskell-hslogger
 pkgver=1.2.10
-pkgrel=5
+pkgrel=6
 pkgdesc="Versatile logging framework"
 url="https://hackage.haskell.org/package/hslogger"
 license=('LGPL')
@@ -12,12 +12,12 @@
 depends=('ghc-libs' 'haskell-mtl' 'haskell-network' 'haskell-old-locale')
 makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/hslogger/${pkgver}/hslogger-${pkgver}.tar.gz")
-sha256sums=('d7ca6e94a4aacb47a8dc30e3960ab8deff482d2ec9dca9a87b225e03e97e452b')
+sha512sums=('c2e3c6e7c8598aca2a18e507defa7536db7fdf15265b900401f8558b3259cd770531a3a302d6eb9ecca63a9629f0d5796e1ec94d8f21ecf153a1fc49f889183a')
 
 build() {
     cd "${srcdir}/hslogger-${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
@@ -35,7 +35,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