[arch-commits] Commit in hledger-api/repos (4 files)

Felix Yan felixonmars at archlinux.org
Tue Jun 27 15:38:35 UTC 2017


    Date: Tuesday, June 27, 2017 @ 15:38:34
  Author: felixonmars
Revision: 241234

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 241233, hledger-api/trunk/PKGBUILD)
  hledger-api/repos/community-staging-x86_64/
  hledger-api/repos/community-staging-x86_64/PKGBUILD
    (from rev 241233, 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 241233, hledger-api/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2017-06-27 15:38:34 UTC (rev 241234)
@@ -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=2
+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 241233, hledger-api/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-06-27 15:38:34 UTC (rev 241234)
@@ -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=2
+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