Date: Thursday, June 18, 2020 @ 10:20:53 Author: felixonmars Revision: 646954
archrelease: copy trunk to community-staging-x86_64 Added: hledger-ui/repos/community-staging-x86_64/ hledger-ui/repos/community-staging-x86_64/PKGBUILD (from rev 646953, hledger-ui/trunk/PKGBUILD) ----------+ PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) Copied: hledger-ui/repos/community-staging-x86_64/PKGBUILD (from rev 646953, hledger-ui/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-06-18 10:20:53 UTC (rev 646954) @@ -0,0 +1,32 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +pkgname=hledger-ui +pkgver=1.18 +pkgrel=5 +pkgdesc="Curses-style terminal interface for the hledger accounting system" +url="http://hledger.org" +license=("GPL") +arch=('x86_64') +depends=('ghc-libs' 'hledger' 'haskell-hledger-lib' 'haskell-ansi-terminal' 'haskell-async' + 'haskell-base-compat-batteries' 'haskell-cmdargs' 'haskell-data-default' 'haskell-extra' + 'haskell-fsnotify' 'haskell-microlens' 'haskell-microlens-platform' 'haskell-megaparsec' + 'haskell-pretty-show' 'haskell-safe' 'haskell-split' 'haskell-text-zipper' + 'haskell-vector' 'haskell-brick' 'haskell-vty') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz") +sha512sums=('fb2e9bfb9ca5d5147a350ee676335e813990f16177a70c80327d7016f602e6cffd9b20d93900360b9b8f7b93eacd8fdd2cb4361c18e2fca0210c934ce0331705') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + runhaskell Setup configure -O --enable-executable-dynamic --disable-library-vanilla \ + --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \ + -fthreaded + runhaskell Setup build $MAKEFLAGS +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + runhaskell Setup copy --destdir="${pkgdir}" + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}