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

Felix Yan felixonmars at archlinux.org
Fri Sep 22 06:58:03 UTC 2017


    Date: Friday, September 22, 2017 @ 06:58:02
  Author: felixonmars
Revision: 259374

upgpkg: haskell-hourglass 0.2.10-5

Modified:
  haskell-hourglass/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-22 06:57:53 UTC (rev 259373)
+++ PKGBUILD	2017-09-22 06:58:02 UTC (rev 259374)
@@ -5,7 +5,7 @@
 _hkgname=hourglass
 pkgname=haskell-hourglass
 pkgver=0.2.10
-pkgrel=4
+pkgrel=5
 pkgdesc="simple performant time related library"
 url="https://github.com/vincenthz/hs-hourglass"
 license=("custom:BSD3")
@@ -13,12 +13,12 @@
 depends=('ghc-libs')
 makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha256sums=('d553362d7a6f7df60d8ff99304aaad0995be81f9d302725ebe9441829a0f8d80')
+sha512sums=('49287fa4b1f102a3a4b744bc57e109a3c1bc472f65d2e2c0e76749bf6c7abc4279af3ce7035ca9b87b373e65956069472285ac849819fc9e928cd409f33e6244')
 
 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