[arch-commits] Commit in haskell-json/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Sep 24 08:41:55 UTC 2017
Date: Sunday, September 24, 2017 @ 08:41:54
Author: felixonmars
Revision: 260393
upgpkg: haskell-json 0.9.1-10
Modified:
haskell-json/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-09-24 08:41:36 UTC (rev 260392)
+++ PKGBUILD 2017-09-24 08:41:54 UTC (rev 260393)
@@ -5,7 +5,7 @@
_hkgname=json
pkgname=haskell-json
pkgver=0.9.1
-pkgrel=9
+pkgrel=10
pkgdesc="Support for serialising Haskell to and from JSON"
url="https://hackage.haskell.org/package/${_hkgname}"
license=("custom:BSD3")
@@ -13,12 +13,12 @@
depends=('ghc-libs' "haskell-mtl" "haskell-syb" "haskell-text")
makedepends=('ghc')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha256sums=('96b57e4d167e45dc80aeff872a922ae9cdb953a1ded29ebbb51019b68f0085a2')
+sha512sums=('537257fed476683d0657c6474e465ca437e43e36b60ab132c0f584cece99a18d222ef9a33171543689ba5589434bc78cf2e0e5ff550804ff8969052d09430d57')
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-mapdict -fgeneric -fpretty -f-parsec -fsplit-base
@@ -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