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

Felix Yan felixonmars at archlinux.org
Sat Sep 23 14:28:54 UTC 2017


    Date: Saturday, September 23, 2017 @ 14:28:53
  Author: felixonmars
Revision: 259926

upgpkg: haskell-setenv 0.1.1.3-6

Modified:
  haskell-setenv/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-23 14:28:42 UTC (rev 259925)
+++ PKGBUILD	2017-09-23 14:28:53 UTC (rev 259926)
@@ -5,7 +5,7 @@
 _hkgname=setenv
 pkgname=haskell-setenv
 pkgver=0.1.1.3
-pkgrel=5
+pkgrel=6
 pkgdesc="A cross-platform library for setting environment variables"
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=("MIT")
@@ -13,12 +13,12 @@
 depends=('ghc-libs')
 makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha256sums=('e358df39afc03d5a39e2ec650652d845c85c80cc98fe331654deafb4767ecb32')
+sha512sums=('9cce617dcec2c870abed2ffadfc21bc2512b709791a15012f07246ce27fd749e125a16f72e6ef574ae390ecbc512c052c2630ca4c97606a20d11e25da5d2c14a')
 
 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