[arch-commits] Commit in hledger-ui/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Dec 24 17:39:31 UTC 2020
Date: Thursday, December 24, 2020 @ 17:39:31
Author: felixonmars
Revision: 788407
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 788406, hledger-ui/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: hledger-ui/repos/community-staging-x86_64/PKGBUILD (from rev 788406, hledger-ui/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-12-24 17:39:31 UTC (rev 788407)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=hledger-ui
+pkgver=1.20.1
+pkgrel=7
+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-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=('18d15dad24e7fcc28118dbae0bca28966edece64d94267e94d29b605c556fbe7b0996b66e78403bd29fc8b6964b5c37089ba459d99b2f6018659b1b2c5be49bd')
+
+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
+}
More information about the arch-commits
mailing list