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

Felix Yan felixonmars at archlinux.org
Fri Sep 22 14:30:02 UTC 2017


    Date: Friday, September 22, 2017 @ 14:30:01
  Author: felixonmars
Revision: 259502

upgpkg: haskell-old-locale 1.0.0.7-11

Modified:
  haskell-old-locale/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-22 14:29:38 UTC (rev 259501)
+++ PKGBUILD	2017-09-22 14:30:01 UTC (rev 259502)
@@ -3,7 +3,7 @@
 _hkgname=old-locale
 pkgname=haskell-old-locale
 pkgver=1.0.0.7
-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')
 makedepends=('ghc')
 source=(https://hackage.haskell.org/package/${_hkgname}-${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-md5sums=('507bd2d3ce2407403e2a2d1136c3d149')
+sha512sums=('34d018cb040de9adce3ddb8cffabe2a0610f6cd0ff5340ee721b7076671bd5cc3e830f58d16e73240df4b068510f7a24fd1995efc38f002b52d228abc4581d6a')
 
 prepare() {
     sed -i 's/base >= 4.2 && < 4.9/base >= 4.2/' ${_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
     runhaskell Setup build
@@ -38,7 +38,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