[arch-commits] Commit in haskell-wl-pprint-terminfo/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Jun 16 09:47:53 UTC 2017
Date: Friday, June 16, 2017 @ 09:47:53
Author: felixonmars
Revision: 237595
upgpkg: haskell-wl-pprint-terminfo 3.7.1.4-13
rebuild with ghc,8.0.2
Modified:
haskell-wl-pprint-terminfo/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-16 09:46:27 UTC (rev 237594)
+++ PKGBUILD 2017-06-16 09:47:53 UTC (rev 237595)
@@ -4,12 +4,12 @@
_hkgname=wl-pprint-terminfo
pkgname=haskell-wl-pprint-terminfo
pkgver=3.7.1.4
-pkgrel=12
+pkgrel=13
pkgdesc="A color pretty printer with terminfo support"
url="http://github.com/ekmett/wl-pprint-terminfo/"
license=('custom:BSD3')
arch=('i686' 'x86_64')
-depends=('ghc=8.0.1' 'haskell-semigroups' 'haskell-wl-pprint-extras' 'haskell-text')
+depends=('ghc' 'haskell-semigroups' 'haskell-wl-pprint-extras' 'haskell-text')
source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
md5sums=('df02e2b99aaa7273da33c5fd2956f12b')
@@ -20,7 +20,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 \
-fCursed
@@ -42,4 +42,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