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

Felix Yan felixonmars at archlinux.org
Fri Sep 22 19:09:18 UTC 2017


    Date: Friday, September 22, 2017 @ 19:09:17
  Author: felixonmars
Revision: 259759

upgpkg: haskell-edit-distance 0.2.2.1-6

Modified:
  haskell-edit-distance/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-22 19:08:52 UTC (rev 259758)
+++ PKGBUILD	2017-09-22 19:09:17 UTC (rev 259759)
@@ -5,20 +5,20 @@
 _hkgname=edit-distance
 pkgname=haskell-edit-distance
 pkgver=0.2.2.1
-pkgrel=5
+pkgrel=6
 pkgdesc="Levenshtein and restricted Damerau-Levenshtein edit distances"
-url="http://github.com/phadej/edit-distance"
+url="https://github.com/phadej/edit-distance"
 license=("custom:BSD3")
 arch=('i686' 'x86_64')
 depends=('ghc-libs' "haskell-random")
 makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha256sums=('3e8885ee2f56ad4da940f043ae8f981ee2fe336b5e8e4ba3f7436cff4f526c4a')
+sha512sums=('67d19c9f5712191f88641d32ff0b84aaf05c2acd71cfa81a17675690ac9076b34aff687afa8501f8b22ddcece12a439e053265d14b70dc155b0e08406050fdd7')
 
 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
@@ -36,7 +36,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