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

Felix Yan felixonmars at archlinux.org
Fri Jun 16 08:17:26 UTC 2017


    Date: Friday, June 16, 2017 @ 08:17:26
  Author: felixonmars
Revision: 237543

upgpkg: haskell-gnutls 0.2-4

rebuild with ghc,8.0.2

Modified:
  haskell-gnutls/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-16 08:16:07 UTC (rev 237542)
+++ PKGBUILD	2017-06-16 08:17:26 UTC (rev 237543)
@@ -5,12 +5,12 @@
 _hkgname=gnutls
 pkgname=haskell-gnutls
 pkgver=0.2
-pkgrel=3
+pkgrel=4
 pkgdesc="Bindings for GNU libgnutls"
 url="https://john-millikin.com/software/haskell-gnutls/"
 license=("GPL3")
 arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "gnutls" "haskell-monads-tf")
+depends=("ghc" "gnutls" "haskell-monads-tf")
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha256sums=('c0e6fddf92d48d1e6ab0d93af8104cc83d250eab7b3d369780ef72801aa8b7b0')
 
@@ -17,7 +17,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
@@ -37,4 +37,7 @@
     ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
     runhaskell Setup copy --destdir="${pkgdir}"
     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