[arch-commits] Commit in haskell-errors/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Jun 16 07:46:51 UTC 2017
Date: Friday, June 16, 2017 @ 07:46:46
Author: felixonmars
Revision: 237527
upgpkg: haskell-errors 2.1.3-6
rebuild with ghc,8.0.2
Modified:
haskell-errors/trunk/PKGBUILD
----------+
PKGBUILD | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-16 07:45:02 UTC (rev 237526)
+++ PKGBUILD 2017-06-16 07:46:46 UTC (rev 237527)
@@ -5,13 +5,12 @@
_hkgname=errors
pkgname=haskell-errors
pkgver=2.1.3
-pkgrel=5
+pkgrel=6
pkgdesc="Simplified error-handling"
url="https://hackage.haskell.org/package/${_hkgname}"
license=("custom:BSD3")
arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-safe" "haskell-transformers-compat"
- "haskell-unexceptionalio")
+depends=("ghc" "haskell-safe" "haskell-transformers-compat" "haskell-unexceptionalio")
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
sha256sums=('201a1d9d2fba16dff734eb79e07f138718ed62f5a0a846cf0cee743828844df1')
@@ -18,7 +17,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
@@ -39,4 +38,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