[arch-commits] Commit in hledger-ui/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Mon Nov 15 09:55:30 UTC 2021
Date: Monday, November 15, 2021 @ 09:55:30
Author: felixonmars
Revision: 1048069
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 1048068, hledger-ui/trunk/PKGBUILD)
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Copied: hledger-ui/repos/community-staging-x86_64/PKGBUILD (from rev 1048068, hledger-ui/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2021-11-15 09:55:30 UTC (rev 1048069)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=hledger-ui
+pkgver=1.22.2
+pkgrel=44
+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' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('53ca171ed87eae4a3a244fe1e8858f6c24e41d8740232375022ccb78b9fffe797aff43cd783d7a994d98fd3705c4d84f8f5a32857ff4f0d69aad5a84ee97b357')
+
+prepare() {
+ cd $pkgname-$pkgver
+ uusi -u megaparsec $pkgname.cabal
+}
+
+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