[arch-commits] Commit in haskell-monad-logger/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Jun 15 06:15:11 UTC 2017
Date: Thursday, June 15, 2017 @ 06:15:10
Author: felixonmars
Revision: 237073
upgpkg: haskell-monad-logger 0.3.24-13
rebuild with ghc,8.0.2
Modified:
haskell-monad-logger/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-15 06:12:53 UTC (rev 237072)
+++ PKGBUILD 2017-06-15 06:15:10 UTC (rev 237073)
@@ -5,16 +5,15 @@
_hkgname=monad-logger
pkgname=haskell-monad-logger
pkgver=0.3.24
-pkgrel=12
+pkgrel=13
pkgdesc="A class of monads which can log messages."
url="https://github.com/kazu-yamamoto/logger"
license=("MIT")
arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-blaze-builder" "haskell-conduit" "haskell-conduit-extra"
- "haskell-exceptions" "haskell-fast-logger" "haskell-lifted-base"
- "haskell-monad-control" "haskell-monad-loops" "haskell-mtl" "haskell-resourcet"
- "haskell-stm" "haskell-stm-chans" "haskell-text" "haskell-transformers-base"
- "haskell-transformers-compat")
+depends=("ghc" "haskell-blaze-builder" "haskell-conduit" "haskell-conduit-extra"
+ "haskell-exceptions" "haskell-fast-logger" "haskell-lifted-base" "haskell-monad-control"
+ "haskell-monad-loops" "haskell-mtl" "haskell-resourcet" "haskell-stm" "haskell-stm-chans"
+ "haskell-text" "haskell-transformers-base" "haskell-transformers-compat")
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
sha512sums=('a2c7b69369c84de1db6f4377bb4f01ba9844c4d4b8d6d36395282fe1339d8c0d3800066076cd95c9ca623c55358228d9113a6367a675ba7f838e0770d14aaf9b')
@@ -21,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 \
-ftemplate_haskell
@@ -43,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