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

Felix Yan felixonmars at archlinux.org
Fri Sep 22 16:28:37 UTC 2017


    Date: Friday, September 22, 2017 @ 16:28:37
  Author: felixonmars
Revision: 259616

upgpkg: haskell-loch-th 0.2.1-5

Modified:
  haskell-loch-th/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-22 16:27:35 UTC (rev 259615)
+++ PKGBUILD	2017-09-22 16:28:37 UTC (rev 259616)
@@ -5,7 +5,7 @@
 _hkgname=loch-th
 pkgname=haskell-loch-th
 pkgver=0.2.1
-pkgrel=4
+pkgrel=5
 pkgdesc="Support for precise error locations in source files (Template Haskell version)"
 url="https://github.com/liskin/loch-th"
 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=('77541dcb8fb0ae2c7984fc704e53635dbec83974a172611339941bfc9f96d9cd')
+sha512sums=('8073ead21f0ae6db4ffa75de641d183ac25eec126d173a091dcd25b483debee0cc2a15896c86c525b13dc3ba051c6a35a64ba5f67ae2177f943fdde23085f945')
 
 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