Date: Thursday, June 15, 2017 @ 16:29:14 Author: felixonmars Revision: 237236
upgpkg: haskell-utf8-string 1.0.1.1-3 rebuild with ghc,8.0.2 Modified: haskell-utf8-string/trunk/PKGBUILD ----------+ PKGBUILD | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-15 16:27:55 UTC (rev 237235) +++ PKGBUILD 2017-06-15 16:29:14 UTC (rev 237236) @@ -6,12 +6,12 @@ _hkgname=utf8-string pkgname=haskell-utf8-string pkgver=1.0.1.1 -pkgrel=2 +pkgrel=3 pkgdesc="Support for reading and writing UTF8 Strings" -url="http://hackage.haskell.org/package/${_hkgname}" +url="https://hackage.haskell.org/package/${_hkgname}" license=('custom:BSD3') arch=('i686' 'x86_64') -depends=('ghc=8.0.1' 'sh') +depends=('ghc' 'sh') source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) md5sums=('fe24e26bd4b09731af66ef27b18b5177') @@ -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 }
