Date: Sunday, June 18, 2017 @ 03:14:58 Author: felixonmars Revision: 238007
upgpkg: haskell-xcffib 0.5.1-26 rebuild with ghc,8.0.2 Modified: haskell-xcffib/trunk/PKGBUILD ----------+ PKGBUILD | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-18 03:02:34 UTC (rev 238006) +++ PKGBUILD 2017-06-18 03:14:58 UTC (rev 238007) @@ -4,14 +4,14 @@ _hkgname=xcffib pkgname=haskell-xcffib pkgver=0.5.1 -pkgrel=25 +pkgrel=26 pkgdesc="A cffi-based python binding for X" url="http://github.com/tych0/xcffib" license=('Apache') arch=('i686' 'x86_64') -depends=('ghc=8.0.1' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' - 'haskell-language-python' 'haskell-mtl' 'haskell-optparse-applicative' 'haskell-semigroups' - 'haskell-split' 'haskell-xcb-types') +depends=('ghc' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 'haskell-language-python' + 'haskell-mtl' 'haskell-optparse-applicative' 'haskell-semigroups' 'haskell-split' + 'haskell-xcb-types') source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") md5sums=('c4d954462b3636cbd7e61809250e74fb') @@ -18,7 +18,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 @@ -39,4 +39,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 }
