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

Felix Yan felixonmars at archlinux.org
Fri Sep 22 15:25:15 UTC 2017


    Date: Friday, September 22, 2017 @ 15:25:14
  Author: felixonmars
Revision: 259532

upgpkg: haskell-regex-pcre 0.94.4-5

Modified:
  haskell-regex-pcre/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-22 15:04:28 UTC (rev 259531)
+++ PKGBUILD	2017-09-22 15:25:14 UTC (rev 259532)
@@ -5,7 +5,7 @@
 _hkgname=regex-pcre
 pkgname=haskell-regex-pcre
 pkgver=0.94.4
-pkgrel=4
+pkgrel=5
 pkgdesc="Replaces/Enhances Text.Regex"
 url="https://hackage.haskell.org/package/regex-pcre"
 license=("custom:BSD3")
@@ -13,12 +13,12 @@
 depends=('ghc-libs' "haskell-regex-base" "pcre")
 makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha256sums=('8eaa7d4ac6c0a4ba35aa59fc3f6b8f8e252bb25a47e136791446a74752e226c0')
+sha512sums=('b14db2fb88f9a70b60cfac0ecc242554929d03982b7ffef18e36a2a8ddbef3bbc3f7f1ccb549aa805aec43f30b3ca22856d2e4315dba15e9c22ed34638dba92e')
 
 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 \
             -fsplitbase -fnewbase
@@ -37,7 +37,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