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

Felix Yan felixonmars at archlinux.org
Thu Jun 15 19:03:39 UTC 2017


    Date: Thursday, June 15, 2017 @ 19:03:38
  Author: felixonmars
Revision: 237367

upgpkg: haskell-uuid 1.3.13-5

rebuild with ghc,8.0.2

Modified:
  haskell-uuid/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-15 19:02:24 UTC (rev 237366)
+++ PKGBUILD	2017-06-15 19:03:38 UTC (rev 237367)
@@ -5,12 +5,12 @@
 _hkgname=uuid
 pkgname=haskell-uuid
 pkgver=1.3.13
-pkgrel=4
+pkgrel=5
 pkgdesc="For creating, comparing, parsing and printing Universally Unique Identifiers"
 url="https://github.com/aslatter/uuid"
 license=("custom:BSD3")
 arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-cryptohash-md5" "haskell-cryptohash-sha1" "haskell-entropy"
+depends=("ghc" "haskell-cryptohash-md5" "haskell-cryptohash-sha1" "haskell-entropy"
          "haskell-network-info" "haskell-random" "haskell-text" "haskell-uuid-types")
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha256sums=('dfac808a7026217d018b408eab18facc6a85c6183be308d4ac7877e80599b027')
@@ -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