Date: Saturday, September 5, 2020 @ 02:24:47 Author: felixonmars Revision: 698850
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 698849, hledger-ui/trunk/PKGBUILD) ----------+ PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) Copied: hledger-ui/repos/community-staging-x86_64/PKGBUILD (from rev 698849, hledger-ui/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-09-05 02:24:47 UTC (rev 698850) @@ -0,0 +1,32 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +pkgname=hledger-ui +pkgver=1.18.1 +pkgrel=40 +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=('3d32e5cd9dd5d51fd76ec2cf9588d518834983bbeb8a661c469936696e0a541a8173548c7ab4139d5f929fca5b39c840d6f009a790be35ddd2f25543c3f4e9c4') + +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 +}