[arch-commits] Commit in hledger-web/trunk (PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Fri Nov 5 17:00:48 UTC 2021


    Date: Friday, November 5, 2021 @ 17:00:48
  Author: felixonmars
Revision: 1037223

upgpkg: hledger-web 1.22.2-43: rebuild with megaparsec 9.2.0

Modified:
  hledger-web/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-05 16:18:53 UTC (rev 1037222)
+++ PKGBUILD	2021-11-05 17:00:48 UTC (rev 1037223)
@@ -3,7 +3,7 @@
 
 pkgname=hledger-web
 pkgver=1.22.2
-pkgrel=42
+pkgrel=43
 pkgdesc="Web-based user interface for the hledger accounting system"
 url="http://hledger.org"
 license=("GPL")
@@ -17,11 +17,16 @@
          'haskell-utf8-string' 'haskell-wai' 'haskell-wai-cors' 'haskell-wai-extra'
          'haskell-wai-handler-launch' 'haskell-warp' 'haskell-yesod' 'haskell-yesod-core'
          'haskell-yesod-form' 'haskell-yesod-static' 'haskell-yesod-test')
-makedepends=('ghc')
+makedepends=('ghc' 'uusi')
 replaces=('hledger-api')
 source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
 sha512sums=('48fed07556b4756c12ff303362e3ad042da00b34b59835d447f8a97dc6d63996a823613ccff0059fea33f58d3fed43546b0e6c13345e5c9936a48305e64369ca')
 
+prepare() {
+    cd $pkgname-$pkgver
+    uusi -u megaparsec $pkgname.cabal
+}
+
 build() {
     cd $pkgname-$pkgver
     runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \



More information about the arch-commits mailing list