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

Felix Yan felixonmars at archlinux.org
Fri Sep 22 14:10:01 UTC 2017


    Date: Friday, September 22, 2017 @ 14:10:01
  Author: felixonmars
Revision: 259470

upgpkg: haskell-cookie 0.4.2.1-8

Modified:
  haskell-cookie/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-22 14:09:45 UTC (rev 259469)
+++ PKGBUILD	2017-09-22 14:10:01 UTC (rev 259470)
@@ -6,7 +6,7 @@
 _hkgname=cookie
 pkgname=haskell-cookie
 pkgver=0.4.2.1
-pkgrel=7
+pkgrel=8
 pkgdesc="HTTP cookie parsing and rendering"
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=('MIT')
@@ -15,11 +15,11 @@
          'haskell-text')
 makedepends=('ghc')
 source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-md5sums=('12613c254e38bf4b0e0e278cccbf23c2')
+sha512sums=('32d712b121e2cf9a9bf913d546769fa8fd8dbd6c77b7bd15fb334b8fda22e498e793ceaef6dc142f2f69813f91d555261cd624d5af6b90f5cd8072967a2eddc2')
 
 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
@@ -37,7 +37,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