Date: Friday, June 16, 2017 @ 14:57:44 Author: felixonmars Revision: 237673
upgpkg: haskell-network-protocol-xmpp 0.4.8-9 rebuild with ghc,8.0.2 Modified: haskell-network-protocol-xmpp/trunk/PKGBUILD ----------+ PKGBUILD | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-16 14:56:10 UTC (rev 237672) +++ PKGBUILD 2017-06-16 14:57:44 UTC (rev 237673) @@ -5,14 +5,13 @@ _hkgname=network-protocol-xmpp pkgname=haskell-network-protocol-xmpp pkgver=0.4.8 -pkgrel=8 +pkgrel=9 pkgdesc="Client library for the XMPP protocol." url="https://john-millikin.com/software/haskell-xmpp/" license=("GPL3") arch=('i686' 'x86_64') -depends=("ghc=8.0.1" "haskell-gnuidn" "haskell-gnutls" "haskell-gsasl" - "haskell-libxml-sax" "haskell-monads-tf" "haskell-network" - "haskell-text" "haskell-xml-types") +depends=("ghc" "haskell-gnuidn" "haskell-gnutls" "haskell-gsasl" "haskell-libxml-sax" + "haskell-monads-tf" "haskell-network" "haskell-text" "haskell-xml-types") source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") sha256sums=('ea7729e00452da11ed489a71f482e0aa082b0fb872eedca2e3722a05fd421e1e') @@ -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 }
