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

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


    Date: Friday, September 22, 2017 @ 14:13:59
  Author: felixonmars
Revision: 259476

upgpkg: haskell-tagged 0.8.5-4

Modified:
  haskell-tagged/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-22 14:13:32 UTC (rev 259475)
+++ PKGBUILD	2017-09-22 14:13:59 UTC (rev 259476)
@@ -5,15 +5,15 @@
 _hkgname=tagged
 pkgname=haskell-tagged
 pkgver=0.8.5
-pkgrel=3
+pkgrel=4
 pkgdesc="Haskell 98 phantom types to avoid unsafely passing dummy arguments"
-url="http://github.com/ekmett/tagged"
+url="https://github.com/ekmett/tagged"
 license=("custom:BSD3")
 arch=('i686' 'x86_64')
 depends=('ghc-libs' "haskell-transformers-compat")
 makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha256sums=('e47c51c955ed77b0fa36897f652df990aa0a8c4eb278efaddcd604be00fc8d99')
+sha512sums=('e9eb835b14e02dd12ce81e540cb1acfdcc7a15fb3b2d581398c96fdc84119c3d0d7d58117d5f77c5833ae01cf2f96ab47db4f844f1aef06bbfecb1b779e65ad7')
 
 prepare() {
     sed -i 's/template-haskell >= 2.8 && < 2.12/template-haskell >= 2.8/' $_hkgname-$pkgver/$_hkgname.cabal
@@ -22,7 +22,7 @@
 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 \
             -fdeepseq -ftransformers
@@ -41,7 +41,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