Date: Saturday, September 23, 2017 @ 14:33:37 Author: felixonmars Revision: 259932
upgpkg: haskell-postgresql-libpq 0.9.3.1-4 Modified: haskell-postgresql-libpq/trunk/PKGBUILD ----------+ PKGBUILD | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-09-23 14:33:05 UTC (rev 259931) +++ PKGBUILD 2017-09-23 14:33:37 UTC (rev 259932) @@ -5,9 +5,9 @@ _hkgname=postgresql-libpq pkgname=haskell-postgresql-libpq pkgver=0.9.3.1 -pkgrel=3 +pkgrel=4 pkgdesc="Low-level binding to libpq" -url="http://github.com/lpsmith/postgresql-libpq" +url="https://github.com/lpsmith/postgresql-libpq" license=("custom:BSD3") arch=('i686' 'x86_64') depends=('ghc-libs' "postgresql-libs") @@ -18,7 +18,7 @@ build() { cd "${srcdir}/${_hkgname}-${pkgver}" - runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \ + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ -f-use-pkg-config @@ -37,7 +37,4 @@ 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 }