[arch-commits] Commit in stack/repos/community-x86_64 (4 files)

Felix Yan felixonmars at archlinux.org
Sat Dec 23 19:52:07 UTC 2017


    Date: Saturday, December 23, 2017 @ 19:52:06
  Author: felixonmars
Revision: 275612

archrelease: copy trunk to community-x86_64

Added:
  stack/repos/community-x86_64/PKGBUILD
    (from rev 275611, stack/trunk/PKGBUILD)
  stack/repos/community-x86_64/stack.install
    (from rev 275611, stack/trunk/stack.install)
Deleted:
  stack/repos/community-x86_64/PKGBUILD
  stack/repos/community-x86_64/stack.install

---------------+
 PKGBUILD      |  150 ++++++++++++++++++++++++++++----------------------------
 stack.install |    8 +-
 2 files changed, 79 insertions(+), 79 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-23 19:51:51 UTC (rev 275611)
+++ PKGBUILD	2017-12-23 19:52:06 UTC (rev 275612)
@@ -1,75 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-pkgname=stack
-pkgver=1.6.1.1
-pkgrel=3
-pkgdesc="The Haskell Tool Stack"
-url="https://github.com/commercialhaskell/stack"
-license=("custom:BSD3")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-aeson' 'haskell-annotated-wl-pprint' 'haskell-ansi-terminal'
-         'haskell-async' 'haskell-attoparsec' 'haskell-base64-bytestring' 'haskell-bindings-uname'
-         'haskell-blaze-builder' 'haskell-clock' 'haskell-conduit' 'haskell-conduit-extra'
-         'haskell-cryptonite' 'haskell-cryptonite-conduit' 'haskell-echo' 'haskell-exceptions'
-         'haskell-extra' 'haskell-fast-logger' 'haskell-file-embed' 'haskell-filelock'
-         'haskell-fsnotify' 'haskell-generic-deriving' 'haskell-gitrev' 'haskell-hackage-security'
-         'haskell-hashable' 'haskell-hastache' 'haskell-hpack' 'haskell-http-client'
-         'haskell-http-client-tls' 'haskell-http-conduit' 'haskell-http-types' 'haskell-memory'
-         'haskell-microlens' 'haskell-microlens-mtl' 'haskell-mintty' 'haskell-monad-logger'
-         'haskell-mono-traversable' 'haskell-mtl' 'haskell-neat-interpolation' 'haskell-network-uri'
-         'haskell-open-browser' 'haskell-optparse-applicative' 'haskell-optparse-simple'
-         'haskell-path' 'haskell-path-io' 'haskell-persistent' 'haskell-persistent-sqlite'
-         'haskell-persistent-template' 'haskell-pid1' 'haskell-primitive' 'haskell-project-template'
-         'haskell-regex-applicative-text' 'haskell-resourcet' 'haskell-retry' 'haskell-semigroups'
-         'haskell-split' 'haskell-stm' 'haskell-store' 'haskell-store-core'
-         'haskell-streaming-commons' 'haskell-tar' 'haskell-temporary' 'haskell-text'
-         'haskell-text-metrics' 'haskell-th-reify-many' 'haskell-tls' 'haskell-unicode-transforms'
-         'haskell-unix-compat' 'haskell-unliftio' 'haskell-unordered-containers' 'haskell-vector'
-         'haskell-yaml' 'haskell-zip-archive' 'haskell-zlib')
-makedepends=('ghc' 'haskell-quickcheck' 'haskell-hspec' 'haskell-smallcheck')
-checkdepends=('cabal-install')
-conflicts=('haskell-stack')
-replaces=('haskell-stack')
-install="stack.install"
-source=("$pkgname-$pkgver.tar.gz::https://github.com/commercialhaskell/stack/archive/v$pkgver.tar.gz")
-sha512sums=('92a54f99ad544ada168c439cd9b95fbc5212faffdfb407f4bffa1539df134eed2fa5a1f5bed1883c622cc1f2338b897f9e26890bc51c767efe8e963e79368129')
-
-prepare() {
-  cd $pkgname-$pkgver
-  hpack
-}
-
-build() {
-  cd "${srcdir}/${pkgname}-${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 \
-      -f-disable-git-info -fintegration-tests -f-static -f-hide-dependency-versions -f-supported-build
-  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
-  cabal update
-  LD_LIBRARY_PATH="$PWD"/dist/build PATH="$PWD"/dist/build/stack:"$PATH" runhaskell Setup test || warning "Expected 4 failures on Arch currently"
-}
-
-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}"
-  install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-  rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
-
-  LD_PRELOAD=$(ls "$pkgdir"/usr/lib/libHSstack-*-ghc*.so) "${pkgdir}"/usr/bin/stack --bash-completion-script /usr/bin/stack > stack_completion_script
-  install -Dm644 stack_completion_script "${pkgdir}/usr/share/bash-completion/completions/stack"
-}

Copied: stack/repos/community-x86_64/PKGBUILD (from rev 275611, stack/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-12-23 19:52:06 UTC (rev 275612)
@@ -0,0 +1,75 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=stack
+pkgver=1.6.3
+pkgrel=1
+pkgdesc="The Haskell Tool Stack"
+url="https://github.com/commercialhaskell/stack"
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-annotated-wl-pprint' 'haskell-ansi-terminal'
+         'haskell-async' 'haskell-attoparsec' 'haskell-base64-bytestring' 'haskell-bindings-uname'
+         'haskell-blaze-builder' 'haskell-clock' 'haskell-conduit' 'haskell-conduit-extra'
+         'haskell-cryptonite' 'haskell-cryptonite-conduit' 'haskell-echo' 'haskell-exceptions'
+         'haskell-extra' 'haskell-fast-logger' 'haskell-file-embed' 'haskell-filelock'
+         'haskell-fsnotify' 'haskell-generic-deriving' 'haskell-gitrev' 'haskell-hackage-security'
+         'haskell-hashable' 'haskell-hastache' 'haskell-hpack' 'haskell-http-client'
+         'haskell-http-client-tls' 'haskell-http-conduit' 'haskell-http-types' 'haskell-memory'
+         'haskell-microlens' 'haskell-microlens-mtl' 'haskell-mintty' 'haskell-monad-logger'
+         'haskell-mono-traversable' 'haskell-mtl' 'haskell-neat-interpolation' 'haskell-network-uri'
+         'haskell-open-browser' 'haskell-optparse-applicative' 'haskell-optparse-simple'
+         'haskell-path' 'haskell-path-io' 'haskell-persistent' 'haskell-persistent-sqlite'
+         'haskell-persistent-template' 'haskell-pid1' 'haskell-primitive' 'haskell-project-template'
+         'haskell-regex-applicative-text' 'haskell-resourcet' 'haskell-retry' 'haskell-semigroups'
+         'haskell-split' 'haskell-stm' 'haskell-store' 'haskell-store-core'
+         'haskell-streaming-commons' 'haskell-tar' 'haskell-temporary' 'haskell-text'
+         'haskell-text-metrics' 'haskell-th-reify-many' 'haskell-tls' 'haskell-unicode-transforms'
+         'haskell-unix-compat' 'haskell-unliftio' 'haskell-unordered-containers' 'haskell-vector'
+         'haskell-yaml' 'haskell-zip-archive' 'haskell-zlib')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-hspec' 'haskell-smallcheck')
+checkdepends=('cabal-install')
+conflicts=('haskell-stack')
+replaces=('haskell-stack')
+install="stack.install"
+source=("$pkgname-$pkgver.tar.gz::https://github.com/commercialhaskell/stack/archive/v$pkgver.tar.gz")
+sha512sums=('28cb4d65fdcfdb999ef9ef853629b1590cde3fdd736c768c1e41350dec3a8dd3dae8519acef17eca6665c50f46fb3958cc2b9347a10b627842c47c0b9b0cd175')
+
+prepare() {
+  cd $pkgname-$pkgver
+  hpack
+}
+
+build() {
+  cd "${srcdir}/${pkgname}-${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 \
+      -f-disable-git-info -fintegration-tests -f-static -f-hide-dependency-versions -f-supported-build
+  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
+  cabal update
+  LD_LIBRARY_PATH="$PWD"/dist/build PATH="$PWD"/dist/build/stack:"$PATH" runhaskell Setup test || warning "Expected 4 failures on Arch currently"
+}
+
+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}"
+  install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+
+  LD_PRELOAD=$(ls "$pkgdir"/usr/lib/libHSstack-*-ghc*.so) "${pkgdir}"/usr/bin/stack --bash-completion-script /usr/bin/stack > stack_completion_script
+  install -Dm644 stack_completion_script "${pkgdir}/usr/share/bash-completion/completions/stack"
+}

Deleted: stack.install
===================================================================
--- stack.install	2017-12-23 19:51:51 UTC (rev 275611)
+++ stack.install	2017-12-23 19:52:06 UTC (rev 275612)
@@ -1,4 +0,0 @@
-post_install() {
-  echo "You need to either 1) install latest stable ghc package from [extra] or 2) install ncurses5-compat-libs from AUR for the prebuilt binaries installed by stack to work."
-}
-

Copied: stack/repos/community-x86_64/stack.install (from rev 275611, stack/trunk/stack.install)
===================================================================
--- stack.install	                        (rev 0)
+++ stack.install	2017-12-23 19:52:06 UTC (rev 275612)
@@ -0,0 +1,4 @@
+post_install() {
+  echo "You need to either 1) install latest stable ghc package from [extra] or 2) install ncurses5-compat-libs from AUR for the prebuilt binaries installed by stack to work."
+}
+



More information about the arch-commits mailing list