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

Felix Yan felixonmars at archlinux.org
Sun Aug 2 21:22:30 UTC 2020


    Date: Sunday, August 2, 2020 @ 21:22:30
  Author: felixonmars
Revision: 667890

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hledger-lib/repos/community-staging-x86_64/PKGBUILD
    (from rev 667889, haskell-hledger-lib/trunk/PKGBUILD)
Deleted:
  haskell-hledger-lib/repos/community-staging-x86_64/PKGBUILD

----------+
 PKGBUILD |   98 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 49 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-02 21:22:18 UTC (rev 667889)
+++ PKGBUILD	2020-08-02 21:22:30 UTC (rev 667890)
@@ -1,49 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-_hkgname=hledger-lib
-pkgname=haskell-hledger-lib
-pkgver=1.18.1
-pkgrel=6
-pkgdesc="A reusable library providing the core functionality of hledger"
-url="http://hledger.org"
-license=("GPL")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 'haskell-ansi-terminal'
-         'haskell-base-compat-batteries' 'haskell-blaze-markup' 'haskell-call-stack'
-         'haskell-cassava' 'haskell-cassava-megaparsec' 'haskell-cmdargs' 'haskell-data-default'
-         'haskell-decimal' 'haskell-extra' 'haskell-fgl' 'haskell-file-embed' 'haskell-glob'
-         'haskell-hashtables' 'haskell-megaparsec' 'haskell-old-time' 'haskell-parser-combinators'
-         'haskell-pretty-show' 'haskell-regex-tdfa' 'haskell-safe' 'haskell-split'
-         'haskell-tabular' 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-timeit'
-         'haskell-uglymemo' 'haskell-utf8-string')
-makedepends=('ghc' 'haskell-doctest')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('5f43b70a9838890f14856bc26ce66d7648b7356883d5c0eccd368c2ade21cf2a6cf85ba5a8b05b65499f6dc815e60edf9a2da5025ecfac769e5962864778bce9')
-
-build() {
-    cd $_hkgname-$pkgver
-
-    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
-        --prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
-        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-    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 $_hkgname-$pkgver
-    runhaskell Setup test
-}
-
-package() {
-    cd $_hkgname-$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: haskell-hledger-lib/repos/community-staging-x86_64/PKGBUILD (from rev 667889, haskell-hledger-lib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-08-02 21:22:30 UTC (rev 667890)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_hkgname=hledger-lib
+pkgname=haskell-hledger-lib
+pkgver=1.18.1
+pkgrel=7
+pkgdesc="A reusable library providing the core functionality of hledger"
+url="http://hledger.org"
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 'haskell-ansi-terminal'
+         'haskell-base-compat-batteries' 'haskell-blaze-markup' 'haskell-call-stack'
+         'haskell-cassava' 'haskell-cassava-megaparsec' 'haskell-cmdargs' 'haskell-data-default'
+         'haskell-decimal' 'haskell-extra' 'haskell-fgl' 'haskell-file-embed' 'haskell-glob'
+         'haskell-hashtables' 'haskell-megaparsec' 'haskell-old-time' 'haskell-parser-combinators'
+         'haskell-pretty-show' 'haskell-regex-tdfa' 'haskell-safe' 'haskell-split'
+         'haskell-tabular' 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-timeit'
+         'haskell-uglymemo' 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('5f43b70a9838890f14856bc26ce66d7648b7356883d5c0eccd368c2ade21cf2a6cf85ba5a8b05b65499f6dc815e60edf9a2da5025ecfac769e5962864778bce9')
+
+build() {
+    cd $_hkgname-$pkgver
+
+    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
+        --prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+    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 $_hkgname-$pkgver
+    runhaskell Setup test
+}
+
+package() {
+    cd $_hkgname-$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