Date: Friday, September 22, 2017 @ 07:20:59
  Author: felixonmars
Revision: 259427

upgpkg: haskell-old-time 1.1.0.3-11

Modified:
  haskell-old-time/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2017-09-22 07:20:49 UTC (rev 259426)
+++ PKGBUILD    2017-09-22 07:20:59 UTC (rev 259427)
@@ -3,7 +3,7 @@
 _hkgname=old-time
 pkgname=haskell-old-time
 pkgver=1.1.0.3
-pkgrel=10
+pkgrel=11
 pkgdesc="This package provides the ability to adapt to locale conventions such 
as date and time formats."
 url="https://hackage.haskell.org/package/${_hkgname}";
 license=('custom:BSD3')
@@ -11,7 +11,7 @@
 depends=('ghc-libs' 'haskell-old-locale')
 makedepends=('ghc')
 
source=(https://hackage.haskell.org/package/${_hkgname}-${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-md5sums=('1868eaf39e616176d898bcd5510e1f09')
+sha512sums=('a701c62266f9f3c6dc60eba970b6c25a61bf82b6b8bb6b0073e0e44908598926fe7813a7ae1b1f9da98e4861a8f0565d0bd025cb97307b71c08cb9b0b2e321bb')
 
 prepare() {
     sed -i 's/base       >= 4.7 && < 4.9/base       >= 4.7/' 
${_hkgname}-${pkgver}/${_hkgname}.cabal
@@ -20,7 +20,7 @@
 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 \
             -f-debug
@@ -39,7 +39,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
 }

Reply via email to