[arch-commits] Commit in hledger-ui/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Sat May 28 20:25:51 UTC 2022


    Date: Saturday, May 28, 2022 @ 20:25:50
  Author: felixonmars
Revision: 1212742

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 1212741, hledger-ui/trunk/PKGBUILD)

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Copied: hledger-ui/repos/community-staging-x86_64/PKGBUILD (from rev 1212741, hledger-ui/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-05-28 20:25:50 UTC (rev 1212742)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=hledger-ui
+pkgver=1.25
+pkgrel=55
+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/
+}



More information about the arch-commits mailing list