[arch-commits] Commit in haskell-haddock-library/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Jun 15 17:44:53 UTC 2017
Date: Thursday, June 15, 2017 @ 17:44:51
Author: felixonmars
Revision: 237313
upgpkg: haskell-haddock-library 1.4.3-2
rebuild with ghc,8.0.2
Modified:
haskell-haddock-library/trunk/PKGBUILD
----------+
PKGBUILD | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-15 17:40:51 UTC (rev 237312)
+++ PKGBUILD 2017-06-15 17:44:51 UTC (rev 237313)
@@ -3,21 +3,21 @@
pkgname=haskell-haddock-library
pkgver=1.4.3
-pkgrel=1
+pkgrel=2
pkgdesc="A documentation-generation tool for Haskell libraries"
url="https://www.haskell.org/haddock/"
-license=("BSD3")
+license=("custom:BSD3")
arch=('i686' 'x86_64')
-depends=("ghc=8.0.1")
+depends=("ghc")
source=("https://hackage.haskell.org/packages/archive/haddock-library/${pkgver}/haddock-library-${pkgver}.tar.gz")
sha512sums=('33cd93c76f005567c88d913ce80fd3f0f3af0227bf3e2986eb59f9ec25168c6dc4dcff54a876c7148c20cb25e072c7d920245609cc7384dc22e1cc0b502c61c9')
build() {
cd "${srcdir}/haddock-library-${pkgver}"
-
- runhaskell Setup configure -O -p --enable-split-objs --enable-shared \
- --prefix=/usr --docdir=/usr/share/doc/$pkgname \
- --libsubdir=\$compiler/site-local/\$pkgid
+
+ runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+ --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+ --libsubdir=\$compiler/site-local/\$pkgid
runhaskell Setup build
runhaskell Setup haddock --hoogle --html
runhaskell Setup register --gen-script
@@ -36,4 +36,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