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

Felix Yan felixonmars at archlinux.org
Sat Sep 23 16:31:33 UTC 2017


    Date: Saturday, September 23, 2017 @ 16:31:32
  Author: felixonmars
Revision: 260126

upgpkg: haskell-data-clist 0.1.1.0-5

Modified:
  haskell-data-clist/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-23 16:31:19 UTC (rev 260125)
+++ PKGBUILD	2017-09-23 16:31:32 UTC (rev 260126)
@@ -5,7 +5,7 @@
 _hkgname=data-clist
 pkgname=haskell-data-clist
 pkgver=0.1.1.0
-pkgrel=4
+pkgrel=5
 pkgdesc="Simple functional ring type."
 url="https://github.com/sw17ch/data-clist"
 license=("custom:BSD3")
@@ -13,7 +13,7 @@
 depends=('ghc-libs' "haskell-quickcheck")
 makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha256sums=('ba0abd2e139d7ac6548cedd785edb3e4e809c1c116c3059d72590b0635166db6')
+sha512sums=('e7365caeda1bc676bd7280b15c6f98e41bd47a70436bee959ded6925ba3a56dd47a83daac553bde6274cfd3d23610e65ba26b2839d355856fc20f6b0818be8b9')
 
 prepare() {
     sed -i 's/QuickCheck >= 2.4 && < 2.10/QuickCheck >= 2.4 \&\& < 2.11/' ${_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
     runhaskell Setup build
@@ -40,7 +40,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