[arch-commits] Commit in haskell-graphviz/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Jun 16 14:16:10 UTC 2017
Date: Friday, June 16, 2017 @ 14:16:09
Author: felixonmars
Revision: 237641
upgpkg: haskell-graphviz 2999.18.1.2-11
rebuild with ghc,8.0.2
Modified:
haskell-graphviz/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-16 14:10:08 UTC (rev 237640)
+++ PKGBUILD 2017-06-16 14:16:09 UTC (rev 237641)
@@ -5,12 +5,12 @@
_hkgname=graphviz
pkgname=haskell-graphviz
pkgver=2999.18.1.2
-pkgrel=10
+pkgrel=11
pkgdesc="Bindings to Graphviz for graph visualisation."
url="https://hackage.haskell.org/package/${_hkgname}"
license=("custom:BSD3")
arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-colour" "haskell-dlist" "haskell-fgl" "haskell-polyparse"
+depends=("ghc" "haskell-colour" "haskell-dlist" "haskell-fgl" "haskell-polyparse"
"haskell-temporary" "haskell-text" "haskell-wl-pprint-text")
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
sha256sums=('b08c2026d3810c15f6ad49a07fd7b879978d958fa477b369b719ec00741c85fc')
@@ -18,7 +18,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-test-parsing
@@ -40,4 +40,7 @@
runhaskell Setup copy --destdir="${pkgdir}"
install -D -m644 "LICENSE.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+
+ # Remove static libs
+ find "$pkgdir"/usr/lib -name "*.a" -delete
}
More information about the arch-commits
mailing list