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

Felix Yan felixonmars at archlinux.org
Sun Sep 24 08:17:34 UTC 2017


    Date: Sunday, September 24, 2017 @ 08:17:33
  Author: felixonmars
Revision: 260358

upgpkg: haskell-only 0.1-3

Modified:
  haskell-only/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-24 08:17:12 UTC (rev 260357)
+++ PKGBUILD	2017-09-24 08:17:33 UTC (rev 260358)
@@ -5,7 +5,7 @@
 _hkgname=Only
 pkgname=haskell-only
 pkgver=0.1
-pkgrel=2
+pkgrel=3
 pkgdesc='The 1-tuple type or single-value "collection"'
 url="https://github.com/hvr/Only"
 license=("custom:BSD3")
@@ -13,12 +13,12 @@
 depends=('ghc-libs')
 makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha256sums=('ab7aa193e8c257d3bda6b0b3c1cbcf74cdaa85ab08cb20c2dd62ba248c1ab265')
+sha512sums=('6b64178a433079449b6840b03345e70f2c5c03e322184a60d3ff2f4d0ae48be87042ff32dc1cabe1911b6c43f7162090ee067aa582c6d5ab56610ca4897a33de')
 
 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