[arch-commits] Commit in hledger-ui/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sun Jan 24 07:18:48 UTC 2021
Date: Sunday, January 24, 2021 @ 07:18:48
Author: felixonmars
Revision: 827831
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 827830, hledger-ui/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: hledger-ui/repos/community-staging-x86_64/PKGBUILD (from rev 827830, hledger-ui/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2021-01-24 07:18:48 UTC (rev 827831)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=hledger-ui
+pkgver=1.20.3
+pkgrel=3
+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=('4e1e61ddfa0217d7ce95e98cf00c8e963e8b44bacd265d60f55634f63fddb0506c8a0f50bdad12a287a88f77366aeb21b0eead8243865aad5a370dbf0d3b615d')
+
+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/
+}
More information about the arch-commits
mailing list