Date: Friday, June 16, 2017 @ 05:20:09 Author: felixonmars Revision: 237465
upgpkg: haskell-gsasl 0.3.6-3 rebuild with ghc,8.0.2 Modified: haskell-gsasl/trunk/PKGBUILD ----------+ PKGBUILD | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-16 05:18:53 UTC (rev 237464) +++ PKGBUILD 2017-06-16 05:20:09 UTC (rev 237465) @@ -5,12 +5,12 @@ _hkgname=gsasl pkgname=haskell-gsasl pkgver=0.3.6 -pkgrel=2 +pkgrel=3 pkgdesc="Bindings for GNU libgsasl" url="https://john-millikin.com/software/haskell-gsasl/" license=("GPL3") arch=('i686' 'x86_64') -depends=("ghc=8.0.1" "gsasl") +depends=("ghc" "gsasl") source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") sha256sums=('786036025e5d5649c029c1db23c395e1592c073a58848ae4afe4f2797de1f931') @@ -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 @@ -37,4 +37,7 @@ ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}" runhaskell Setup copy --destdir="${pkgdir}" rm -f "${pkgdir}/usr/share/doc/${pkgname}/license.txt" + + # Remove static libs + find "$pkgdir"/usr/lib -name "*.a" -delete }