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

Felix Yan felixonmars at archlinux.org
Sat Sep 23 15:59:34 UTC 2017


    Date: Saturday, September 23, 2017 @ 15:59:33
  Author: felixonmars
Revision: 260062

upgpkg: haskell-project-template 0.2.0-76

Modified:
  haskell-project-template/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-23 15:55:01 UTC (rev 260061)
+++ PKGBUILD	2017-09-23 15:59:33 UTC (rev 260062)
@@ -5,7 +5,7 @@
 _hkgname=project-template
 pkgname=haskell-project-template
 pkgver=0.2.0
-pkgrel=75
+pkgrel=76
 pkgdesc="Specify Haskell project templates and generate files"
 url="https://github.com/fpco/haskell-ide"
 license=("custom:BSD3")
@@ -15,12 +15,12 @@
          "haskell-text")
 makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha256sums=('aeabd7d1785b31abaffc78f02d9dda67d57d01822755f09614bfc65e99506310')
+sha512sums=('923c0d9e5cac14c05474adc743cfb8030ed8e08e69c4eb35b77c2cb1c64b44f10058693d1a5880ba983040ea9dbf1f28f815cd274a75de302f3afdb928210cad')
 
 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
@@ -38,7 +38,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