[arch-commits] Commit in haskell-retry/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Jun 16 09:39:05 UTC 2017
Date: Friday, June 16, 2017 @ 09:39:04
Author: felixonmars
Revision: 237589
upgpkg: haskell-retry 0.7.4.2-2
rebuild with ghc,8.0.2
Modified:
haskell-retry/trunk/PKGBUILD
----------+
PKGBUILD | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-16 09:36:44 UTC (rev 237588)
+++ PKGBUILD 2017-06-16 09:39:04 UTC (rev 237589)
@@ -5,13 +5,12 @@
_hkgname=retry
pkgname=haskell-retry
pkgver=0.7.4.2
-pkgrel=1
+pkgrel=2
pkgdesc="Retry combinators for monadic actions that may fail"
url="http://github.com/Soostone/retry"
license=("custom:BSD3")
arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-data-default-class" "haskell-exceptions"
- "haskell-random")
+depends=("ghc" "haskell-data-default-class" "haskell-exceptions" "haskell-random")
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
sha256sums=('521b392570b37b17ac8aaea2586a0a16a578f56b9cd0bbf69813b35f7ed2b47c')
@@ -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