[arch-commits] Commit in haskell-either/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Jun 16 08:23:33 UTC 2017
Date: Friday, June 16, 2017 @ 08:23:32
Author: felixonmars
Revision: 237549
upgpkg: haskell-either 4.4.1.1-24
rebuild with ghc,8.0.2
Modified:
haskell-either/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-16 08:22:03 UTC (rev 237548)
+++ PKGBUILD 2017-06-16 08:23:32 UTC (rev 237549)
@@ -5,12 +5,12 @@
_hkgname=either
pkgname=haskell-either
pkgver=4.4.1.1
-pkgrel=23
+pkgrel=24
pkgdesc="An either monad transformer"
url="http://github.com/ekmett/either/"
license=("custom:BSD3")
arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-bifunctors" "haskell-exceptions" "haskell-free"
+depends=("ghc" "haskell-bifunctors" "haskell-exceptions" "haskell-free"
"haskell-mmorph" "haskell-monad-control" "haskell-monadrandom"
"haskell-mtl" "haskell-profunctors" "haskell-semigroupoids"
"haskell-semigroups" "haskell-transformers-base")
@@ -26,7 +26,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
runhaskell Setup build
@@ -47,4 +47,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