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

Felix Yan felixonmars at archlinux.org
Fri Sep 22 06:49:56 UTC 2017


    Date: Friday, September 22, 2017 @ 06:49:55
  Author: felixonmars
Revision: 259354

upgpkg: haskell-lexer 1.0.1-4

Modified:
  haskell-lexer/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-22 06:49:33 UTC (rev 259353)
+++ PKGBUILD	2017-09-22 06:49:55 UTC (rev 259354)
@@ -4,7 +4,7 @@
 _hkgname=haskell-lexer
 pkgname=haskell-lexer 
 pkgver=1.0.1
-pkgrel=3
+pkgrel=4
 pkgdesc="A fully compliant Haskell 98 lexer."
 url="https://hackage.haskell.org/package/haskell-lexer"
 license=('custom:BSD3')
@@ -12,12 +12,12 @@
 depends=('ghc-libs')
 makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-md5sums=('b6319b81350bed5ea6a874d2bf6adffb')
+sha512sums=('591aa5a1ffcd984127cd730a0ebc01129fa0a6486ca16b03c9462e2123f1ce4d10063b7bb3debc6d2a6b8ba51692b0e34d694adeca9dad47707ecbabacfb4740')
 
 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
@@ -35,7 +35,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