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

Felix Yan felixonmars at gemini.archlinux.org
Thu Jun 9 20:40:29 UTC 2022


    Date: Thursday, June 9, 2022 @ 20:40:29
  Author: felixonmars
Revision: 1229809

upgpkg: haskell-turtle 1.5.25-16: rebuild with unix-compat 0.6

Modified:
  haskell-turtle/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-09 20:39:45 UTC (rev 1229808)
+++ PKGBUILD	2022-06-09 20:40:29 UTC (rev 1229809)
@@ -4,7 +4,7 @@
 _hkgname=turtle
 pkgname=haskell-turtle
 pkgver=1.5.25
-pkgrel=15
+pkgrel=16
 pkgdesc="Shell programming, Haskell-style"
 url="https://github.com/Gabriel439/Haskell-Turtle-Library"
 license=('BSD')
@@ -13,12 +13,14 @@
          'haskell-foldl' 'haskell-hostname' 'haskell-managed' 'haskell-optparse-applicative'
          'haskell-optional-args' 'haskell-streaming-commons' 'haskell-system-fileio'
          'haskell-system-filepath' 'haskell-temporary' 'haskell-unix-compat')
-makedepends=('ghc' 'haskell-doctest')
+makedepends=('ghc' 'uusi' 'haskell-doctest')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('e29fd8ff1e75ef2678d0cbb93e0593481e842481846c2b8dfec2fbf756b945d60b275190f5ac32381ec76c1129179ae8dbe054b838ff8dd3bba7f9d210e0259c')
 
 prepare() {
-    sed -i 's/]/, "-dynamic"]/' $_hkgname-$pkgver/test/Main.hs
+    cd $_hkgname-$pkgver
+    sed -i 's/]/, "-dynamic"]/' test/Main.hs
+    uusi -u unix-compat $_hkgname.cabal
 }
 
 build() {



More information about the arch-commits mailing list