[arch-commits] Commit in haskell-wai/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Jun 15 04:32:17 UTC 2017
Date: Thursday, June 15, 2017 @ 04:32:16
Author: felixonmars
Revision: 236980
upgpkg: haskell-wai 3.2.1.1-17
rebuild with ghc,8.0.2
Modified:
haskell-wai/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-15 04:30:21 UTC (rev 236979)
+++ PKGBUILD 2017-06-15 04:32:16 UTC (rev 236980)
@@ -5,13 +5,13 @@
_hkgname=wai
pkgname=haskell-wai
pkgver=3.2.1.1
-pkgrel=16
+pkgrel=17
pkgdesc="Web Application Interface."
url="https://github.com/yesodweb/wai"
license=("MIT")
arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-blaze-builder" "haskell-http-types" "haskell-network"
- "haskell-text" "haskell-vault")
+depends=("ghc" "haskell-blaze-builder" "haskell-http-types" "haskell-network" "haskell-text"
+ "haskell-vault")
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
sha256sums=('5d80a68f5d8806682d8267b7dacc383d094e3ef7ecd705f20e42c91cad564e21')
@@ -22,7 +22,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
@@ -43,4 +43,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