Date: Thursday, June 15, 2017 @ 16:15:32 Author: felixonmars Revision: 237220
upgpkg: haskell-polyparse 1.12-4 rebuild with ghc,8.0.2 Modified: haskell-polyparse/trunk/PKGBUILD ----------+ PKGBUILD | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-15 16:13:46 UTC (rev 237219) +++ PKGBUILD 2017-06-15 16:15:32 UTC (rev 237220) @@ -5,12 +5,12 @@ _hkgname=polyparse pkgname=haskell-polyparse pkgver=1.12 -pkgrel=3 +pkgrel=4 pkgdesc="A variety of alternative parser combinator libraries." url="http://code.haskell.org/~malcolm/polyparse/" license=("LGPL") arch=('i686' 'x86_64') -depends=("ghc=8.0.1" "haskell-text") +depends=("ghc" "haskell-text") source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") sha256sums=('f54c63584ace968381de4a06bd7328b6adc3e1a74fd336e18449e0dd7650be15') @@ -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 "COPYRIGHT" "${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT" rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYRIGHT" + + # Remove static libs + find "$pkgdir"/usr/lib -name "*.a" -delete }
