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

Felix Yan felixonmars at archlinux.org
Fri Jun 16 17:41:53 UTC 2017


    Date: Friday, June 16, 2017 @ 17:41:52
  Author: felixonmars
Revision: 237771

upgpkg: haskell-pointed 5-37

rebuild with ghc,8.0.2

Modified:
  haskell-pointed/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-16 17:38:53 UTC (rev 237770)
+++ PKGBUILD	2017-06-16 17:41:52 UTC (rev 237771)
@@ -5,15 +5,14 @@
 _hkgname=pointed
 pkgname=haskell-pointed
 pkgver=5
-pkgrel=36
+pkgrel=37
 pkgdesc="Pointed and copointed data"
 url="http://github.com/ekmett/pointed/"
 license=("custom:BSD3")
 arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-comonad" "haskell-data-default-class" "haskell-hashable"
-         "haskell-kan-extensions" "haskell-semigroupoids" "haskell-semigroups"
-         "haskell-stm" "haskell-tagged" "haskell-transformers-compat"
-         "haskell-unordered-containers")
+depends=("ghc" "haskell-comonad" "haskell-data-default-class" "haskell-hashable"
+         "haskell-kan-extensions" "haskell-semigroupoids" "haskell-semigroups" "haskell-stm"
+         "haskell-tagged" "haskell-transformers-compat" "haskell-unordered-containers")
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha256sums=('8906b8af5125ab3376794a290c5484dbec5a35d0bd0a57e94392ec0e12535d17')
 
@@ -24,7 +23,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 \
             -fcomonad -fcontainers -fkan-extensions -fsemigroupoids -fsemigroups \
@@ -47,4 +46,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