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

Felix Yan felixonmars at archlinux.org
Fri Apr 23 17:19:09 UTC 2021


    Date: Friday, April 23, 2021 @ 17:19:09
  Author: felixonmars
Revision: 923203

upgpkg: hledger-web 1.21-25: rebuild with yesod-form 1.7.0

Modified:
  hledger-web/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-04-23 17:15:58 UTC (rev 923202)
+++ PKGBUILD	2021-04-23 17:19:09 UTC (rev 923203)
@@ -3,7 +3,7 @@
 
 pkgname=hledger-web
 pkgver=1.21
-pkgrel=24
+pkgrel=25
 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=('69080f22c9f8af8a3130b42f26cb3a676dde5df93a87beb7dd2f45e789d0243cd57627d68e75c7be40c838c29abfe8b606c23f432dd7469e214f97ae2bdbaf9c')
 
+prepare() {
+    cd $pkgname-$pkgver
+    uusi -u yesod-form $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