[arch-commits] Commit in cabal-helper/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sun Sep 24 08:39:59 UTC 2017


    Date: Sunday, September 24, 2017 @ 08:39:58
  Author: felixonmars
Revision: 260387

upgpkg: cabal-helper 0.7.3.0-7

Modified:
  cabal-helper/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-24 08:39:12 UTC (rev 260386)
+++ PKGBUILD	2017-09-24 08:39:58 UTC (rev 260387)
@@ -4,7 +4,7 @@
 
 pkgname=cabal-helper
 pkgver=0.7.3.0
-pkgrel=6
+pkgrel=7
 pkgdesc="Simple interface to some of Cabals configuration state used by ghc-mod"
 url="https://hackage.haskell.org/package/${pkgname}"
 license=("AGPL3")
@@ -15,7 +15,7 @@
 makedepends=('ghc')
 source=('https://github.com/achirkin/cabal-helper/archive/68ceff5916f515e3026a3f40aa44570e47d50a0c.tar.gz')
 #source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz"
-sha256sums=('de0023c7e47be3030986a2b0e40bc5693096f2dd9a60de40c2111a29b66b0956')
+sha512sums=('bd900c8e3183ecd991a17dbb61bdc200f1ebebcfbc3374cbba4c534a829e042ad65251c7a77a492cd819764c85229e0210ae11c2597b2b7e9b5d40dcd5caa870')
 
 prepare() {
     mv $pkgname-68ceff5916f515e3026a3f40aa44570e47d50a0c $pkgname-$pkgver
@@ -26,7 +26,7 @@
 build() {
     cd "${srcdir}/${pkgname}-${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}" --libexecdir="/usr/lib" \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
             -f-dev
@@ -44,7 +44,4 @@
     install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
     runhaskell Setup copy --destdir="${pkgdir}"
     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