[arch-commits] Commit in haskell-microlens-aeson/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Jun 18 12:18:08 UTC 2017
Date: Sunday, June 18, 2017 @ 12:18:07
Author: felixonmars
Revision: 238062
upgpkg: haskell-microlens-aeson 2.2.0.1-7
rebuild with ghc,8.0.2
Modified:
haskell-microlens-aeson/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-18 12:16:33 UTC (rev 238061)
+++ PKGBUILD 2017-06-18 12:18:07 UTC (rev 238062)
@@ -4,12 +4,12 @@
_hkgname=microlens-aeson
pkgname=haskell-microlens-aeson
pkgver=2.2.0.1
-pkgrel=6
+pkgrel=7
pkgdesc="Law-abiding lenses for Aeson, using microlens"
url="http://github.com/fosskers/microlens-aeson/"
license=('MIT')
arch=('i686' 'x86_64')
-depends=('ghc=8.0.1' 'haskell-aeson' 'haskell-attoparsec' 'haskell-microlens' 'haskell-scientific'
+depends=('ghc' 'haskell-aeson' 'haskell-attoparsec' 'haskell-microlens' 'haskell-scientific'
'haskell-text' 'haskell-unordered-containers' 'haskell-vector')
source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
sha512sums=('a62398c2d8b3e55d8e054d437b110094cb73cb9ba22fe96bbe9c272c039b9991858a64ca92c407c73ec6ef2ff46664ed1d98b3417126ab5ef89ba368d0aaec46')
@@ -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