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

Felix Yan felixonmars at gemini.archlinux.org
Fri Nov 5 12:13:42 UTC 2021


    Date: Friday, November 5, 2021 @ 12:13:42
  Author: felixonmars
Revision: 1037203

upgpkg: hledger 1.22.2-33: rebuild with megaparsec 9.2.0

Modified:
  hledger/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-05 12:05:21 UTC (rev 1037202)
+++ PKGBUILD	2021-11-05 12:13:42 UTC (rev 1037203)
@@ -3,7 +3,7 @@
 
 pkgname=hledger
 pkgver=1.22.2
-pkgrel=32
+pkgrel=33
 pkgdesc="Command-line interface for the hledger accounting system"
 url="http://hledger.org"
 license=("GPL")
@@ -15,10 +15,15 @@
          'haskell-safe' 'haskell-shakespeare' 'haskell-split' 'haskell-tabular' 'haskell-tasty'
          'haskell-temporary' 'haskell-unordered-containers' 'haskell-utf8-string'
          'haskell-utility-ht' 'haskell-wizards')
-makedepends=('ghc' 'haskell-extra' 'haskell-timeit')
+makedepends=('ghc' 'uusi' 'haskell-extra' 'haskell-timeit')
 source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
 sha512sums=('dc60c6f4ac7e9934ccb09293c447cb7af0f91f8ebae32233046d07e2e1358da5b6c7e8281d34e2a093e7ed2ad937d816ae731bfdde0c40b8a23cbdae0a0e9a52')
 
+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