[arch-commits] Commit in haskell-shelly/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Jan 9 17:43:28 UTC 2020
Date: Thursday, January 9, 2020 @ 17:43:28
Author: felixonmars
Revision: 551358
upgpkg: haskell-shelly 1.8.1-78: rebuild with ghc 8.8.1, cabal-doctest 1.0.7, polyparse 1.13, primitive 0.7.0.0, regex-base 0.94.0.0, regex-pcre 0.95.0.0, regex-posix 0.96.0.0, regex-tdfa 1.3.1.0, easytest 0.3, unexceptionalio 0.5.0, gtk2hs-buildtools 0.13.8.0, ghc-typelits-natnormalise 0.7, resolv 0.1.1.3, ghc-typelits-knownnat 0.7.1
Modified:
haskell-shelly/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-01-09 17:43:28 UTC (rev 551357)
+++ PKGBUILD 2020-01-09 17:43:28 UTC (rev 551358)
@@ -4,7 +4,7 @@
_hkgname=shelly
pkgname=haskell-shelly
pkgver=1.8.1
-pkgrel=77
+pkgrel=78
pkgdesc="Shell-like (systems) programming in Haskell"
url="https://github.com/yesodweb/Shelly.hs"
license=("BSD")
@@ -14,9 +14,17 @@
'haskell-lifted-async' 'haskell-exceptions' 'haskell-enclosed-exceptions'
'haskell-async' 'haskell-transformers-base')
makedepends=('ghc' 'haskell-hunit' 'haskell-hspec' 'haskell-hspec-contrib')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('75a6939ed0c395950738d569d2452b55acc373ead0361e97651218ec464816fffa1af5808b7af4d2ea7cd4339c028a4a1bee02f0bfd88fecb73a6888c083d651')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz"
+ shelly-ghc-8.8.patch::https://github.com/gregwebs/Shelly.hs/commit/5093c266200ce4ee61075af310b12f5c9cc7faa6.patch)
+sha512sums=('75a6939ed0c395950738d569d2452b55acc373ead0361e97651218ec464816fffa1af5808b7af4d2ea7cd4339c028a4a1bee02f0bfd88fecb73a6888c083d651'
+ '973a51bc176bb5fd36aad8e34934b84be999b1e74865a9d48277508e618ce698394affaf904edee4f4ac4f21a16b45dd05a22fce5939cca631be97858d44ff5b')
+prepare() {
+ cd $_hkgname-$pkgver
+ patch -p1 -i ../shelly-ghc-8.8.patch
+ sed -i 's/< *1.9/<2/' $_hkgname.cabal
+}
+
build() {
cd $_hkgname-$pkgver
More information about the arch-commits
mailing list