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

Felix Yan felixonmars at archlinux.org
Sat Sep 23 17:52:43 UTC 2017


    Date: Saturday, September 23, 2017 @ 17:52:43
  Author: felixonmars
Revision: 260298

upgpkg: haskell-optparse-simple 0.0.3-61

Modified:
  haskell-optparse-simple/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-23 17:52:27 UTC (rev 260297)
+++ PKGBUILD	2017-09-23 17:52:43 UTC (rev 260298)
@@ -5,7 +5,7 @@
 _hkgname=optparse-simple
 pkgname=haskell-optparse-simple
 pkgver=0.0.3
-pkgrel=60
+pkgrel=61
 pkgdesc="Simple interface to optparse-applicative"
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=("custom:BSD3")
@@ -13,12 +13,12 @@
 depends=('ghc-libs' "haskell-either" "haskell-gitrev" "haskell-optparse-applicative")
 makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha256sums=('4547f0a6c1bd959b1d9c3c2a5fabee39ac9a19dffabbb2d75461a2d461df8c7e')
+sha512sums=('d607482a9ef9e9d4992328fb141cf797ad72e43cbe42eab23adacd21843b8c62c98d6c8fc342b2a11019a220759854b6587a1fd07fa8268462c4cc3d40c4a1c4')
 
 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