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

Felix Yan felixonmars at archlinux.org
Thu Jun 15 05:55:55 UTC 2017


    Date: Thursday, June 15, 2017 @ 05:55:54
  Author: felixonmars
Revision: 237053

upgpkg: haskell-skein 1.0.9.4-9

rebuild with ghc,8.0.2

Modified:
  haskell-skein/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-15 05:54:31 UTC (rev 237052)
+++ PKGBUILD	2017-06-15 05:55:54 UTC (rev 237053)
@@ -5,12 +5,12 @@
 _hkgname=skein
 pkgname=haskell-skein
 pkgver=1.0.9.4
-pkgrel=8
+pkgrel=9
 pkgdesc="Skein, a family of cryptographic hash functions.  Includes Skein-MAC as well."
 url="https://github.com/meteficha/skein"
 license=("custom:BSD3")
 arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-cereal" "haskell-crypto-api" "haskell-tagged")
+depends=("ghc" "haskell-cereal" "haskell-crypto-api" "haskell-tagged")
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha256sums=('f882ca0cc5ed336ef898fb3c89579e392900259296b2320edf968b9fc16cb8c9')
 
@@ -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 \
             -f-big-endian -f-force-endianness -f-reference
@@ -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