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

Felix Yan felixonmars at archlinux.org
Wed Feb 12 17:48:02 UTC 2020


    Date: Wednesday, February 12, 2020 @ 17:48:01
  Author: felixonmars
Revision: 569560

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

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

Copied: hledger-ui/repos/community-staging-x86_64/PKGBUILD (from rev 569559, hledger-ui/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-02-12 17:48:01 UTC (rev 569560)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=hledger-ui
+pkgver=1.16.1
+pkgrel=5
+pkgdesc="Curses-style user interface for the hledger accounting tool"
+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-fsnotify'
+         'haskell-microlens' 'haskell-microlens-platform' 'haskell-megaparsec' 'haskell-pretty-show'
+         '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=('bc0f493415341937ac51439f67c4cd442f4a5f9beb07b9654032fdd427e147eb59c9f0f1d9ff4687c065668c4fa35aaa10712c874e32d5d80902d9a58fc450b4')
+
+build() {
+    cd "${srcdir}/${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
+}
+
+package() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    runhaskell Setup copy --destdir="${pkgdir}"
+    rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}



More information about the arch-commits mailing list