Date: Tuesday, October 24, 2017 @ 15:43:18
  Author: felixonmars
Revision: 264134

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  stack/repos/community-staging-i686/
  stack/repos/community-staging-i686/PKGBUILD
    (from rev 264133, stack/trunk/PKGBUILD)
  stack/repos/community-staging-i686/stack.install
    (from rev 264133, stack/trunk/stack.install)
  stack/repos/community-staging-x86_64/
  stack/repos/community-staging-x86_64/PKGBUILD
    (from rev 264133, stack/trunk/PKGBUILD)
  stack/repos/community-staging-x86_64/stack.install
    (from rev 264133, stack/trunk/stack.install)

----------------------------------------+
 community-staging-i686/PKGBUILD        |   67 +++++++++++++++++++++++++++++++
 community-staging-i686/stack.install   |    4 +
 community-staging-x86_64/PKGBUILD      |   67 +++++++++++++++++++++++++++++++
 community-staging-x86_64/stack.install |    4 +
 4 files changed, 142 insertions(+)

Copied: stack/repos/community-staging-i686/PKGBUILD (from rev 264133, 
stack/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD                             (rev 0)
+++ community-staging-i686/PKGBUILD     2017-10-24 15:43:18 UTC (rev 264134)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: Arch Haskell Team <arch-hask...@haskell.org>
+
+pkgname=stack
+pkgver=1.5.1.20170916
+_commit=4de4a450e426f70a5e5f127d7e7568f556ec9404
+pkgrel=10
+pkgdesc="The Haskell Tool Stack"
+url="https://github.com/commercialhaskell/stack";
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=('ghc-libs' "haskell-aeson" "haskell-annotated-wl-pprint" 
"haskell-ansi-terminal"
+         "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-http-client" 
"haskell-http-client-tls"
+         "haskell-http-conduit" "haskell-http-types" "haskell-hpack" 
"haskell-memory"
+         "haskell-microlens" "haskell-microlens-mtl" "haskell-mintty" 
"haskell-monad-logger"
+         "haskell-mtl" "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-text"
+         "haskell-text-metrics" "haskell-tls" "haskell-unicode-transforms" 
"haskell-unix-compat"
+         "haskell-unliftio" "haskell-unordered-containers" "haskell-vector" 
"haskell-yaml"
+         "haskell-zip-archive" "haskell-zlib")
+makedepends=('ghc')
+conflicts=('haskell-stack')
+replaces=('haskell-stack')
+install="stack.install"
+source=("$pkgname-$pkgver.tar.gz::https://github.com/commercialhaskell/stack/archive/$_commit.tar.gz";)
+sha512sums=('6bb019c61e89631d83704fe3215d2cb7c790d150ad5b8a2e8e3863ad644aea5306aa4bb02bd64f9a6164bf540f5b98d042f30712029e1f5e314a4b6766d2b931')
+
+prepare() {
+    mv $pkgname-$_commit $pkgname-$pkgver
+}
+
+build() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+
+    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+            -f-disable-git-info -f-integration-tests -f-static 
-f-hide-dependency-versions
+    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
+}
+
+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-staging-i686/stack.install (from rev 264133, 
stack/trunk/stack.install)
===================================================================
--- community-staging-i686/stack.install                                (rev 0)
+++ community-staging-i686/stack.install        2017-10-24 15:43:18 UTC (rev 
264134)
@@ -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."
+}
+

Copied: stack/repos/community-staging-x86_64/PKGBUILD (from rev 264133, 
stack/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-10-24 15:43:18 UTC (rev 264134)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: Arch Haskell Team <arch-hask...@haskell.org>
+
+pkgname=stack
+pkgver=1.5.1.20170916
+_commit=4de4a450e426f70a5e5f127d7e7568f556ec9404
+pkgrel=10
+pkgdesc="The Haskell Tool Stack"
+url="https://github.com/commercialhaskell/stack";
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=('ghc-libs' "haskell-aeson" "haskell-annotated-wl-pprint" 
"haskell-ansi-terminal"
+         "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-http-client" 
"haskell-http-client-tls"
+         "haskell-http-conduit" "haskell-http-types" "haskell-hpack" 
"haskell-memory"
+         "haskell-microlens" "haskell-microlens-mtl" "haskell-mintty" 
"haskell-monad-logger"
+         "haskell-mtl" "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-text"
+         "haskell-text-metrics" "haskell-tls" "haskell-unicode-transforms" 
"haskell-unix-compat"
+         "haskell-unliftio" "haskell-unordered-containers" "haskell-vector" 
"haskell-yaml"
+         "haskell-zip-archive" "haskell-zlib")
+makedepends=('ghc')
+conflicts=('haskell-stack')
+replaces=('haskell-stack')
+install="stack.install"
+source=("$pkgname-$pkgver.tar.gz::https://github.com/commercialhaskell/stack/archive/$_commit.tar.gz";)
+sha512sums=('6bb019c61e89631d83704fe3215d2cb7c790d150ad5b8a2e8e3863ad644aea5306aa4bb02bd64f9a6164bf540f5b98d042f30712029e1f5e314a4b6766d2b931')
+
+prepare() {
+    mv $pkgname-$_commit $pkgname-$pkgver
+}
+
+build() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+
+    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+            -f-disable-git-info -f-integration-tests -f-static 
-f-hide-dependency-versions
+    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
+}
+
+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-staging-x86_64/stack.install (from rev 264133, 
stack/trunk/stack.install)
===================================================================
--- community-staging-x86_64/stack.install                              (rev 0)
+++ community-staging-x86_64/stack.install      2017-10-24 15:43:18 UTC (rev 
264134)
@@ -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."
+}
+

Reply via email to