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

Felix Yan felixonmars at archlinux.org
Sat Jun 17 14:48:10 UTC 2017


    Date: Saturday, June 17, 2017 @ 14:48:09
  Author: felixonmars
Revision: 237914

upgpkg: haskell-haddock-api 2.17.4-1

rebuild with ghc,8.0.2

Modified:
  haskell-haddock-api/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-17 14:47:03 UTC (rev 237913)
+++ PKGBUILD	2017-06-17 14:48:09 UTC (rev 237914)
@@ -2,22 +2,20 @@
 # Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
 
 pkgname=haskell-haddock-api
-pkgver=2.17.3.1
-pkgrel=2
+pkgver=2.17.4
+pkgrel=1
 pkgdesc="A documentation-generation tool for Haskell libraries"
 url="http://www.haskell.org/haddock/"
 license=("BSD3")
 arch=('i686' 'x86_64')
-depends=("ghc=8.0.1"
-         "haskell-ghc-paths"
-         "haskell-haddock-library")
+depends=("ghc" "haskell-ghc-paths" "haskell-haddock-library")
 source=("https://hackage.haskell.org/package/haddock-api-${pkgver}/haddock-api-${pkgver}.tar.gz")
-sha256sums=('ed8c5282260d3300dc06e45e2f9a5d53606315a15a2336db749d3faa64d564ba')
+sha512sums=('c574cb7bde219f639abbaf1ca2971409dc1a77987bb919c99bbc464be4c45235f4de8ff2d1cbdcd85da23d0c16b608111dd0ac4d6175ff0e70fd2e5fa94a68a0')
 
 build() {
     cd "${srcdir}/haddock-api-${pkgver}"
 
-    runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
         --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
         --libsubdir=\$compiler/site-local/\$pkgid
     runhaskell Setup build
@@ -38,4 +36,7 @@
     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