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

Felix Yan felixonmars at archlinux.org
Sat Sep 23 15:29:45 UTC 2017


    Date: Saturday, September 23, 2017 @ 15:29:44
  Author: felixonmars
Revision: 260022

upgpkg: haskell-code-page 0.1.3-4

Modified:
  haskell-code-page/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-23 15:29:26 UTC (rev 260021)
+++ PKGBUILD	2017-09-23 15:29:44 UTC (rev 260022)
@@ -5,7 +5,7 @@
 _hkgname=code-page
 pkgname=haskell-code-page
 pkgver=0.1.3
-pkgrel=3
+pkgrel=4
 pkgdesc="Windows code page library for Haskell"
 url="https://github.com/RyanGlScott/code-page"
 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")
-md5sums=('d8af11ed413fa8e3b3cee0a976ac15f5')
+sha512sums=('1a8f650051d749840562d4ac8789f9834afa73e64582f2781d542d281d894c420cdb7a5b8a2bf30c983bec99a27bec8b63a32b1cabd3ab26a964e0a9b9b647bc')
 
 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