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

Felix Yan felixonmars at archlinux.org
Sat Jun 17 02:38:09 UTC 2017


    Date: Saturday, June 17, 2017 @ 02:38:08
  Author: felixonmars
Revision: 237838

upgpkg: haskell-feed 0.3.12.0-4

rebuild with ghc,8.0.2

Modified:
  haskell-feed/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-17 02:37:31 UTC (rev 237837)
+++ PKGBUILD	2017-06-17 02:38:08 UTC (rev 237838)
@@ -5,12 +5,12 @@
 _hkgname=feed
 pkgname=haskell-feed
 pkgver=0.3.12.0
-pkgrel=3
+pkgrel=4
 pkgdesc="Interfacing with RSS (v 0.9x, 2.x, 1.0) + Atom feeds."
 url="https://github.com/bergmark/feed"
 license=("custom:BSD3")
 arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-old-locale" "haskell-old-time" "haskell-time-locale-compat"
+depends=("ghc" "haskell-old-locale" "haskell-old-time" "haskell-time-locale-compat"
          "haskell-utf8-string" "haskell-xml")
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha256sums=('cc2d6a3b91027d75b91a0a4c0f83f2df68bee3ce0d7338ea5ae0bcab6dd47942')
@@ -18,7 +18,7 @@
 build() {
     cd "${srcdir}/${_hkgname}-${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
@@ -39,4 +39,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