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

Felix Yan felixonmars at archlinux.org
Sat Sep 23 16:18:17 UTC 2017


    Date: Saturday, September 23, 2017 @ 16:18:14
  Author: felixonmars
Revision: 260100

upgpkg: haskell-regex-compat 0.95.1-9

Modified:
  haskell-regex-compat/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-23 16:17:27 UTC (rev 260099)
+++ PKGBUILD	2017-09-23 16:18:14 UTC (rev 260100)
@@ -6,7 +6,7 @@
 _hkgname=regex-compat
 pkgname=haskell-regex-compat
 pkgver=0.95.1
-pkgrel=8
+pkgrel=9
 pkgdesc='Replaces and enhances Text.Regex'
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=('custom:BSD3')
@@ -14,12 +14,12 @@
 depends=('ghc-libs' 'haskell-regex-base' 'haskell-regex-posix')
 makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
-sha256sums=('d57cb1a5a4d66753b18eaa37a1621246f660472243b001894f970037548d953b')
+sha512sums=('9fb38b001a4cdca5b3630d88e8fcb2f359f6e8dd49fbe13d5e2a1c99b4978b33ce639b344445b27daf68abbae1cf2c9905d48ff68a81e02b4e54aa92dea956e2')
 
 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
@@ -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