[arch-commits] Commit in hledger-web/repos/community-staging-x86_64 (2 files)

Felix Yan felixonmars at archlinux.org
Mon Jan 21 18:40:58 UTC 2019


    Date: Monday, January 21, 2019 @ 18:40:56
  Author: felixonmars
Revision: 426293

archrelease: copy trunk to community-staging-x86_64

Added:
  hledger-web/repos/community-staging-x86_64/PKGBUILD
    (from rev 426292, hledger-web/trunk/PKGBUILD)
Deleted:
  hledger-web/repos/community-staging-x86_64/PKGBUILD

----------+
 PKGBUILD |  102 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 51 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-21 18:40:35 UTC (rev 426292)
+++ PKGBUILD	2019-01-21 18:40:56 UTC (rev 426293)
@@ -1,51 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-pkgname=hledger-web
-pkgver=1.12
-pkgrel=36
-pkgdesc="Web interface for the hledger accounting tool"
-url="http://hledger.org"
-license=("GPL")
-arch=('x86_64')
-depends=('ghc-libs' 'hledger' 'haskell-hledger-lib' 'haskell-blaze-html' 'haskell-blaze-markup'
-         'haskell-case-insensitive' 'haskell-clientsession' 'haskell-cmdargs' 'haskell-conduit'
-         'haskell-data-default' 'haskell-hjsmin' 'haskell-http-conduit' 'haskell-http-client'
-         'haskell-conduit-extra' 'haskell-safe' 'haskell-shakespeare' 'haskell-wai'
-         'haskell-wai-extra' 'haskell-wai-handler-launch' 'haskell-warp' 'haskell-yesod'
-         'haskell-yesod-core' 'haskell-yesod-form' 'haskell-yesod-static' 'haskell-json'
-         'haskell-megaparsec')
-makedepends=('ghc' 'haskell-hspec' 'haskell-yesod-test')
-source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('4c77d67daa0abdd55029fc6af1a3735ab99adc9ec65e8470a84f4b7de39de24bdd636717d50f5f87d4227b4b903e72b0ccde728addc12d26809e83b8baf07f31')
-
-prepare() {
-    cd $pkgname-$pkgver
-    sed -i -e '/semigroups/d' $pkgname.cabal
-}
-
-build() {
-    cd "${srcdir}/${pkgname}-${pkgver}"
-    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
-        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" --enable-tests \
-        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
-            -f-dev -f-library-only -fthreaded
-    runhaskell Setup build
-    runhaskell Setup register --gen-script
-    runhaskell Setup unregister --gen-script
-    sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-    sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-    cd $pkgname-$pkgver
-    runhaskell Setup test
-}
-
-package() {
-    cd "${srcdir}/${pkgname}-${pkgver}"
-    install -D -m744 register.sh   "${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
-    install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
-    runhaskell Setup copy --destdir="${pkgdir}"
-    rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
-}

Copied: hledger-web/repos/community-staging-x86_64/PKGBUILD (from rev 426292, hledger-web/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-01-21 18:40:56 UTC (rev 426293)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=hledger-web
+pkgver=1.12
+pkgrel=37
+pkgdesc="Web interface for the hledger accounting tool"
+url="http://hledger.org"
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'hledger' 'haskell-hledger-lib' 'haskell-blaze-html' 'haskell-blaze-markup'
+         'haskell-case-insensitive' 'haskell-clientsession' 'haskell-cmdargs' 'haskell-conduit'
+         'haskell-data-default' 'haskell-hjsmin' 'haskell-http-conduit' 'haskell-http-client'
+         'haskell-conduit-extra' 'haskell-safe' 'haskell-shakespeare' 'haskell-wai'
+         'haskell-wai-extra' 'haskell-wai-handler-launch' 'haskell-warp' 'haskell-yesod'
+         'haskell-yesod-core' 'haskell-yesod-form' 'haskell-yesod-static' 'haskell-json'
+         'haskell-megaparsec')
+makedepends=('ghc' 'haskell-hspec' 'haskell-yesod-test')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('4c77d67daa0abdd55029fc6af1a3735ab99adc9ec65e8470a84f4b7de39de24bdd636717d50f5f87d4227b4b903e72b0ccde728addc12d26809e83b8baf07f31')
+
+prepare() {
+    cd $pkgname-$pkgver
+    sed -i -e '/semigroups/d' $pkgname.cabal
+}
+
+build() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
+        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" --enable-tests \
+        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+            -f-dev -f-library-only -fthreaded
+    runhaskell Setup build
+    runhaskell Setup register --gen-script
+    runhaskell Setup unregister --gen-script
+    sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+    sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+    cd $pkgname-$pkgver
+    runhaskell Setup test
+}
+
+package() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    install -D -m744 register.sh   "${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+    install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+    runhaskell Setup copy --destdir="${pkgdir}"
+    rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


More information about the arch-commits mailing list