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

Felix Yan felixonmars at archlinux.org
Wed Jun 21 19:00:11 UTC 2017


    Date: Wednesday, June 21, 2017 @ 19:00:08
  Author: felixonmars
Revision: 239358

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  hledger-ui/repos/community-staging-i686/
  hledger-ui/repos/community-staging-i686/PKGBUILD
    (from rev 239357, hledger-ui/trunk/PKGBUILD)
  hledger-ui/repos/community-staging-x86_64/
  hledger-ui/repos/community-staging-x86_64/PKGBUILD
    (from rev 239357, hledger-ui/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   40 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   40 ++++++++++++++++++++++++++++++++++++
 2 files changed, 80 insertions(+)

Copied: hledger-ui/repos/community-staging-i686/PKGBUILD (from rev 239357, hledger-ui/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2017-06-21 19:00:08 UTC (rev 239358)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=hledger-ui
+pkgver=1.2
+pkgrel=2
+pkgdesc="Curses-style user interface for the hledger accounting tool"
+url="http://hledger.org"
+license=("GPL")
+arch=('i686' 'x86_64')
+depends=('ghc' 'hledger' "haskell-hledger-lib" "haskell-ansi-terminal" "haskell-async"
+         "haskell-base-compat" "haskell-cmdargs" "haskell-data-default" "haskell-fsnotify"
+         "haskell-hunit" "haskell-microlens" "haskell-microlens-platform" "haskell-megaparsec"
+         "haskell-pretty-show" "haskell-safe" "haskell-split" "haskell-text" "haskell-text-zipper"
+         "haskell-vector" "haskell-brick" "haskell-vty")
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('07f571a66e94a34a20cd6145196cd3333137a6281c33c5f917facc3c70d424b01c0f2a3d4d0d0c543b877338a350b5add4d3a5d48bbe28009d5cc42a2c3d3e29')
+
+prepare() {
+    # It does nothing
+    sed -e '/mtl-compat/d' \
+        -e 's/megaparsec >=5.0 && < 5.3/megaparsec >=5.0 \&\& < 5.4/' \
+        -e 's/brick >= 0.12 && < 0.18/brick >= 0.12 \&\& < 0.19/' \
+        -i ${pkgname}-${pkgver}/${pkgname}.cabal
+}
+
+build() {
+    cd "${srcdir}/${pkgname}-${pkgver}"    
+    runhaskell Setup configure -O --enable-executable-dynamic \
+        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \
+            -f-oldtime -fthreaded
+    runhaskell Setup build
+}
+
+package() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    runhaskell Setup copy --destdir="${pkgdir}"
+    rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: hledger-ui/repos/community-staging-x86_64/PKGBUILD (from rev 239357, hledger-ui/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-06-21 19:00:08 UTC (rev 239358)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=hledger-ui
+pkgver=1.2
+pkgrel=2
+pkgdesc="Curses-style user interface for the hledger accounting tool"
+url="http://hledger.org"
+license=("GPL")
+arch=('i686' 'x86_64')
+depends=('ghc' 'hledger' "haskell-hledger-lib" "haskell-ansi-terminal" "haskell-async"
+         "haskell-base-compat" "haskell-cmdargs" "haskell-data-default" "haskell-fsnotify"
+         "haskell-hunit" "haskell-microlens" "haskell-microlens-platform" "haskell-megaparsec"
+         "haskell-pretty-show" "haskell-safe" "haskell-split" "haskell-text" "haskell-text-zipper"
+         "haskell-vector" "haskell-brick" "haskell-vty")
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('07f571a66e94a34a20cd6145196cd3333137a6281c33c5f917facc3c70d424b01c0f2a3d4d0d0c543b877338a350b5add4d3a5d48bbe28009d5cc42a2c3d3e29')
+
+prepare() {
+    # It does nothing
+    sed -e '/mtl-compat/d' \
+        -e 's/megaparsec >=5.0 && < 5.3/megaparsec >=5.0 \&\& < 5.4/' \
+        -e 's/brick >= 0.12 && < 0.18/brick >= 0.12 \&\& < 0.19/' \
+        -i ${pkgname}-${pkgver}/${pkgname}.cabal
+}
+
+build() {
+    cd "${srcdir}/${pkgname}-${pkgver}"    
+    runhaskell Setup configure -O --enable-executable-dynamic \
+        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \
+            -f-oldtime -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