[arch-commits] Commit in hledger-api/repos (4 files)
Felix Yan
felixonmars at archlinux.org
Wed Jun 28 16:44:05 UTC 2017
Date: Wednesday, June 28, 2017 @ 16:44:04
Author: felixonmars
Revision: 241416
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 241415, hledger-api/trunk/PKGBUILD)
hledger-api/repos/community-staging-x86_64/
hledger-api/repos/community-staging-x86_64/PKGBUILD
(from rev 241415, 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 241415, hledger-api/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-06-28 16:44:04 UTC (rev 241416)
@@ -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.2
+pkgrel=3
+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=('09e76fbfbd036738ac456a9dc3d5844dd5d87eb52df42cb18691273265148ed00acf382fece80eb637e59afc1eca5b76e27bcc70781a67209eabc58c9bab7cf4')
+
+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 241415, hledger-api/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2017-06-28 16:44:04 UTC (rev 241416)
@@ -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.2
+pkgrel=3
+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=('09e76fbfbd036738ac456a9dc3d5844dd5d87eb52df42cb18691273265148ed00acf382fece80eb637e59afc1eca5b76e27bcc70781a67209eabc58c9bab7cf4')
+
+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