Date: Friday, July 7, 2017 @ 23:55:02 Author: felixonmars Revision: 243132
archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: hledger-ui/repos/community-staging-i686/ hledger-ui/repos/community-staging-i686/PKGBUILD (from rev 243131, hledger-ui/trunk/PKGBUILD) hledger-ui/repos/community-staging-x86_64/ hledger-ui/repos/community-staging-x86_64/PKGBUILD (from rev 243131, hledger-ui/trunk/PKGBUILD) -----------------------------------+ community-staging-i686/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++ community-staging-x86_64/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) Copied: hledger-ui/repos/community-staging-i686/PKGBUILD (from rev 243131, hledger-ui/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-07-07 23:55:02 UTC (rev 243132) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +pkgname=hledger-ui +pkgver=1.3 +pkgrel=3 +pkgdesc="Curses-style user interface for the hledger accounting tool" +url="http://hledger.org" +license=("GPL") +arch=('i686' 'x86_64') +depends=('ghc' 'hledger' "haskell-hledger-lib" "haskell-ansi-terminal" "haskell-async" + "haskell-base-compat" "haskell-cmdargs" "haskell-data-default" "haskell-fsnotify" + "haskell-hunit" "haskell-microlens" "haskell-microlens-platform" "haskell-megaparsec" + "haskell-pretty-show" "haskell-safe" "haskell-split" "haskell-text" "haskell-text-zipper" + "haskell-vector" "haskell-brick" "haskell-vty") +source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz") +sha512sums=('b96c12537b50a02ffaa30fb2f9c291afb4a1eb1ecff99b372367c1f985575f44941c93d86c0cfee83a570756311b35b5779cfbcea430ad11c575cef16d07f187') + +prepare() { + # It does nothing + sed -e '/mtl-compat/d' \ + -i ${pkgname}-${pkgver}/${pkgname}.cabal +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + runhaskell Setup configure -O --enable-executable-dynamic \ + --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \ + -f-oldtime -fthreaded + runhaskell Setup build +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + runhaskell Setup copy --destdir="${pkgdir}" + rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +} Copied: hledger-ui/repos/community-staging-x86_64/PKGBUILD (from rev 243131, hledger-ui/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-07-07 23:55:02 UTC (rev 243132) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +pkgname=hledger-ui +pkgver=1.3 +pkgrel=3 +pkgdesc="Curses-style user interface for the hledger accounting tool" +url="http://hledger.org" +license=("GPL") +arch=('i686' 'x86_64') +depends=('ghc' 'hledger' "haskell-hledger-lib" "haskell-ansi-terminal" "haskell-async" + "haskell-base-compat" "haskell-cmdargs" "haskell-data-default" "haskell-fsnotify" + "haskell-hunit" "haskell-microlens" "haskell-microlens-platform" "haskell-megaparsec" + "haskell-pretty-show" "haskell-safe" "haskell-split" "haskell-text" "haskell-text-zipper" + "haskell-vector" "haskell-brick" "haskell-vty") +source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz") +sha512sums=('b96c12537b50a02ffaa30fb2f9c291afb4a1eb1ecff99b372367c1f985575f44941c93d86c0cfee83a570756311b35b5779cfbcea430ad11c575cef16d07f187') + +prepare() { + # It does nothing + sed -e '/mtl-compat/d' \ + -i ${pkgname}-${pkgver}/${pkgname}.cabal +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + runhaskell Setup configure -O --enable-executable-dynamic \ + --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \ + -f-oldtime -fthreaded + runhaskell Setup build +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + runhaskell Setup copy --destdir="${pkgdir}" + rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}