[arch-commits] Commit in haskell-lifted-base/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Jun 14 20:08:36 UTC 2017
Date: Wednesday, June 14, 2017 @ 20:08:35
Author: felixonmars
Revision: 236863
upgpkg: haskell-lifted-base 0.2.3.11-3
rebuild with ghc,8.0.2
Modified:
haskell-lifted-base/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-14 20:07:14 UTC (rev 236862)
+++ PKGBUILD 2017-06-14 20:08:35 UTC (rev 236863)
@@ -5,12 +5,12 @@
_hkgname=lifted-base
pkgname=haskell-lifted-base
pkgver=0.2.3.11
-pkgrel=2
+pkgrel=3
pkgdesc="lifted IO operations from the base library"
url="https://github.com/basvandijk/lifted-base"
license=("custom:BSD3")
arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-monad-control" "haskell-transformers-base")
+depends=("ghc" "haskell-monad-control" "haskell-transformers-base")
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
sha512sums=('291dd44dd64f0fa20dca5c5bdce6e97eb94f42ff5a02e4efbde02f07448a04c9cf8f652fbb59d14981eaa22bfc41c5bc5755f99d075dea802531232356b91a21')
@@ -17,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
@@ -38,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