[arch-commits] Commit in hledger/repos (4 files)
Felix Yan
felixonmars at archlinux.org
Tue Jun 20 16:57:09 UTC 2017
Date: Tuesday, June 20, 2017 @ 16:57:08
Author: felixonmars
Revision: 239086
archrelease: copy trunk to community-testing-i686, community-testing-x86_64
Added:
hledger/repos/community-testing-i686/PKGBUILD
(from rev 239085, hledger/trunk/PKGBUILD)
hledger/repos/community-testing-x86_64/PKGBUILD
(from rev 239085, hledger/trunk/PKGBUILD)
Deleted:
hledger/repos/community-testing-i686/PKGBUILD
hledger/repos/community-testing-x86_64/PKGBUILD
-----------------------------------+
/PKGBUILD | 106 ++++++++++++++++++++++++++++++++++++
community-testing-i686/PKGBUILD | 53 ------------------
community-testing-x86_64/PKGBUILD | 53 ------------------
3 files changed, 106 insertions(+), 106 deletions(-)
Deleted: community-testing-i686/PKGBUILD
===================================================================
--- community-testing-i686/PKGBUILD 2017-06-20 16:56:36 UTC (rev 239085)
+++ community-testing-i686/PKGBUILD 2017-06-20 16:57:08 UTC (rev 239086)
@@ -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.2
-pkgrel=1
-pkgdesc="Source code suggestions"
-url="http://community.haskell.org/~ndm/hledger/"
-license=("GPL")
-arch=('i686' 'x86_64')
-depends=('ghc' "haskell-base-compat" "haskell-file-embed" "haskell-here" "haskell-pretty-show"
- "haskell-temporary" "haskell-tabular" "haskell-hledger-lib" "haskell-unordered-containers"
- "haskell-cmdargs" "haskell-csv" "haskell-data-default" "haskell-hashable" "haskell-hunit"
- "haskell-mtl" "haskell-old-time" "haskell-megaparsec" "haskell-regex-tdfa" "haskell-safe"
- "haskell-split" "haskell-text" "haskell-utf8-string" "haskell-wizards"
- "haskell-shakespeare")
-source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('02e3604bea09e85a8ac409d7ff6b26b9823a28c3deb6a030d79793a2f11fe4bd627d764f5e2952b42b1fb50cc3e4cfe3502eb0495ddb7573423ca9221ae64bff')
-
-prepare() {
- # It does nothing
- sed -e '/mtl-compat/d' \
- -e 's/megaparsec >=5.0 && < 5.3/megaparsec >=5.0 \&\& < 5.4/' \
- -i ${pkgname}-${pkgver}/${pkgname}.cabal
-}
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
- --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \
- --libsubdir=\$compiler/site-local/\$pkgid \
- -f-oldtime -fterminfo -fthreaded
- runhaskell Setup build
- runhaskell Setup haddock --hoogle --html
- 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
-}
-
-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"
- install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
- ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
- runhaskell Setup copy --destdir="${pkgdir}"
- rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
-
- # Remove static libs
- find "$pkgdir"/usr/lib -name "*.a" -delete
-}
Copied: hledger/repos/community-testing-i686/PKGBUILD (from rev 239085, hledger/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2017-06-20 16:57:08 UTC (rev 239086)
@@ -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.2
+pkgrel=2
+pkgdesc="Command-line interface for the hledger accounting tool"
+url="http://hledger.org"
+license=("GPL")
+arch=('i686' 'x86_64')
+depends=('ghc' "haskell-base-compat" "haskell-file-embed" "haskell-here" "haskell-pretty-show"
+ "haskell-temporary" "haskell-tabular" "haskell-hledger-lib" "haskell-unordered-containers"
+ "haskell-cmdargs" "haskell-csv" "haskell-data-default" "haskell-hashable" "haskell-hunit"
+ "haskell-mtl" "haskell-old-time" "haskell-megaparsec" "haskell-regex-tdfa" "haskell-safe"
+ "haskell-split" "haskell-text" "haskell-utf8-string" "haskell-wizards"
+ "haskell-shakespeare")
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('02e3604bea09e85a8ac409d7ff6b26b9823a28c3deb6a030d79793a2f11fe4bd627d764f5e2952b42b1fb50cc3e4cfe3502eb0495ddb7573423ca9221ae64bff')
+
+prepare() {
+ # It does nothing
+ sed -e '/mtl-compat/d' \
+ -e 's/megaparsec >=5.0 && < 5.3/megaparsec >=5.0 \&\& < 5.4/' \
+ -i ${pkgname}-${pkgver}/${pkgname}.cabal
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+ --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \
+ --libsubdir=\$compiler/site-local/\$pkgid \
+ -f-oldtime -fterminfo -fthreaded
+ runhaskell Setup build
+ runhaskell Setup haddock --hoogle --html
+ 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
+}
+
+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"
+ install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+ runhaskell Setup copy --destdir="${pkgdir}"
+ rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+
+ # Remove static libs
+ find "$pkgdir"/usr/lib -name "*.a" -delete
+}
Deleted: community-testing-x86_64/PKGBUILD
===================================================================
--- community-testing-x86_64/PKGBUILD 2017-06-20 16:56:36 UTC (rev 239085)
+++ community-testing-x86_64/PKGBUILD 2017-06-20 16:57:08 UTC (rev 239086)
@@ -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.2
-pkgrel=1
-pkgdesc="Source code suggestions"
-url="http://community.haskell.org/~ndm/hledger/"
-license=("GPL")
-arch=('i686' 'x86_64')
-depends=('ghc' "haskell-base-compat" "haskell-file-embed" "haskell-here" "haskell-pretty-show"
- "haskell-temporary" "haskell-tabular" "haskell-hledger-lib" "haskell-unordered-containers"
- "haskell-cmdargs" "haskell-csv" "haskell-data-default" "haskell-hashable" "haskell-hunit"
- "haskell-mtl" "haskell-old-time" "haskell-megaparsec" "haskell-regex-tdfa" "haskell-safe"
- "haskell-split" "haskell-text" "haskell-utf8-string" "haskell-wizards"
- "haskell-shakespeare")
-source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('02e3604bea09e85a8ac409d7ff6b26b9823a28c3deb6a030d79793a2f11fe4bd627d764f5e2952b42b1fb50cc3e4cfe3502eb0495ddb7573423ca9221ae64bff')
-
-prepare() {
- # It does nothing
- sed -e '/mtl-compat/d' \
- -e 's/megaparsec >=5.0 && < 5.3/megaparsec >=5.0 \&\& < 5.4/' \
- -i ${pkgname}-${pkgver}/${pkgname}.cabal
-}
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
- --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \
- --libsubdir=\$compiler/site-local/\$pkgid \
- -f-oldtime -fterminfo -fthreaded
- runhaskell Setup build
- runhaskell Setup haddock --hoogle --html
- 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
-}
-
-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"
- install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
- ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
- runhaskell Setup copy --destdir="${pkgdir}"
- rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
-
- # Remove static libs
- find "$pkgdir"/usr/lib -name "*.a" -delete
-}
Copied: hledger/repos/community-testing-x86_64/PKGBUILD (from rev 239085, hledger/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2017-06-20 16:57:08 UTC (rev 239086)
@@ -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.2
+pkgrel=2
+pkgdesc="Command-line interface for the hledger accounting tool"
+url="http://hledger.org"
+license=("GPL")
+arch=('i686' 'x86_64')
+depends=('ghc' "haskell-base-compat" "haskell-file-embed" "haskell-here" "haskell-pretty-show"
+ "haskell-temporary" "haskell-tabular" "haskell-hledger-lib" "haskell-unordered-containers"
+ "haskell-cmdargs" "haskell-csv" "haskell-data-default" "haskell-hashable" "haskell-hunit"
+ "haskell-mtl" "haskell-old-time" "haskell-megaparsec" "haskell-regex-tdfa" "haskell-safe"
+ "haskell-split" "haskell-text" "haskell-utf8-string" "haskell-wizards"
+ "haskell-shakespeare")
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('02e3604bea09e85a8ac409d7ff6b26b9823a28c3deb6a030d79793a2f11fe4bd627d764f5e2952b42b1fb50cc3e4cfe3502eb0495ddb7573423ca9221ae64bff')
+
+prepare() {
+ # It does nothing
+ sed -e '/mtl-compat/d' \
+ -e 's/megaparsec >=5.0 && < 5.3/megaparsec >=5.0 \&\& < 5.4/' \
+ -i ${pkgname}-${pkgver}/${pkgname}.cabal
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+ --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \
+ --libsubdir=\$compiler/site-local/\$pkgid \
+ -f-oldtime -fterminfo -fthreaded
+ runhaskell Setup build
+ runhaskell Setup haddock --hoogle --html
+ 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
+}
+
+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"
+ install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+ runhaskell Setup copy --destdir="${pkgdir}"
+ rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+
+ # Remove static libs
+ find "$pkgdir"/usr/lib -name "*.a" -delete
+}
More information about the arch-commits
mailing list