[arch-commits] Commit in hledger-api/repos (4 files)
Felix Yan
felixonmars at archlinux.org
Mon Jul 10 06:18:10 UTC 2017
Date: Monday, July 10, 2017 @ 06:18:09
Author: felixonmars
Revision: 243544
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
hledger-api/repos/community-staging-i686/
hledger-api/repos/community-staging-i686/PKGBUILD
(from rev 243543, hledger-api/trunk/PKGBUILD)
hledger-api/repos/community-staging-x86_64/
hledger-api/repos/community-staging-x86_64/PKGBUILD
(from rev 243543, hledger-api/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 30 ++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 30 ++++++++++++++++++++++++++++++
2 files changed, 60 insertions(+)
Copied: hledger-api/repos/community-staging-i686/PKGBUILD (from rev 243543, hledger-api/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-07-10 06:18:09 UTC (rev 243544)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=hledger-api
+pkgver=1.3
+pkgrel=6
+pkgdesc="Web API server for the hledger accounting tool"
+url="http://hledger.org"
+license=("GPL")
+arch=('i686' 'x86_64')
+depends=('ghc' '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")
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('1349f1943afcf7f2bb4000fde580ef48f7f55ecd604c6d1df161449df6ffa00714e06b7ba10b77f07056eeb0711eada1a91559a7606062f83f8f3d4e830ede20')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ runhaskell Setup configure -O --enable-executable-dynamic \
+ --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname"
+ runhaskell Setup build
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ runhaskell Setup copy --destdir="${pkgdir}"
+ rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}
Copied: hledger-api/repos/community-staging-x86_64/PKGBUILD (from rev 243543, hledger-api/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2017-07-10 06:18:09 UTC (rev 243544)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=hledger-api
+pkgver=1.3
+pkgrel=6
+pkgdesc="Web API server for the hledger accounting tool"
+url="http://hledger.org"
+license=("GPL")
+arch=('i686' 'x86_64')
+depends=('ghc' '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")
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('1349f1943afcf7f2bb4000fde580ef48f7f55ecd604c6d1df161449df6ffa00714e06b7ba10b77f07056eeb0711eada1a91559a7606062f83f8f3d4e830ede20')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ runhaskell Setup configure -O --enable-executable-dynamic \
+ --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname"
+ runhaskell Setup build
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ runhaskell Setup copy --destdir="${pkgdir}"
+ rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list