Date: Friday, October 6, 2017 @ 17:28:45 Author: felixonmars Revision: 262004
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 262003, hledger-api/trunk/PKGBUILD) hledger-api/repos/community-staging-x86_64/ hledger-api/repos/community-staging-x86_64/PKGBUILD (from rev 262003, hledger-api/trunk/PKGBUILD) -----------------------------------+ community-staging-i686/PKGBUILD | 31 +++++++++++++++++++++++++++++++ community-staging-x86_64/PKGBUILD | 31 +++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) Copied: hledger-api/repos/community-staging-i686/PKGBUILD (from rev 262003, hledger-api/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-10-06 17:28:45 UTC (rev 262004) @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +pkgname=hledger-api +pkgver=1.4 +pkgrel=2 +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') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz") +sha512sums=('e71231c8d4602affdfcdd229fe488331c4f827c9274d17e0e711eea853e4dbc51bb47652081ae7d822e836b8932970fc01169649f1652716c00036be45a8e547') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + runhaskell Setup configure -O --enable-executable-dynamic --disable-library-vanilla \ + --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 262003, hledger-api/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-10-06 17:28:45 UTC (rev 262004) @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +pkgname=hledger-api +pkgver=1.4 +pkgrel=2 +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') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz") +sha512sums=('e71231c8d4602affdfcdd229fe488331c4f827c9274d17e0e711eea853e4dbc51bb47652081ae7d822e836b8932970fc01169649f1652716c00036be45a8e547') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + runhaskell Setup configure -O --enable-executable-dynamic --disable-library-vanilla \ + --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" +}