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

Felix Yan felixonmars at archlinux.org
Sat Sep 23 16:37:21 UTC 2017


    Date: Saturday, September 23, 2017 @ 16:37:20
  Author: felixonmars
Revision: 260136

upgpkg: haskell-hex 0.1.2-5

Modified:
  haskell-hex/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-23 16:36:22 UTC (rev 260135)
+++ PKGBUILD	2017-09-23 16:37:20 UTC (rev 260136)
@@ -5,7 +5,7 @@
 _hkgname=hex
 pkgname=haskell-hex
 pkgver=0.1.2
-pkgrel=4
+pkgrel=5
 pkgdesc="Convert strings into hexadecimal and back."
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=("custom:BSD3")
@@ -13,12 +13,12 @@
 depends=('ghc-libs')
 makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha256sums=('12ee1243edd80570a486521565fb0c9b5e39374f21a12f050636e71d55ec61ec')
+sha512sums=('30608035819260b94759d644644b92a7145defa000685de53323ab4e765250ead410010e4ab96e99b97af647e97394c86edaf92cb811aa5df8228669b8ff9b4d')
 
 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 "COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
     rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING"
-
-    # Remove static libs
-    find "$pkgdir"/usr/lib -name "*.a" -delete
 }



More information about the arch-commits mailing list