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

Felix Yan felixonmars at archlinux.org
Thu Jun 24 09:04:36 UTC 2021


    Date: Thursday, June 24, 2021 @ 09:04:36
  Author: felixonmars
Revision: 967184

upgpkg: haskell-lumberjack 1.0.0.0-2: rebuild with ghc 9.0.1

Modified:
  haskell-lumberjack/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-24 08:09:59 UTC (rev 967183)
+++ PKGBUILD	2021-06-24 09:04:36 UTC (rev 967184)
@@ -3,7 +3,7 @@
 _hkgname=lumberjack
 pkgname=haskell-lumberjack
 pkgver=1.0.0.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Trek through your code forest and make logs"
 url="https://github.com/GaloisInc/lumberjack"
 license=("custom:ISC")
@@ -14,6 +14,12 @@
 source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
 sha256sums=('d1d584de9548a1cc04ffc1a8345ce561f2df123e6de339ba6b20606635167bab')
 
+prepare() {
+  cd $_hkgname-$pkgver
+  # https://github.com/GaloisInc/lumberjack/issues/2
+  sed -i 's/adjustLogAction = local/adjustLogAction x = local x/' example/ExampleLog.hs
+}
+
 build() {
   cd $_hkgname-$pkgver
 




More information about the arch-commits mailing list