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

Felix Yan felixonmars at archlinux.org
Thu Sep 21 06:47:59 UTC 2017


    Date: Thursday, September 21, 2017 @ 06:47:58
  Author: felixonmars
Revision: 258950

upgpkg: haskell-aeson-compat 0.3.7.1-6

rebuild with aeson,1.2.2.0

Modified:
  haskell-aeson-compat/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-21 06:47:51 UTC (rev 258949)
+++ PKGBUILD	2017-09-21 06:47:58 UTC (rev 258950)
@@ -5,7 +5,7 @@
 _hkgname=aeson-compat
 pkgname=haskell-aeson-compat
 pkgver=0.3.7.1
-pkgrel=5
+pkgrel=6
 pkgdesc="Compatibility layer for aeson"
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=("custom:BSD3")
@@ -20,8 +20,8 @@
 
 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
@@ -33,13 +33,10 @@
 
 package() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
-    
+
     install -D -m744 register.sh   "${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
     install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
     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