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

Felix Yan felixonmars at archlinux.org
Fri Sep 22 07:03:39 UTC 2017


    Date: Friday, September 22, 2017 @ 07:03:38
  Author: felixonmars
Revision: 259386

upgpkg: haskell-parsec 3.1.11-6

Modified:
  haskell-parsec/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-22 07:03:22 UTC (rev 259385)
+++ PKGBUILD	2017-09-22 07:03:38 UTC (rev 259386)
@@ -3,7 +3,7 @@
 _hkgname=parsec
 pkgname=haskell-parsec
 pkgver=3.1.11
-pkgrel=5
+pkgrel=6
 pkgdesc="Monadic parser combinators"
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=('custom:BSD3')
@@ -11,12 +11,12 @@
 depends=('ghc-libs' 'sh' 'haskell-mtl' 'haskell-text')
 makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-md5sums=('447a121444940cc86b644b13f773e1c7')
+sha512sums=('f913c172295b184fc118a59ad5fd66c35133885c39aac62239fc3a1aa98b4741465f67d0cffafc1706262ada42259a4694bfbb9175a399997e5b8840da4a809f')
 
 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
@@ -34,7 +34,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