[arch-commits] Commit in hledger-web/repos/community-staging-x86_64 (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Tue Oct 12 12:42:36 UTC 2021
Date: Tuesday, October 12, 2021 @ 12:42:35
Author: felixonmars
Revision: 1029830
archrelease: copy trunk to community-staging-x86_64
Added:
hledger-web/repos/community-staging-x86_64/PKGBUILD
(from rev 1029829, 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 2021-10-12 12:42:25 UTC (rev 1029829)
+++ PKGBUILD 2021-10-12 12:42:35 UTC (rev 1029830)
@@ -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.22.2
-pkgrel=33
-pkgdesc="Web-based user interface for the hledger accounting system"
-url="http://hledger.org"
-license=("GPL")
-arch=('x86_64')
-depends=('ghc-libs' 'hledger' 'haskell-hledger-lib' 'haskell-aeson' 'haskell-blaze-html'
- 'haskell-blaze-markup' 'haskell-case-insensitive' 'haskell-clientsession'
- 'haskell-cmdargs' 'haskell-conduit' 'haskell-conduit-extra' 'haskell-data-default'
- 'haskell-decimal' 'haskell-extra' 'haskell-hjsmin' 'haskell-hspec' 'haskell-http-conduit'
- 'haskell-http-client' 'haskell-http-types' 'haskell-megaparsec' 'haskell-network'
- 'haskell-shakespeare' 'haskell-unix-compat' 'haskell-unordered-containers'
- 'haskell-utf8-string' 'haskell-wai' 'haskell-wai-cors' 'haskell-wai-extra'
- 'haskell-wai-handler-launch' 'haskell-warp' 'haskell-yesod' 'haskell-yesod-core'
- 'haskell-yesod-form' 'haskell-yesod-static' 'haskell-yesod-test')
-makedepends=('ghc')
-replaces=('hledger-api')
-source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('48fed07556b4756c12ff303362e3ad042da00b34b59835d447f8a97dc6d63996a823613ccff0059fea33f58d3fed43546b0e6c13345e5c9936a48305e64369ca')
-
-build() {
- cd $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 --ghc-option=-fllvm \
- -f-dev -f-library-only -fthreaded
- runhaskell Setup build $MAKEFLAGS
- 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 --show-details=direct
-}
-
-package() {
- cd $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
-
- install -Dm644 hledger-web.1 -t "$pkgdir"/usr/share/man/man1/
-}
Copied: hledger-web/repos/community-staging-x86_64/PKGBUILD (from rev 1029829, hledger-web/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-10-12 12:42:35 UTC (rev 1029830)
@@ -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.22.2
+pkgrel=34
+pkgdesc="Web-based user interface for the hledger accounting system"
+url="http://hledger.org"
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'hledger' 'haskell-hledger-lib' 'haskell-aeson' 'haskell-blaze-html'
+ 'haskell-blaze-markup' 'haskell-case-insensitive' 'haskell-clientsession'
+ 'haskell-cmdargs' 'haskell-conduit' 'haskell-conduit-extra' 'haskell-data-default'
+ 'haskell-decimal' 'haskell-extra' 'haskell-hjsmin' 'haskell-hspec' 'haskell-http-conduit'
+ 'haskell-http-client' 'haskell-http-types' 'haskell-megaparsec' 'haskell-network'
+ 'haskell-shakespeare' 'haskell-unix-compat' 'haskell-unordered-containers'
+ 'haskell-utf8-string' 'haskell-wai' 'haskell-wai-cors' 'haskell-wai-extra'
+ 'haskell-wai-handler-launch' 'haskell-warp' 'haskell-yesod' 'haskell-yesod-core'
+ 'haskell-yesod-form' 'haskell-yesod-static' 'haskell-yesod-test')
+makedepends=('ghc')
+replaces=('hledger-api')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('48fed07556b4756c12ff303362e3ad042da00b34b59835d447f8a97dc6d63996a823613ccff0059fea33f58d3fed43546b0e6c13345e5c9936a48305e64369ca')
+
+build() {
+ cd $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 --ghc-option=-fllvm \
+ -f-dev -f-library-only -fthreaded
+ runhaskell Setup build $MAKEFLAGS
+ 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 --show-details=direct
+}
+
+package() {
+ cd $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
+
+ install -Dm644 hledger-web.1 -t "$pkgdir"/usr/share/man/man1/
+}
More information about the arch-commits
mailing list