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

Felix Yan felixonmars at gemini.archlinux.org
Mon Jan 17 00:55:08 UTC 2022


    Date: Monday, January 17, 2022 @ 00:55:08
  Author: felixonmars
Revision: 1106844

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

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

Copied: hledger-ui/repos/community-staging-x86_64/PKGBUILD (from rev 1106843, hledger-ui/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-01-17 00:55:08 UTC (rev 1106844)
@@ -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.24.1
+pkgrel=14
+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=('9a71ba18c76a477a12df34adb4d1d11e5a72769b14e27950ff675107faf210dbe9ee18d4e6bf13151789f73591e72b62fb7f3ea581a2ddff6457814d9220f4d4')
+
+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