[arch-commits] Commit in haskell-http/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Jun 6 06:29:13 UTC 2018
Date: Wednesday, June 6, 2018 @ 06:29:13
Author: felixonmars
Revision: 340852
upgpkg: haskell-http 4000.3.11-38
rebuild with network 2.7.0.0
Modified:
haskell-http/trunk/PKGBUILD
----------+
PKGBUILD | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-06-06 06:28:45 UTC (rev 340851)
+++ PKGBUILD 2018-06-06 06:29:13 UTC (rev 340852)
@@ -5,7 +5,7 @@
_hkgname=HTTP
pkgname=haskell-http
pkgver=4000.3.11
-pkgrel=37
+pkgrel=38
pkgdesc="A library for client-side HTTP"
url="https://hackage.haskell.org/package/${_hkgname}"
license=('custom:BSD3')
@@ -18,8 +18,13 @@
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
sha512sums=('3c8624fd92f6fa16f128c7d7e4614fba0f95b31714c0dd6ca3e564bb9c3295ec34a952eca91d642b5c46470923ba506ec8234bbb6a67593a00f4c8b50e97aac9')
+prepare() {
+ cd $_hkgname-$pkgver
+ sed -i 's/network == 2.6/network == 2.7/' $_hkgname.cabal
+}
+
build() {
- cd "${srcdir}/${_hkgname}-${pkgver}"
+ cd $_hkgname-$pkgver
runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
@@ -38,7 +43,7 @@
}
package() {
- cd "${srcdir}/${_hkgname}-${pkgver}"
+ cd $_hkgname-$pkgver
install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
More information about the arch-commits
mailing list