[arch-commits] Commit in haskell-data-accessor-template/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sun Sep 24 08:37:45 UTC 2017


    Date: Sunday, September 24, 2017 @ 08:37:45
  Author: felixonmars
Revision: 260383

upgpkg: haskell-data-accessor-template 0.2.1.14-3

Modified:
  haskell-data-accessor-template/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-24 08:37:20 UTC (rev 260382)
+++ PKGBUILD	2017-09-24 08:37:45 UTC (rev 260383)
@@ -5,7 +5,7 @@
 _hkgname=data-accessor-template
 pkgname=haskell-data-accessor-template
 pkgver=0.2.1.14
-pkgrel=2
+pkgrel=3
 pkgdesc="Automate generation of Accessor's of the data-accessor package by Template Haskell functions."
 url="http://www.haskell.org/haskellwiki/Record_access"
 license=("custom:BSD3")
@@ -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