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

Felix Yan felixonmars at archlinux.org
Thu Sep 21 07:02:30 UTC 2017


    Date: Thursday, September 21, 2017 @ 07:02:29
  Author: felixonmars
Revision: 258956

upgpkg: haskell-binary-orphans 0.1.8.0-2

rebuild with aeson,1.2.2.0

Modified:
  haskell-binary-orphans/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-21 06:51:39 UTC (rev 258955)
+++ PKGBUILD	2017-09-21 07:02:29 UTC (rev 258956)
@@ -5,7 +5,7 @@
 _hkgname=binary-orphans
 pkgname=haskell-binary-orphans
 pkgver=0.1.8.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Orphan instances for binary"
 url="https://github.com/phadej/binary-orphans"
 license=("custom:BSD3")
@@ -19,8 +19,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
@@ -32,13 +32,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