Date: Saturday, June 17, 2017 @ 14:20:35 Author: felixonmars Revision: 237886
upgpkg: haskell-heredoc 0.2.0.0-2 rebuild with ghc,8.0.2 Modified: haskell-heredoc/trunk/PKGBUILD ----------+ PKGBUILD | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-17 14:19:02 UTC (rev 237885) +++ PKGBUILD 2017-06-17 14:20:35 UTC (rev 237886) @@ -4,12 +4,12 @@ _hkgname=heredoc pkgname=haskell-heredoc pkgver=0.2.0.0 -pkgrel=1 +pkgrel=2 pkgdesc="Multi-line string / here document using QuasiQuotes" -url="http://hackage.haskell.org/package/heredoc" +url="https://hackage.haskell.org/package/heredoc" license=('custom:PublicDomain') arch=('i686' 'x86_64') -depends=('ghc=8.0.1') +depends=('ghc') source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") md5sums=('7cb70d3aa076c8a51beafcfda8584b72') @@ -16,7 +16,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 @@ -37,4 +37,7 @@ runhaskell Setup copy --destdir="${pkgdir}" install -D -m644 "LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt" rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.txt" + + # Remove static libs + find "$pkgdir"/usr/lib -name "*.a" -delete }
