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

Felix Yan felixonmars at archlinux.org
Sat Sep 23 14:26:20 UTC 2017


    Date: Saturday, September 23, 2017 @ 14:26:19
  Author: felixonmars
Revision: 259920

upgpkg: haskell-hjsmin 0.2.0.2-15

Modified:
  haskell-hjsmin/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-23 14:26:00 UTC (rev 259919)
+++ PKGBUILD	2017-09-23 14:26:19 UTC (rev 259920)
@@ -5,9 +5,9 @@
 _hkgname=hjsmin
 pkgname=haskell-hjsmin
 pkgver=0.2.0.2
-pkgrel=14
+pkgrel=15
 pkgdesc="Haskell implementation of a javascript minifier"
-url="http://github.com/erikd/hjsmin"
+url="https://github.com/erikd/hjsmin"
 license=("custom:BSD3")
 arch=('i686' 'x86_64')
 depends=('ghc-libs' "haskell-blaze-builder" "haskell-language-javascript"
@@ -14,12 +14,12 @@
          "haskell-optparse-applicative" "haskell-text")
 makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha256sums=('bec153d2396962c63998eb12d0a2c7c9f7df6f774cb00e41b6cdb1f5a4905484')
+sha512sums=('ffd67972cef49b5026995e9852e603035513e18089df9f77c35ec084ee3487904018aea018a08408ab53f441aa5200efdd7f5a28191cd814c5e2fc91c2552902')
 
 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
@@ -37,7 +37,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