[arch-commits] Commit in hledger/repos/community-staging-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Mar 29 08:23:02 UTC 2018
Date: Thursday, March 29, 2018 @ 08:23:01
Author: felixonmars
Revision: 313316
archrelease: copy trunk to community-staging-x86_64
Added:
hledger/repos/community-staging-x86_64/PKGBUILD
(from rev 313315, hledger/trunk/PKGBUILD)
Deleted:
hledger/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 106 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 53 insertions(+), 53 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-03-29 08:22:36 UTC (rev 313315)
+++ PKGBUILD 2018-03-29 08:23:01 UTC (rev 313316)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-pkgname=hledger
-pkgver=1.5
-pkgrel=45
-pkgdesc="Command-line interface for the hledger accounting tool"
-url="http://hledger.org"
-license=("GPL")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-base-compat' 'haskell-cmdargs'
- 'haskell-decimal' 'haskell-diff' 'haskell-file-embed' 'haskell-here' 'haskell-pretty-show'
- 'haskell-temporary' 'haskell-tabular' 'haskell-hledger-lib' 'haskell-unordered-containers'
- 'haskell-csv' 'haskell-data-default' 'haskell-hashable' 'haskell-hunit' 'haskell-mtl'
- 'haskell-old-time' 'haskell-megaparsec' 'haskell-regex-tdfa' 'haskell-safe'
- 'haskell-shakespeare' 'haskell-split' 'haskell-text' 'haskell-utf8-string'
- 'haskell-utility-ht' 'haskell-wizards')
-makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit')
-source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('252c515c1cec094266888ae6ba8ebc166abbfe0b2681b4f0cca07e3b21488f6ce36a2ac5ffa4a7629414c1720c73016b8a45921c4c336923b21bb15352630c39')
-
-prepare() {
- # It does nothing
- sed -e '/mtl-compat/d' \
- -i ${pkgname}-${pkgver}/${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 \
- -fterminfo -fthreaded
- LC_CTYPE=en_US.UTF-8 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/repos/community-staging-x86_64/PKGBUILD (from rev 313315, hledger/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-03-29 08:23:01 UTC (rev 313316)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=hledger
+pkgver=1.5
+pkgrel=46
+pkgdesc="Command-line interface for the hledger accounting tool"
+url="http://hledger.org"
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-base-compat' 'haskell-cmdargs'
+ 'haskell-decimal' 'haskell-diff' 'haskell-file-embed' 'haskell-here' 'haskell-pretty-show'
+ 'haskell-temporary' 'haskell-tabular' 'haskell-hledger-lib' 'haskell-unordered-containers'
+ 'haskell-csv' 'haskell-data-default' 'haskell-hashable' 'haskell-hunit' 'haskell-mtl'
+ 'haskell-old-time' 'haskell-megaparsec' 'haskell-regex-tdfa' 'haskell-safe'
+ 'haskell-shakespeare' 'haskell-split' 'haskell-text' 'haskell-utf8-string'
+ 'haskell-utility-ht' 'haskell-wizards')
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('252c515c1cec094266888ae6ba8ebc166abbfe0b2681b4f0cca07e3b21488f6ce36a2ac5ffa4a7629414c1720c73016b8a45921c4c336923b21bb15352630c39')
+
+prepare() {
+ # It does nothing
+ sed -e '/mtl-compat/d' \
+ -i ${pkgname}-${pkgver}/${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 \
+ -fterminfo -fthreaded
+ LC_CTYPE=en_US.UTF-8 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