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

Felix Yan felixonmars at archlinux.org
Fri Sep 22 19:08:13 UTC 2017


    Date: Friday, September 22, 2017 @ 19:08:12
  Author: felixonmars
Revision: 259757

upgpkg: haskell-hledger-lib 1.3.2-3

Modified:
  haskell-hledger-lib/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-22 19:08:01 UTC (rev 259756)
+++ PKGBUILD	2017-09-22 19:08:12 UTC (rev 259757)
@@ -5,7 +5,7 @@
 _hkgname=hledger-lib
 pkgname=haskell-hledger-lib
 pkgver=1.3.2
-pkgrel=2
+pkgrel=3
 pkgdesc="Core data types, parsers and functionality for the hledger accounting tools"
 url="http://hledger.org"
 license=("GPL")
@@ -29,7 +29,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 \
             -f-oldtime
@@ -47,7 +47,4 @@
     install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
     runhaskell Setup copy --destdir="${pkgdir}"
     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