[arch-commits] Commit in hledger-api/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Oct 4 16:22:42 UTC 2017
Date: Wednesday, October 4, 2017 @ 16:22:42
Author: felixonmars
Revision: 261535
upgpkg: hledger-api 1.4-1
rebuild with hledger,1.4 hledger-api,1.4 hledger-lib,1.4 hledger-ui,1.4 hledger-web,1.4
Modified:
hledger-api/trunk/PKGBUILD
----------+
PKGBUILD | 19 +++++++------------
1 file changed, 7 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-10-04 16:20:17 UTC (rev 261534)
+++ PKGBUILD 2017-10-04 16:22:42 UTC (rev 261535)
@@ -3,25 +3,20 @@
# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
pkgname=hledger-api
-pkgver=1.3.1
-pkgrel=15
+pkgver=1.4
+pkgrel=1
pkgdesc="Web API server for the hledger accounting tool"
url="http://hledger.org"
license=("GPL")
arch=('i686' 'x86_64')
-depends=('ghc-libs' 'hledger' "haskell-hledger-lib" "haskell-aeson" "haskell-decimal" "haskell-docopt"
- "haskell-either" "haskell-microlens" "haskell-microlens-platform" "haskell-safe"
- "haskell-servant-server" "haskell-servant-swagger" "haskell-swagger2" "haskell-text"
- "haskell-wai" "haskell-wai-extra" "haskell-warp")
+depends=('ghc-libs' 'hledger' 'haskell-hledger-lib' 'haskell-aeson' 'haskell-decimal'
+ 'haskell-docopt' 'haskell-either' 'haskell-microlens' 'haskell-microlens-platform'
+ 'haskell-safe' 'haskell-servant-server' 'haskell-servant-swagger' 'haskell-swagger2'
+ 'haskell-text' 'haskell-wai' 'haskell-wai-extra' 'haskell-warp')
makedepends=('ghc')
source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('4425cfa786b6d6b7db9a48c1d816cff313bd1258c83b882aadd2fd53fe9fa3986158a6254761a787dd993528454f04f31aaad53bbed6a347c6f048d96ded0996')
+sha512sums=('e71231c8d4602affdfcdd229fe488331c4f827c9274d17e0e711eea853e4dbc51bb47652081ae7d822e836b8932970fc01169649f1652716c00036be45a8e547')
-prepare() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- sed -i 's/instance ToSchema Price/instance ToSchema Price where\n declareNamedSchema = genericDeclareNamedSchemaUnrestricted defaultSchemaOptions/' hledger-api.hs
-}
-
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
runhaskell Setup configure -O --enable-executable-dynamic --disable-library-vanilla \
More information about the arch-commits
mailing list