[arch-commits] Commit in haskell-attoparsec-iso8601/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Jun 15 04:52:51 UTC 2017
Date: Thursday, June 15, 2017 @ 04:52:50
Author: felixonmars
Revision: 236998
upgpkg: haskell-attoparsec-iso8601 1.0.0.0-6
rebuild with ghc,8.0.2
Modified:
haskell-attoparsec-iso8601/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-15 04:51:31 UTC (rev 236997)
+++ PKGBUILD 2017-06-15 04:52:50 UTC (rev 236998)
@@ -4,12 +4,12 @@
_hkgname=attoparsec-iso8601
pkgname=haskell-attoparsec-iso8601
pkgver=1.0.0.0
-pkgrel=5
+pkgrel=6
pkgdesc="Parsing of ISO 8601 dates, originally from aeson"
url="https://github.com/bos/aeson"
license=('custom:BSD3')
arch=('i686' 'x86_64')
-depends=('ghc=8.0.1' 'haskell-attoparsec' 'haskell-base-compat' 'haskell-text')
+depends=('ghc' 'haskell-attoparsec' 'haskell-base-compat' 'haskell-text')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
sha512sums=('d4b545204429a73516eefa4ff1f174fb238544ca76258950275f146865873d2ebf00705dfdd16c17897ad3b10516aa2111eaaa27290e33009d033d227fbe6699')
@@ -16,7 +16,7 @@
build() {
cd "${srcdir}/${_hkgname}-${pkgver}"
- runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+ runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
--libsubdir=\$compiler/site-local/\$pkgid \
-f-developer -f-fast
@@ -38,4 +38,7 @@
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