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

Felix Yan felixonmars at archlinux.org
Sat Jun 17 14:39:56 UTC 2017


    Date: Saturday, June 17, 2017 @ 14:39:55
  Author: felixonmars
Revision: 237906

upgpkg: haskell-unixutils 1.54.1-5

rebuild with ghc,8.0.2

Modified:
  haskell-unixutils/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-17 14:38:51 UTC (rev 237905)
+++ PKGBUILD	2017-06-17 14:39:55 UTC (rev 237906)
@@ -4,12 +4,12 @@
 _hkgname=Unixutils
 pkgname=haskell-unixutils
 pkgver=1.54.1
-pkgrel=4
+pkgrel=5
 pkgdesc="A crude interface between Haskell and Unix-like operating systems"
 url="https://github.com/seereason/haskell-unixutils"
 license=('custom:BSD3')
 arch=('i686' 'x86_64')
-depends=('ghc=8.0.1' 'haskell-exceptions' 'haskell-mtl' 'haskell-process-extras' 'haskell-puremd5'
+depends=('ghc' 'haskell-exceptions' 'haskell-mtl' 'haskell-process-extras' 'haskell-puremd5'
          'haskell-regex-tdfa' 'haskell-zlib')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 md5sums=('4ed58cb525abffd507714cca1a07108e')
@@ -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
@@ -38,4 +38,7 @@
     runhaskell Setup copy --destdir="${pkgdir}"
     install -D -m644 "COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
     rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING"
+
+    # Remove static libs
+    find "$pkgdir"/usr/lib -name "*.a" -delete
 }



More information about the arch-commits mailing list