[arch-commits] Commit in haskell-uri-bytestring/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Jun 15 04:18:50 UTC 2017
Date: Thursday, June 15, 2017 @ 04:18:49
Author: felixonmars
Revision: 236968
upgpkg: haskell-uri-bytestring 0.2.3.3-2
rebuild with ghc,8.0.2
Modified:
haskell-uri-bytestring/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-15 04:16:30 UTC (rev 236967)
+++ PKGBUILD 2017-06-15 04:18:49 UTC (rev 236968)
@@ -4,12 +4,12 @@
_hkgname=uri-bytestring
pkgname=haskell-uri-bytestring
pkgver=0.2.3.3
-pkgrel=1
+pkgrel=2
pkgdesc="Haskell URI parsing as ByteStrings"
url="https://github.com/Soostone/uri-bytestring"
license=('custom:BSD3')
arch=('i686' 'x86_64')
-depends=('ghc=8.0.1' 'haskell-attoparsec' 'haskell-blaze-builder' 'haskell-th-lift-instances')
+depends=('ghc' 'haskell-attoparsec' 'haskell-blaze-builder' 'haskell-th-lift-instances')
source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
sha512sums=('eda9ac8ff3698311bf02f2f338d13f6671887c6598710e8784eb37ba6d12cc8e01853ee3355fa08b1e0f9fb5bda3761a3de6141fb40bf6c6efe84f704fa39759')
@@ -16,7 +16,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 \
-f-lib-Werror
@@ -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
}
More information about the arch-commits
mailing list