Date: Friday, June 16, 2017 @ 15:51:03 Author: felixonmars Revision: 237715
upgpkg: haskell-dns 2.0.10-33 rebuild with ghc,8.0.2 Modified: haskell-dns/trunk/PKGBUILD ----------+ PKGBUILD | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-16 15:49:09 UTC (rev 237714) +++ PKGBUILD 2017-06-16 15:51:03 UTC (rev 237715) @@ -5,14 +5,13 @@ _hkgname=dns pkgname=haskell-dns pkgver=2.0.10 -pkgrel=32 +pkgrel=33 pkgdesc="DNS library in Haskell" url="https://hackage.haskell.org/package/${_hkgname}" license=("custom:BSD3") arch=('i686' 'x86_64') -depends=("ghc=8.0.1" "haskell-attoparsec" "haskell-conduit" "haskell-conduit-extra" - "haskell-iproute" "haskell-mtl" "haskell-network" "haskell-random" "haskell-resourcet" - "haskell-safe") +depends=("ghc" "haskell-attoparsec" "haskell-conduit" "haskell-conduit-extra" "haskell-iproute" + "haskell-mtl" "haskell-network" "haskell-random" "haskell-resourcet" "haskell-safe") source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") sha256sums=('ba03bc8fe25b58fd066588569eb5707a245cb098181e2d5cca72c239849aa6a3') @@ -23,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 @@ -44,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 }
