[arch-commits] Commit in hledger/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Jun 25 03:33:29 UTC 2021
Date: Friday, June 25, 2021 @ 03:33:29
Author: felixonmars
Revision: 967333
upgpkg: hledger 1.21-31: rebuild with ghc 9.0.1
Modified:
hledger/trunk/PKGBUILD
----------+
PKGBUILD | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-06-25 03:31:56 UTC (rev 967332)
+++ PKGBUILD 2021-06-25 03:33:29 UTC (rev 967333)
@@ -3,7 +3,7 @@
pkgname=hledger
pkgver=1.21
-pkgrel=30
+pkgrel=31
pkgdesc="Command-line interface for the hledger accounting system"
url="http://hledger.org"
license=("GPL")
@@ -15,10 +15,18 @@
'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')
-source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('4ae5e9dc0160759f85b5c9d9ae4d4faeb2a63a41dd5376e658ac6fa13ff2b72b5e808ed0d52ed50d83e9bade3ce8839c23aabbbf6baccf236b579b07898dd3ba')
+makedepends=('ghc' 'uusi' 'haskell-extra' 'haskell-timeit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz"
+ $pkgname-ghc9.patch::https://github.com/simonmichael/hledger/commit/c83970422cbe50911fe713e8ab2d7d0606d1069a.patch)
+sha512sums=('4ae5e9dc0160759f85b5c9d9ae4d4faeb2a63a41dd5376e658ac6fa13ff2b72b5e808ed0d52ed50d83e9bade3ce8839c23aabbbf6baccf236b579b07898dd3ba'
+ 'afd5d6acb727c732890a5fd6752924f083f243cb1dbd5d47f3fbab357941c1c4b5def0d99bfdc5a2c2f5656c4feab48fea7766a3b049d1728dd8123553511355')
+prepare() {
+ cd $pkgname-$pkgver
+ patch -p2 -i ../$pkgname-ghc9.patch
+ uusi -u base $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