[arch-commits] Commit in haskell-keys/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Jun 16 15:13:25 UTC 2017
Date: Friday, June 16, 2017 @ 15:13:25
Author: felixonmars
Revision: 237687
upgpkg: haskell-keys 3.11-35
rebuild with ghc,8.0.2
Modified:
haskell-keys/trunk/PKGBUILD
----------+
PKGBUILD | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-16 15:11:42 UTC (rev 237686)
+++ PKGBUILD 2017-06-16 15:13:25 UTC (rev 237687)
@@ -5,14 +5,13 @@
_hkgname=keys
pkgname=haskell-keys
pkgver=3.11
-pkgrel=34
+pkgrel=35
pkgdesc="Keyed functors and containers"
url="http://github.com/ekmett/keys/"
license=("custom:BSD3")
arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-comonad" "haskell-free" "haskell-hashable"
- "haskell-semigroupoids" "haskell-semigroups" "haskell-transformers-compat"
- "haskell-unordered-containers")
+depends=("ghc" "haskell-comonad" "haskell-free" "haskell-hashable" "haskell-semigroupoids"
+ "haskell-semigroups" "haskell-transformers-compat" "haskell-unordered-containers")
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
sha256sums=('0cf397b7e6eb8cda930a02118c0bf262f9ef80c5a2f91822238b7778042cc4b2')
@@ -19,7 +18,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
@@ -40,4 +39,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