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

Felix Yan felixonmars at archlinux.org
Fri Sep 22 15:49:36 UTC 2017


    Date: Friday, September 22, 2017 @ 15:49:35
  Author: felixonmars
Revision: 259566

upgpkg: haskell-data-default 0.7.1.1-9

Modified:
  haskell-data-default/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-22 15:49:22 UTC (rev 259565)
+++ PKGBUILD	2017-09-22 15:49:35 UTC (rev 259566)
@@ -3,7 +3,7 @@
 _hkgname=data-default
 pkgname=haskell-data-default
 pkgver=0.7.1.1
-pkgrel=8
+pkgrel=9
 pkgdesc="A class for types with a default value"
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=('custom:BSD3')
@@ -11,11 +11,11 @@
 depends=('ghc-libs' 'haskell-data-default-class' 'haskell-data-default-instances-containers' 'haskell-data-default-instances-dlist' 'haskell-data-default-instances-old-locale')
 makedepends=('ghc')
 source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-md5sums=('13ddcc28e24cd58937c7d130e885749a')
+sha512sums=('a31260c71178641e41f16fc504620f19ad04a44d2d095c96225b6027184c01ec0bf47effab5344816e438d7c37e34189255a9d3a5d643219b37054dde679d1bd')
 
 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 -fnetwork-uri
     runhaskell Setup build
@@ -33,7 +33,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