[arch-commits] Commit in haskell-dav/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Jun 16 17:34:03 UTC 2017
Date: Friday, June 16, 2017 @ 17:34:02
Author: felixonmars
Revision: 237765
upgpkg: haskell-dav 1.3.1-114
rebuild with ghc,8.0.2
Modified:
haskell-dav/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-16 17:31:06 UTC (rev 237764)
+++ PKGBUILD 2017-06-16 17:34:02 UTC (rev 237765)
@@ -5,12 +5,12 @@
_hkgname=DAV
pkgname=haskell-dav
pkgver=1.3.1
-pkgrel=113
+pkgrel=114
pkgdesc="RFC 4918 WebDAV support"
url="http://floss.scru.org/hDAV"
license=("GPL3")
arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-case-insensitive" "haskell-data-default" "haskell-exceptions"
+depends=("ghc" "haskell-case-insensitive" "haskell-data-default" "haskell-exceptions"
"haskell-haskeline" "haskell-http-client" "haskell-http-client-tls" "haskell-http-types"
"haskell-lens" "haskell-mtl" "haskell-network" "haskell-network-uri"
"haskell-optparse-applicative" "haskell-transformers-base" "haskell-transformers-compat"
@@ -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 \
-fnetwork-uri -f-mtl-compat
@@ -43,4 +43,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