Date: Friday, June 16, 2017 @ 09:00:15 Author: felixonmars Revision: 237561
upgpkg: haskell-dbus 0.10.13-4 rebuild with ghc,8.0.2 Modified: haskell-dbus/trunk/PKGBUILD ----------+ PKGBUILD | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-16 08:56:02 UTC (rev 237560) +++ PKGBUILD 2017-06-16 09:00:15 UTC (rev 237561) @@ -5,14 +5,13 @@ _hkgname=dbus pkgname=haskell-dbus pkgver=0.10.13 -pkgrel=3 +pkgrel=4 pkgdesc="A client library for the D-Bus IPC system" url="https://john-millikin.com/software/haskell-dbus/" license=("GPL3") arch=('i686' 'x86_64') -depends=("ghc=8.0.1" "haskell-cereal" "haskell-libxml-sax" "haskell-network" - "haskell-parsec" "haskell-random" "haskell-text" "haskell-vector" - "haskell-xml-types") +depends=("ghc" "haskell-cereal" "haskell-libxml-sax" "haskell-network" "haskell-parsec" + "haskell-random" "haskell-text" "haskell-vector" "haskell-xml-types") source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") sha512sums=('e3cbb4153cd9df9308d89662b83659e13f07881f4d652c6f02dc6b6768ac1009552a7cfa9c610ededc9b630d26290eec153a9b08b7a3d70b44a6946af3d030ec') @@ -19,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 +38,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 }
