Date: Thursday, March 24, 2022 @ 14:39:15 Author: felixonmars Revision: 1174721
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 1174720, hledger-ui/trunk/PKGBUILD) ----------+ PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) Copied: hledger-ui/repos/community-staging-x86_64/PKGBUILD (from rev 1174720, hledger-ui/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-03-24 14:39:15 UTC (rev 1174721) @@ -0,0 +1,35 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Maintainer: Caleb Maclennan <ca...@alerque.com> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +pkgname=hledger-ui +pkgver=1.25 +pkgrel=30 +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-cmdargs' 'haskell-data-default' 'haskell-doclayout' 'haskell-extra' + 'haskell-fsnotify' 'haskell-microlens' 'haskell-microlens-platform' 'haskell-megaparsec' + 'haskell-safe' 'haskell-split' 'haskell-text-zipper' + 'haskell-vector' 'haskell-brick' 'haskell-vty') +makedepends=('ghc' 'uusi') +source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz") +sha512sums=('100febd118e7ad538d82e215d7413aac1b8b914fcb8be1bc6a26c311d9d2ba2accad187ffa3bdc623c448e9c36ba5dcf81a86db139541fbc33abba3557dd8f62') + +build() { + cd $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 $pkgname-$pkgver + runhaskell Setup copy --destdir="$pkgdir" + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + install -Dm644 hledger-ui.1 -t "$pkgdir"/usr/share/man/man1/ +}