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

Felix Yan felixonmars at archlinux.org
Sat Sep 23 05:34:29 UTC 2017


    Date: Saturday, September 23, 2017 @ 05:34:28
  Author: felixonmars
Revision: 259854

upgpkg: haskell-xml-types 0.3.6-9

Modified:
  haskell-xml-types/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-23 05:33:00 UTC (rev 259853)
+++ PKGBUILD	2017-09-23 05:34:28 UTC (rev 259854)
@@ -5,7 +5,7 @@
 _hkgname=xml-types
 pkgname=haskell-xml-types
 pkgver=0.3.6
-pkgrel=8
+pkgrel=9
 pkgdesc="Basic types for representing XML"
 url="https://john-millikin.com/software/haskell-xml/"
 license=("MIT")
@@ -13,12 +13,12 @@
 depends=('ghc-libs' "haskell-text")
 makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha256sums=('9937d440072552c03c6d8ad79f61e61467dc28dcd5adeaad81038b9b94eef8c9')
+sha512sums=('552f2230e55bc8e45a62e06bbe8c0cb7844c5d73185303b3290632a816c5956b781fff1b0a679ce33b1759f1b9c815dab8063f6b9ced0c9e94ac314cf77b34ea')
 
 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.txt" "${pkgdir}/usr/share/licenses/${pkgname}/license.txt"
     rm -f "${pkgdir}/usr/share/doc/${pkgname}/license.txt"
-
-    # Remove static libs
-    find "$pkgdir"/usr/lib -name "*.a" -delete
 }



More information about the arch-commits mailing list