[arch-commits] Commit in haskell-hasql/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Jun 16 14:22:41 UTC 2017
Date: Friday, June 16, 2017 @ 14:22:41
Author: felixonmars
Revision: 237645
upgpkg: haskell-hasql 0.19.18-27
rebuild with ghc,8.0.2
Modified:
haskell-hasql/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-16 14:19:35 UTC (rev 237644)
+++ PKGBUILD 2017-06-16 14:22:41 UTC (rev 237645)
@@ -5,12 +5,12 @@
_hkgname=hasql
pkgname=haskell-hasql
pkgver=0.19.18
-pkgrel=26
+pkgrel=27
pkgdesc="An efficient PostgreSQL driver and a flexible mapping API"
url="https://github.com/nikita-volkov/hasql"
license=('MIT')
arch=('i686' 'x86_64')
-depends=('ghc=8.0.1' 'haskell-attoparsec' 'haskell-base-prelude' 'haskell-bytestring-strict-builder'
+depends=('ghc' 'haskell-attoparsec' 'haskell-base-prelude' 'haskell-bytestring-strict-builder'
'haskell-contravariant' 'haskell-contravariant-extras' 'haskell-data-default-class'
'haskell-dlist' 'haskell-either' 'haskell-hashable' 'haskell-hashtables' 'haskell-loch-th'
'haskell-mtl' 'haskell-placeholders' 'haskell-postgresql-binary' 'haskell-postgresql-libpq'
@@ -21,7 +21,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
@@ -42,4 +42,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
}
More information about the arch-commits
mailing list