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

Felix Yan felixonmars at archlinux.org
Thu Sep 21 07:36:00 UTC 2017


    Date: Thursday, September 21, 2017 @ 07:35:59
  Author: felixonmars
Revision: 259008

upgpkg: haskell-jose 0.6.0.3-3

rebuild with aeson,1.2.2.0

Modified:
  haskell-jose/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-21 07:33:45 UTC (rev 259007)
+++ PKGBUILD	2017-09-21 07:35:59 UTC (rev 259008)
@@ -5,7 +5,7 @@
 _hkgname=jose
 pkgname=haskell-jose
 pkgver=0.6.0.3
-pkgrel=2
+pkgrel=3
 pkgdesc="Javascript Object Signing and Encryption and JSON Web Token library"
 url="https://github.com/frasertweedale/hs-jose"
 license=("Apache")
@@ -22,7 +22,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
@@ -40,8 +40,5 @@
     runhaskell Setup copy --destdir="${pkgdir}"
     rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
 
-    # Remove static libs
-    find "$pkgdir"/usr/lib -name "*.a" -delete
-
     mv "$pkgdir"/usr/bin/{,jose-}example
 }



More information about the arch-commits mailing list