Date: Friday, June 3, 2022 @ 12:25:43
  Author: felixonmars
Revision: 1220541

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

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

Copied: hledger-ui/repos/community-staging-x86_64/PKGBUILD (from rev 1220540, 
hledger-ui/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-03 12:25:43 UTC (rev 1220541)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Maintainer: Caleb Maclennan <ca...@alerque.com>
+# Contributor: Arch Haskell Team <arch-hask...@haskell.org>
+
+pkgname=hledger-ui
+pkgver=1.25
+pkgrel=60
+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/
+}

Reply via email to