[arch-commits] Commit in haskell-shelly/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Feb 20 13:25:54 UTC 2020


    Date: Thursday, February 20, 2020 @ 13:25:53
  Author: felixonmars
Revision: 577263

revert again

Modified:
  haskell-shelly/trunk/PKGBUILD

----------+
 PKGBUILD |   19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-20 13:25:52 UTC (rev 577262)
+++ PKGBUILD	2020-02-20 13:25:53 UTC (rev 577263)
@@ -3,19 +3,28 @@
 
 _hkgname=shelly
 pkgname=haskell-shelly
-pkgver=1.9.0
-pkgrel=1
+pkgver=1.8.1
+pkgrel=87
 pkgdesc="Shell-like (systems) programming in Haskell"
 url="https://github.com/yesodweb/Shelly.hs"
 license=("BSD")
 arch=('x86_64')
-depends=('ghc-libs' 'haskell-unix-compat' 'haskell-monad-control' 'haskell-lifted-base'
+depends=('ghc-libs' 'haskell-unix-compat' 'haskell-system-filepath'
+         'haskell-system-fileio' 'haskell-monad-control' 'haskell-lifted-base'
          '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=('7c1eb25439e08095187746d0101fd92ad56ebb5a706820bad7330667cfc806066d4675c677e5d267440d4af7b517f36449e8f5e75332521780b564edc1586254')
+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