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

Felix Yan felixonmars at archlinux.org
Fri Sep 22 17:39:21 UTC 2017


    Date: Friday, September 22, 2017 @ 17:39:21
  Author: felixonmars
Revision: 259666

upgpkg: haskell-djinn-lib 0.0.1.2-5

Modified:
  haskell-djinn-lib/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-22 17:38:38 UTC (rev 259665)
+++ PKGBUILD	2017-09-22 17:39:21 UTC (rev 259666)
@@ -5,7 +5,7 @@
 _hkgname=djinn-lib
 pkgname=haskell-djinn-lib
 pkgver=0.0.1.2
-pkgrel=4
+pkgrel=5
 pkgdesc="Generate Haskell code from a type. Library extracted from djinn package."
 url="http://www.augustsson.net/Darcs/Djinn/"
 license=("custom:BSD3")
@@ -13,12 +13,12 @@
 depends=('ghc-libs' "haskell-mtl")
 makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha256sums=('c0fe10b7aa5cb39f828e933925fc5bbf86c290bb7661021e4d9250ae8ed01011')
+sha512sums=('403878b72540362a6b6d545a65ded9f10d05c623180adf8a03e732fac30dd00a42b090b9e4f9da16baa5dc1fdbd6f29a97158174917f3c0527a37b6ecbcfbe8e')
 
 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