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

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


    Date: Friday, June 16, 2017 @ 08:08:51
  Author: felixonmars
Revision: 237535

upgpkg: haskell-ed25519 0.0.5.0-3

rebuild with ghc,8.0.2

Modified:
  haskell-ed25519/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-16 08:06:55 UTC (rev 237534)
+++ PKGBUILD	2017-06-16 08:08:51 UTC (rev 237535)
@@ -5,12 +5,12 @@
 _hkgname=ed25519
 pkgname=haskell-ed25519
 pkgver=0.0.5.0
-pkgrel=2
+pkgrel=3
 pkgdesc="Ed25519 cryptographic signatures"
 url="http://thoughtpolice.github.com/hs-ed25519"
 license=("MIT")
 arch=('i686' 'x86_64')
-depends=("ghc=8.0.1")
+depends=("ghc")
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha256sums=('d8a5958ebfa9309790efade64275dc5c441b568645c45ceed1b0c6ff36d6156d')
 
@@ -21,7 +21,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 \
             -f-test-properties -f-test-hlint -f-test-doctests -fno-donna
@@ -43,4 +43,7 @@
     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