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

Felix Yan felixonmars at archlinux.org
Sat Sep 23 05:19:47 UTC 2017


    Date: Saturday, September 23, 2017 @ 05:19:46
  Author: felixonmars
Revision: 259834

upgpkg: haskell-unix-time 0.3.7-4

Modified:
  haskell-unix-time/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-23 05:17:30 UTC (rev 259833)
+++ PKGBUILD	2017-09-23 05:19:46 UTC (rev 259834)
@@ -5,7 +5,7 @@
 _hkgname=unix-time
 pkgname=haskell-unix-time
 pkgver=0.3.7
-pkgrel=3
+pkgrel=4
 pkgdesc="Unix time parser/formatter and utilities"
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=("custom:BSD3")
@@ -13,12 +13,12 @@
 depends=('ghc-libs' "haskell-old-time")
 makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha256sums=('1131301131dd3e73353a346daa04578ec067073e7674d447051ac1a87262b4e1')
+sha512sums=('d10335af434e79980fd4221ade86dafa71d2aa9b30d7aaa13da25b8e75114430a143be5b9c6c1fa885d6ba01f6e6677484b04cd9e2cb263c650a945e954c44bd')
 
 build() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
     
-    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
         --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
     runhaskell Setup build
@@ -36,7 +36,4 @@
     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