Date: Sunday, June 18, 2017 @ 03:22:40 Author: felixonmars Revision: 238013
upgpkg: haskell-hasql-transaction 0.5-33 rebuild with ghc,8.0.2 Modified: haskell-hasql-transaction/trunk/PKGBUILD ----------+ PKGBUILD | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-18 03:20:41 UTC (rev 238012) +++ PKGBUILD 2017-06-18 03:22:40 UTC (rev 238013) @@ -4,12 +4,12 @@ _hkgname=hasql-transaction pkgname=haskell-hasql-transaction pkgver=0.5 -pkgrel=32 +pkgrel=33 pkgdesc="A composable abstraction over the retryable transactions for Hasql" url="https://github.com/nikita-volkov/hasql-transaction" license=('MIT') arch=('i686' 'x86_64') -depends=('ghc=8.0.1' 'haskell-base-prelude' 'haskell-bytestring-tree-builder' +depends=('ghc' 'haskell-base-prelude' 'haskell-bytestring-tree-builder' 'haskell-contravariant' 'haskell-contravariant-extras' 'haskell-hasql' 'haskell-mtl') source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") md5sums=('ed40b30813c53012e492e286744c9609') @@ -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 "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 }
