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

2020-08-05 Thread Felix Yan via arch-commits
Date: Wednesday, August 5, 2020 @ 17:12:15
  Author: felixonmars
Revision: 669668

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2020-08-05 17:12:00 UTC (rev 669667)
+++ PKGBUILD2020-08-05 17:12:15 UTC (rev 669668)
@@ -1,82 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-pkgname=stack
-pkgver=2.3.1
-pkgrel=74
-pkgdesc="The Haskell Tool Stack"
-url="https://github.com/commercialhaskell/stack";
-license=("BSD")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-aeson' 'haskell-annotated-wl-pprint' 
'haskell-ansi-terminal'
- 'haskell-async' 'haskell-attoparsec' 'haskell-base64-bytestring' 
'haskell-casa-client'
- 'haskell-casa-types' 'haskell-colour' 'haskell-conduit' 
'haskell-conduit-extra'
- 'haskell-cryptonite' 'haskell-cryptonite-conduit' 'haskell-echo'
- 'haskell-extra' 'haskell-file-embed' 'haskell-filelock' 
'haskell-fsnotify'
- 'haskell-generic-deriving' 'haskell-githash' 
'haskell-hackage-security' 'haskell-hashable'
- 'haskell-hi-file-parser' 'haskell-hpack' 'haskell-http-client' 
'haskell-http-client-tls'
- 'haskell-http-conduit' 'haskell-http-download' 'haskell-http-types' 
'haskell-memory'
- 'haskell-microlens' 'haskell-mintty' 'haskell-mono-traversable' 
'haskell-mustache'
- 'haskell-neat-interpolation' 'haskell-network-uri' 
'haskell-open-browser'
- 'haskell-optparse-applicative' 'haskell-optparse-generic' 
'haskell-optparse-simple'
- 'haskell-pantry' 'haskell-path' 'haskell-path-io' 'haskell-persistent'
- 'haskell-persistent-sqlite' 'haskell-persistent-template' 
'haskell-primitive'
- 'haskell-project-template' 'haskell-regex-applicative-text' 
'haskell-retry' 'haskell-rio'
- 'haskell-rio-prettyprint' 'haskell-split' 'haskell-streaming-commons' 
'haskell-tar'
- 'haskell-temporary' 'haskell-text-metrics' 'haskell-th-reify-many' 
'haskell-tls'
- 'haskell-typed-process' 'haskell-unicode-transforms' 
'haskell-unix-compat'
- 'haskell-unliftio' 'haskell-unordered-containers' 'haskell-vector' 
'haskell-yaml'
- 'haskell-zip-archive' 'haskell-zlib')
-makedepends=('ghc' 'git' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-raw-strings-qq'
- 'haskell-smallcheck')
-checkdepends=('cabal-install')
-conflicts=('haskell-stack')
-replaces=('haskell-stack')
-install="stack.install"
-source=("git+https://github.com/commercialhaskell/stack.git#tag=v$pkgver";
-
stack-pantry-0.5.patch::https://github.com/commercialhaskell/stack/pull/5281.patch)
-sha512sums=('SKIP'
-
'9998e6cdc4b80db3490d66c4392a0e9c44c58fa51371bc68fbade48aea6b21f1172905627ade8132d2733a7e4d942b597d5943a5bd3da302aa6c3be616ecd769')
-
-prepare() {
-  cd $pkgname
-  patch -p1 -i ../stack-pantry-0.5.patch
-  sed -i -e '/semigroups/d' $pkgname.cabal
-
-  sed -i 's/map show errs/map show (toList errs)/' src/Stack/SDist.hs
-}
-
-build() {
-  cd $pkgname
-
-  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 -f-integration-tests -f-static 
-f-hide-dependency-versions -f-supported-build \
-  --ghc-option='-pie'
-  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 $pkgname
-  # cabal update
-  LD_LIBRARY_PATH="$PWD"/dist/build PATH="$PWD"/dist/build/stack:"$PATH" 
runhaskell Setup test
-  # Integration tests will result in 4 failures on Arch currently
-}
-
-package() {
-  cd $pkgname
-
-  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 
"${p

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

2020-08-04 Thread Felix Yan via arch-commits
Date: Tuesday, August 4, 2020 @ 16:27:14
  Author: felixonmars
Revision: 668933

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2020-08-04 16:26:57 UTC (rev 668932)
+++ PKGBUILD2020-08-04 16:27:14 UTC (rev 668933)
@@ -1,82 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-pkgname=stack
-pkgver=2.3.1
-pkgrel=73
-pkgdesc="The Haskell Tool Stack"
-url="https://github.com/commercialhaskell/stack";
-license=("BSD")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-aeson' 'haskell-annotated-wl-pprint' 
'haskell-ansi-terminal'
- 'haskell-async' 'haskell-attoparsec' 'haskell-base64-bytestring' 
'haskell-casa-client'
- 'haskell-casa-types' 'haskell-colour' 'haskell-conduit' 
'haskell-conduit-extra'
- 'haskell-cryptonite' 'haskell-cryptonite-conduit' 'haskell-echo'
- 'haskell-extra' 'haskell-file-embed' 'haskell-filelock' 
'haskell-fsnotify'
- 'haskell-generic-deriving' 'haskell-githash' 
'haskell-hackage-security' 'haskell-hashable'
- 'haskell-hi-file-parser' 'haskell-hpack' 'haskell-http-client' 
'haskell-http-client-tls'
- 'haskell-http-conduit' 'haskell-http-download' 'haskell-http-types' 
'haskell-memory'
- 'haskell-microlens' 'haskell-mintty' 'haskell-mono-traversable' 
'haskell-mustache'
- 'haskell-neat-interpolation' 'haskell-network-uri' 
'haskell-open-browser'
- 'haskell-optparse-applicative' 'haskell-optparse-generic' 
'haskell-optparse-simple'
- 'haskell-pantry' 'haskell-path' 'haskell-path-io' 'haskell-persistent'
- 'haskell-persistent-sqlite' 'haskell-persistent-template' 
'haskell-primitive'
- 'haskell-project-template' 'haskell-regex-applicative-text' 
'haskell-retry' 'haskell-rio'
- 'haskell-rio-prettyprint' 'haskell-split' 'haskell-streaming-commons' 
'haskell-tar'
- 'haskell-temporary' 'haskell-text-metrics' 'haskell-th-reify-many' 
'haskell-tls'
- 'haskell-typed-process' 'haskell-unicode-transforms' 
'haskell-unix-compat'
- 'haskell-unliftio' 'haskell-unordered-containers' 'haskell-vector' 
'haskell-yaml'
- 'haskell-zip-archive' 'haskell-zlib')
-makedepends=('ghc' 'git' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-raw-strings-qq'
- 'haskell-smallcheck')
-checkdepends=('cabal-install')
-conflicts=('haskell-stack')
-replaces=('haskell-stack')
-install="stack.install"
-source=("git+https://github.com/commercialhaskell/stack.git#tag=v$pkgver";
-
stack-pantry-0.5.patch::https://github.com/commercialhaskell/stack/pull/5281.patch)
-sha512sums=('SKIP'
-
'9998e6cdc4b80db3490d66c4392a0e9c44c58fa51371bc68fbade48aea6b21f1172905627ade8132d2733a7e4d942b597d5943a5bd3da302aa6c3be616ecd769')
-
-prepare() {
-  cd $pkgname
-  patch -p1 -i ../stack-pantry-0.5.patch
-  sed -i -e '/semigroups/d' $pkgname.cabal
-
-  sed -i 's/map show errs/map show (toList errs)/' src/Stack/SDist.hs
-}
-
-build() {
-  cd $pkgname
-
-  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 -f-integration-tests -f-static 
-f-hide-dependency-versions -f-supported-build \
-  --ghc-option='-pie'
-  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 $pkgname
-  # cabal update
-  LD_LIBRARY_PATH="$PWD"/dist/build PATH="$PWD"/dist/build/stack:"$PATH" 
runhaskell Setup test
-  # Integration tests will result in 4 failures on Arch currently
-}
-
-package() {
-  cd $pkgname
-
-  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 
"${pkg

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

2020-08-04 Thread Felix Yan via arch-commits
Date: Tuesday, August 4, 2020 @ 08:00:11
  Author: felixonmars
Revision: 668728

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2020-08-04 07:59:56 UTC (rev 668727)
+++ PKGBUILD2020-08-04 08:00:11 UTC (rev 668728)
@@ -1,82 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-pkgname=stack
-pkgver=2.3.1
-pkgrel=72
-pkgdesc="The Haskell Tool Stack"
-url="https://github.com/commercialhaskell/stack";
-license=("BSD")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-aeson' 'haskell-annotated-wl-pprint' 
'haskell-ansi-terminal'
- 'haskell-async' 'haskell-attoparsec' 'haskell-base64-bytestring' 
'haskell-casa-client'
- 'haskell-casa-types' 'haskell-colour' 'haskell-conduit' 
'haskell-conduit-extra'
- 'haskell-cryptonite' 'haskell-cryptonite-conduit' 'haskell-echo'
- 'haskell-extra' 'haskell-file-embed' 'haskell-filelock' 
'haskell-fsnotify'
- 'haskell-generic-deriving' 'haskell-githash' 
'haskell-hackage-security' 'haskell-hashable'
- 'haskell-hi-file-parser' 'haskell-hpack' 'haskell-http-client' 
'haskell-http-client-tls'
- 'haskell-http-conduit' 'haskell-http-download' 'haskell-http-types' 
'haskell-memory'
- 'haskell-microlens' 'haskell-mintty' 'haskell-mono-traversable' 
'haskell-mustache'
- 'haskell-neat-interpolation' 'haskell-network-uri' 
'haskell-open-browser'
- 'haskell-optparse-applicative' 'haskell-optparse-generic' 
'haskell-optparse-simple'
- 'haskell-pantry' 'haskell-path' 'haskell-path-io' 'haskell-persistent'
- 'haskell-persistent-sqlite' 'haskell-persistent-template' 
'haskell-primitive'
- 'haskell-project-template' 'haskell-regex-applicative-text' 
'haskell-retry' 'haskell-rio'
- 'haskell-rio-prettyprint' 'haskell-split' 'haskell-streaming-commons' 
'haskell-tar'
- 'haskell-temporary' 'haskell-text-metrics' 'haskell-th-reify-many' 
'haskell-tls'
- 'haskell-typed-process' 'haskell-unicode-transforms' 
'haskell-unix-compat'
- 'haskell-unliftio' 'haskell-unordered-containers' 'haskell-vector' 
'haskell-yaml'
- 'haskell-zip-archive' 'haskell-zlib')
-makedepends=('ghc' 'git' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-raw-strings-qq'
- 'haskell-smallcheck')
-checkdepends=('cabal-install')
-conflicts=('haskell-stack')
-replaces=('haskell-stack')
-install="stack.install"
-source=("git+https://github.com/commercialhaskell/stack.git#tag=v$pkgver";
-
stack-pantry-0.5.patch::https://github.com/commercialhaskell/stack/pull/5281.patch)
-sha512sums=('SKIP'
-
'9998e6cdc4b80db3490d66c4392a0e9c44c58fa51371bc68fbade48aea6b21f1172905627ade8132d2733a7e4d942b597d5943a5bd3da302aa6c3be616ecd769')
-
-prepare() {
-  cd $pkgname
-  patch -p1 -i ../stack-pantry-0.5.patch
-  sed -i -e '/semigroups/d' $pkgname.cabal
-
-  sed -i 's/map show errs/map show (toList errs)/' src/Stack/SDist.hs
-}
-
-build() {
-  cd $pkgname
-
-  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 -f-integration-tests -f-static 
-f-hide-dependency-versions -f-supported-build \
-  --ghc-option='-pie'
-  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 $pkgname
-  # cabal update
-  LD_LIBRARY_PATH="$PWD"/dist/build PATH="$PWD"/dist/build/stack:"$PATH" 
runhaskell Setup test
-  # Integration tests will result in 4 failures on Arch currently
-}
-
-package() {
-  cd $pkgname
-
-  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 
"${pkg

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

2020-08-03 Thread Felix Yan via arch-commits
Date: Monday, August 3, 2020 @ 15:29:47
  Author: felixonmars
Revision: 668417

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2020-08-03 15:29:32 UTC (rev 668416)
+++ PKGBUILD2020-08-03 15:29:47 UTC (rev 668417)
@@ -1,82 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-pkgname=stack
-pkgver=2.3.1
-pkgrel=71
-pkgdesc="The Haskell Tool Stack"
-url="https://github.com/commercialhaskell/stack";
-license=("BSD")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-aeson' 'haskell-annotated-wl-pprint' 
'haskell-ansi-terminal'
- 'haskell-async' 'haskell-attoparsec' 'haskell-base64-bytestring' 
'haskell-casa-client'
- 'haskell-casa-types' 'haskell-colour' 'haskell-conduit' 
'haskell-conduit-extra'
- 'haskell-cryptonite' 'haskell-cryptonite-conduit' 'haskell-echo'
- 'haskell-extra' 'haskell-file-embed' 'haskell-filelock' 
'haskell-fsnotify'
- 'haskell-generic-deriving' 'haskell-githash' 
'haskell-hackage-security' 'haskell-hashable'
- 'haskell-hi-file-parser' 'haskell-hpack' 'haskell-http-client' 
'haskell-http-client-tls'
- 'haskell-http-conduit' 'haskell-http-download' 'haskell-http-types' 
'haskell-memory'
- 'haskell-microlens' 'haskell-mintty' 'haskell-mono-traversable' 
'haskell-mustache'
- 'haskell-neat-interpolation' 'haskell-network-uri' 
'haskell-open-browser'
- 'haskell-optparse-applicative' 'haskell-optparse-generic' 
'haskell-optparse-simple'
- 'haskell-pantry' 'haskell-path' 'haskell-path-io' 'haskell-persistent'
- 'haskell-persistent-sqlite' 'haskell-persistent-template' 
'haskell-primitive'
- 'haskell-project-template' 'haskell-regex-applicative-text' 
'haskell-retry' 'haskell-rio'
- 'haskell-rio-prettyprint' 'haskell-split' 'haskell-streaming-commons' 
'haskell-tar'
- 'haskell-temporary' 'haskell-text-metrics' 'haskell-th-reify-many' 
'haskell-tls'
- 'haskell-typed-process' 'haskell-unicode-transforms' 
'haskell-unix-compat'
- 'haskell-unliftio' 'haskell-unordered-containers' 'haskell-vector' 
'haskell-yaml'
- 'haskell-zip-archive' 'haskell-zlib')
-makedepends=('ghc' 'git' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-raw-strings-qq'
- 'haskell-smallcheck')
-checkdepends=('cabal-install')
-conflicts=('haskell-stack')
-replaces=('haskell-stack')
-install="stack.install"
-source=("git+https://github.com/commercialhaskell/stack.git#tag=v$pkgver";
-
stack-pantry-0.5.patch::https://github.com/commercialhaskell/stack/pull/5281.patch)
-sha512sums=('SKIP'
-
'9998e6cdc4b80db3490d66c4392a0e9c44c58fa51371bc68fbade48aea6b21f1172905627ade8132d2733a7e4d942b597d5943a5bd3da302aa6c3be616ecd769')
-
-prepare() {
-  cd $pkgname
-  patch -p1 -i ../stack-pantry-0.5.patch
-  sed -i -e '/semigroups/d' $pkgname.cabal
-
-  sed -i 's/map show errs/map show (toList errs)/' src/Stack/SDist.hs
-}
-
-build() {
-  cd $pkgname
-
-  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 -f-integration-tests -f-static 
-f-hide-dependency-versions -f-supported-build \
-  --ghc-option='-pie'
-  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 $pkgname
-  # cabal update
-  LD_LIBRARY_PATH="$PWD"/dist/build PATH="$PWD"/dist/build/stack:"$PATH" 
runhaskell Setup test
-  # Integration tests will result in 4 failures on Arch currently
-}
-
-package() {
-  cd $pkgname
-
-  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 
"${pkgd

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

2020-08-02 Thread Felix Yan via arch-commits
Date: Sunday, August 2, 2020 @ 23:05:10
  Author: felixonmars
Revision: 667988

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2020-08-02 23:04:55 UTC (rev 667987)
+++ PKGBUILD2020-08-02 23:05:10 UTC (rev 667988)
@@ -1,82 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-pkgname=stack
-pkgver=2.3.1
-pkgrel=70
-pkgdesc="The Haskell Tool Stack"
-url="https://github.com/commercialhaskell/stack";
-license=("BSD")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-aeson' 'haskell-annotated-wl-pprint' 
'haskell-ansi-terminal'
- 'haskell-async' 'haskell-attoparsec' 'haskell-base64-bytestring' 
'haskell-casa-client'
- 'haskell-casa-types' 'haskell-colour' 'haskell-conduit' 
'haskell-conduit-extra'
- 'haskell-cryptonite' 'haskell-cryptonite-conduit' 'haskell-echo'
- 'haskell-extra' 'haskell-file-embed' 'haskell-filelock' 
'haskell-fsnotify'
- 'haskell-generic-deriving' 'haskell-githash' 
'haskell-hackage-security' 'haskell-hashable'
- 'haskell-hi-file-parser' 'haskell-hpack' 'haskell-http-client' 
'haskell-http-client-tls'
- 'haskell-http-conduit' 'haskell-http-download' 'haskell-http-types' 
'haskell-memory'
- 'haskell-microlens' 'haskell-mintty' 'haskell-mono-traversable' 
'haskell-mustache'
- 'haskell-neat-interpolation' 'haskell-network-uri' 
'haskell-open-browser'
- 'haskell-optparse-applicative' 'haskell-optparse-generic' 
'haskell-optparse-simple'
- 'haskell-pantry' 'haskell-path' 'haskell-path-io' 'haskell-persistent'
- 'haskell-persistent-sqlite' 'haskell-persistent-template' 
'haskell-primitive'
- 'haskell-project-template' 'haskell-regex-applicative-text' 
'haskell-retry' 'haskell-rio'
- 'haskell-rio-prettyprint' 'haskell-split' 'haskell-streaming-commons' 
'haskell-tar'
- 'haskell-temporary' 'haskell-text-metrics' 'haskell-th-reify-many' 
'haskell-tls'
- 'haskell-typed-process' 'haskell-unicode-transforms' 
'haskell-unix-compat'
- 'haskell-unliftio' 'haskell-unordered-containers' 'haskell-vector' 
'haskell-yaml'
- 'haskell-zip-archive' 'haskell-zlib')
-makedepends=('ghc' 'git' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-raw-strings-qq'
- 'haskell-smallcheck')
-checkdepends=('cabal-install')
-conflicts=('haskell-stack')
-replaces=('haskell-stack')
-install="stack.install"
-source=("git+https://github.com/commercialhaskell/stack.git#tag=v$pkgver";
-
stack-pantry-0.5.patch::https://github.com/commercialhaskell/stack/pull/5281.patch)
-sha512sums=('SKIP'
-
'9998e6cdc4b80db3490d66c4392a0e9c44c58fa51371bc68fbade48aea6b21f1172905627ade8132d2733a7e4d942b597d5943a5bd3da302aa6c3be616ecd769')
-
-prepare() {
-  cd $pkgname
-  patch -p1 -i ../stack-pantry-0.5.patch
-  sed -i -e '/semigroups/d' $pkgname.cabal
-
-  sed -i 's/map show errs/map show (toList errs)/' src/Stack/SDist.hs
-}
-
-build() {
-  cd $pkgname
-
-  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 -f-integration-tests -f-static 
-f-hide-dependency-versions -f-supported-build \
-  --ghc-option='-pie'
-  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 $pkgname
-  # cabal update
-  LD_LIBRARY_PATH="$PWD"/dist/build PATH="$PWD"/dist/build/stack:"$PATH" 
runhaskell Setup test
-  # Integration tests will result in 4 failures on Arch currently
-}
-
-package() {
-  cd $pkgname
-
-  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 
"${pkgd

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

2020-08-02 Thread Felix Yan via arch-commits
Date: Sunday, August 2, 2020 @ 20:43:33
  Author: felixonmars
Revision: 667870

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2020-08-02 20:43:19 UTC (rev 667869)
+++ PKGBUILD2020-08-02 20:43:33 UTC (rev 667870)
@@ -1,82 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-pkgname=stack
-pkgver=2.3.1
-pkgrel=69
-pkgdesc="The Haskell Tool Stack"
-url="https://github.com/commercialhaskell/stack";
-license=("BSD")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-aeson' 'haskell-annotated-wl-pprint' 
'haskell-ansi-terminal'
- 'haskell-async' 'haskell-attoparsec' 'haskell-base64-bytestring' 
'haskell-casa-client'
- 'haskell-casa-types' 'haskell-colour' 'haskell-conduit' 
'haskell-conduit-extra'
- 'haskell-cryptonite' 'haskell-cryptonite-conduit' 'haskell-echo'
- 'haskell-extra' 'haskell-file-embed' 'haskell-filelock' 
'haskell-fsnotify'
- 'haskell-generic-deriving' 'haskell-githash' 
'haskell-hackage-security' 'haskell-hashable'
- 'haskell-hi-file-parser' 'haskell-hpack' 'haskell-http-client' 
'haskell-http-client-tls'
- 'haskell-http-conduit' 'haskell-http-download' 'haskell-http-types' 
'haskell-memory'
- 'haskell-microlens' 'haskell-mintty' 'haskell-mono-traversable' 
'haskell-mustache'
- 'haskell-neat-interpolation' 'haskell-network-uri' 
'haskell-open-browser'
- 'haskell-optparse-applicative' 'haskell-optparse-generic' 
'haskell-optparse-simple'
- 'haskell-pantry' 'haskell-path' 'haskell-path-io' 'haskell-persistent'
- 'haskell-persistent-sqlite' 'haskell-persistent-template' 
'haskell-primitive'
- 'haskell-project-template' 'haskell-regex-applicative-text' 
'haskell-retry' 'haskell-rio'
- 'haskell-rio-prettyprint' 'haskell-split' 'haskell-streaming-commons' 
'haskell-tar'
- 'haskell-temporary' 'haskell-text-metrics' 'haskell-th-reify-many' 
'haskell-tls'
- 'haskell-typed-process' 'haskell-unicode-transforms' 
'haskell-unix-compat'
- 'haskell-unliftio' 'haskell-unordered-containers' 'haskell-vector' 
'haskell-yaml'
- 'haskell-zip-archive' 'haskell-zlib')
-makedepends=('ghc' 'git' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-raw-strings-qq'
- 'haskell-smallcheck')
-checkdepends=('cabal-install')
-conflicts=('haskell-stack')
-replaces=('haskell-stack')
-install="stack.install"
-source=("git+https://github.com/commercialhaskell/stack.git#tag=v$pkgver";
-
stack-pantry-0.5.patch::https://github.com/commercialhaskell/stack/pull/5281.patch)
-sha512sums=('SKIP'
-
'9998e6cdc4b80db3490d66c4392a0e9c44c58fa51371bc68fbade48aea6b21f1172905627ade8132d2733a7e4d942b597d5943a5bd3da302aa6c3be616ecd769')
-
-prepare() {
-  cd $pkgname
-  patch -p1 -i ../stack-pantry-0.5.patch
-  sed -i -e '/semigroups/d' $pkgname.cabal
-
-  sed -i 's/map show errs/map show (toList errs)/' src/Stack/SDist.hs
-}
-
-build() {
-  cd $pkgname
-
-  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 -f-integration-tests -f-static 
-f-hide-dependency-versions -f-supported-build \
-  --ghc-option='-pie'
-  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 $pkgname
-  # cabal update
-  LD_LIBRARY_PATH="$PWD"/dist/build PATH="$PWD"/dist/build/stack:"$PATH" 
runhaskell Setup test
-  # Integration tests will result in 4 failures on Arch currently
-}
-
-package() {
-  cd $pkgname
-
-  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 
"${pkgd

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

2020-08-02 Thread Felix Yan via arch-commits
Date: Sunday, August 2, 2020 @ 17:19:50
  Author: felixonmars
Revision: 667834

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2020-08-02 17:19:31 UTC (rev 667833)
+++ PKGBUILD2020-08-02 17:19:50 UTC (rev 667834)
@@ -1,82 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-pkgname=stack
-pkgver=2.3.1
-pkgrel=68
-pkgdesc="The Haskell Tool Stack"
-url="https://github.com/commercialhaskell/stack";
-license=("BSD")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-aeson' 'haskell-annotated-wl-pprint' 
'haskell-ansi-terminal'
- 'haskell-async' 'haskell-attoparsec' 'haskell-base64-bytestring' 
'haskell-casa-client'
- 'haskell-casa-types' 'haskell-colour' 'haskell-conduit' 
'haskell-conduit-extra'
- 'haskell-cryptonite' 'haskell-cryptonite-conduit' 'haskell-echo'
- 'haskell-extra' 'haskell-file-embed' 'haskell-filelock' 
'haskell-fsnotify'
- 'haskell-generic-deriving' 'haskell-githash' 
'haskell-hackage-security' 'haskell-hashable'
- 'haskell-hi-file-parser' 'haskell-hpack' 'haskell-http-client' 
'haskell-http-client-tls'
- 'haskell-http-conduit' 'haskell-http-download' 'haskell-http-types' 
'haskell-memory'
- 'haskell-microlens' 'haskell-mintty' 'haskell-mono-traversable' 
'haskell-mustache'
- 'haskell-neat-interpolation' 'haskell-network-uri' 
'haskell-open-browser'
- 'haskell-optparse-applicative' 'haskell-optparse-generic' 
'haskell-optparse-simple'
- 'haskell-pantry' 'haskell-path' 'haskell-path-io' 'haskell-persistent'
- 'haskell-persistent-sqlite' 'haskell-persistent-template' 
'haskell-primitive'
- 'haskell-project-template' 'haskell-regex-applicative-text' 
'haskell-retry' 'haskell-rio'
- 'haskell-rio-prettyprint' 'haskell-split' 'haskell-streaming-commons' 
'haskell-tar'
- 'haskell-temporary' 'haskell-text-metrics' 'haskell-th-reify-many' 
'haskell-tls'
- 'haskell-typed-process' 'haskell-unicode-transforms' 
'haskell-unix-compat'
- 'haskell-unliftio' 'haskell-unordered-containers' 'haskell-vector' 
'haskell-yaml'
- 'haskell-zip-archive' 'haskell-zlib')
-makedepends=('ghc' 'git' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-raw-strings-qq'
- 'haskell-smallcheck')
-checkdepends=('cabal-install')
-conflicts=('haskell-stack')
-replaces=('haskell-stack')
-install="stack.install"
-source=("git+https://github.com/commercialhaskell/stack.git#tag=v$pkgver";
-
stack-pantry-0.5.patch::https://github.com/commercialhaskell/stack/pull/5281.patch)
-sha512sums=('SKIP'
-
'9998e6cdc4b80db3490d66c4392a0e9c44c58fa51371bc68fbade48aea6b21f1172905627ade8132d2733a7e4d942b597d5943a5bd3da302aa6c3be616ecd769')
-
-prepare() {
-  cd $pkgname
-  patch -p1 -i ../stack-pantry-0.5.patch
-  sed -i -e '/semigroups/d' $pkgname.cabal
-
-  sed -i 's/map show errs/map show (toList errs)/' src/Stack/SDist.hs
-}
-
-build() {
-  cd $pkgname
-
-  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 -f-integration-tests -f-static 
-f-hide-dependency-versions -f-supported-build \
-  --ghc-option='-pie'
-  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 $pkgname
-  # cabal update
-  LD_LIBRARY_PATH="$PWD"/dist/build PATH="$PWD"/dist/build/stack:"$PATH" 
runhaskell Setup test
-  # Integration tests will result in 4 failures on Arch currently
-}
-
-package() {
-  cd $pkgname
-
-  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 
"${pkgd

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

2020-06-07 Thread Felix Yan via arch-commits
Date: Sunday, June 7, 2020 @ 08:29:48
  Author: felixonmars
Revision: 639732

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2020-06-07 08:29:28 UTC (rev 639731)
+++ PKGBUILD2020-06-07 08:29:48 UTC (rev 639732)
@@ -1,79 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-pkgname=stack
-pkgver=2.3.1
-pkgrel=30
-pkgdesc="The Haskell Tool Stack"
-url="https://github.com/commercialhaskell/stack";
-license=("BSD")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-aeson' 'haskell-annotated-wl-pprint' 
'haskell-ansi-terminal'
- 'haskell-async' 'haskell-attoparsec' 'haskell-base64-bytestring' 
'haskell-casa-client'
- 'haskell-casa-types' 'haskell-colour' 'haskell-conduit' 
'haskell-conduit-extra'
- 'haskell-cryptonite' 'haskell-cryptonite-conduit' 'haskell-echo'
- 'haskell-extra' 'haskell-file-embed' 'haskell-filelock' 
'haskell-fsnotify'
- 'haskell-generic-deriving' 'haskell-githash' 
'haskell-hackage-security' 'haskell-hashable'
- 'haskell-hi-file-parser' 'haskell-hpack' 'haskell-http-client' 
'haskell-http-client-tls'
- 'haskell-http-conduit' 'haskell-http-download' 'haskell-http-types' 
'haskell-memory'
- 'haskell-microlens' 'haskell-mintty' 'haskell-mono-traversable' 
'haskell-mustache'
- 'haskell-neat-interpolation' 'haskell-network-uri' 
'haskell-open-browser'
- 'haskell-optparse-applicative' 'haskell-optparse-generic' 
'haskell-optparse-simple'
- 'haskell-pantry' 'haskell-path' 'haskell-path-io' 'haskell-persistent'
- 'haskell-persistent-sqlite' 'haskell-persistent-template' 
'haskell-primitive'
- 'haskell-project-template' 'haskell-regex-applicative-text' 
'haskell-retry' 'haskell-rio'
- 'haskell-rio-prettyprint' 'haskell-split' 'haskell-streaming-commons' 
'haskell-tar'
- 'haskell-temporary' 'haskell-text-metrics' 'haskell-th-reify-many' 
'haskell-tls'
- 'haskell-typed-process' 'haskell-unicode-transforms' 
'haskell-unix-compat'
- 'haskell-unliftio' 'haskell-unordered-containers' 'haskell-vector' 
'haskell-yaml'
- 'haskell-zip-archive' 'haskell-zlib')
-makedepends=('ghc' 'git' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-raw-strings-qq'
- 'haskell-smallcheck')
-checkdepends=('cabal-install')
-conflicts=('haskell-stack')
-replaces=('haskell-stack')
-install="stack.install"
-source=("git+https://github.com/commercialhaskell/stack.git#tag=v$pkgver";)
-sha512sums=('SKIP')
-
-prepare() {
-  cd $pkgname
-  sed -i -e '/semigroups/d' $pkgname.cabal
-
-  sed -i 's/map show errs/map show (toList errs)/' src/Stack/SDist.hs
-}
-
-build() {
-  cd $pkgname
-
-  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 -f-integration-tests -f-static 
-f-hide-dependency-versions -f-supported-build \
-  --ghc-option='-pie'
-  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 $pkgname
-  # cabal update
-  LD_LIBRARY_PATH="$PWD"/dist/build PATH="$PWD"/dist/build/stack:"$PATH" 
runhaskell Setup test
-  # Integration tests will result in 4 failures on Arch currently
-}
-
-package() {
-  cd $pkgname
-
-  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/PKGBUILD (from rev 639731, 
stack/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD20

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

2019-10-18 Thread Felix Yan via arch-commits
Date: Friday, October 18, 2019 @ 16:28:32
  Author: felixonmars
Revision: 516885

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2019-10-18 16:28:22 UTC (rev 516884)
+++ PKGBUILD2019-10-18 16:28:32 UTC (rev 516885)
@@ -1,83 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-pkgname=stack
-pkgver=2.1.3
-pkgrel=49
-pkgdesc="The Haskell Tool Stack"
-url="https://github.com/commercialhaskell/stack";
-license=("BSD")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-aeson' 'haskell-annotated-wl-pprint' 
'haskell-ansi-terminal'
- 'haskell-async' 'haskell-attoparsec' 'haskell-base64-bytestring' 
'haskell-colour'
- 'haskell-conduit' 'haskell-conduit-extra' 'haskell-cryptonite' 
'haskell-cryptonite-conduit'
- 'haskell-echo' 'haskell-exceptions' 'haskell-extra' 
'haskell-file-embed' 'haskell-filelock'
- 'haskell-fsnotify' 'haskell-generic-deriving' 'haskell-githash' 
'haskell-hackage-security'
- 'haskell-hashable' 'haskell-hi-file-parser' 'haskell-hpack' 
'haskell-http-client'
- 'haskell-http-client-tls' 'haskell-http-conduit' 
'haskell-http-download'
- 'haskell-http-types' 'haskell-memory' 'haskell-microlens' 
'haskell-mintty'
- 'haskell-mono-traversable' 'haskell-mustache' 
'haskell-neat-interpolation'
- 'haskell-network-uri' 'haskell-open-browser' 
'haskell-optparse-applicative'
- 'haskell-optparse-generic' 'haskell-optparse-simple' 'haskell-pantry' 
'haskell-path'
- 'haskell-path-io' 'haskell-persistent' 'haskell-persistent-sqlite'
- 'haskell-persistent-template' 'haskell-primitive' 
'haskell-project-template'
- 'haskell-regex-applicative-text' 'haskell-resource-pool' 
'haskell-resourcet'
- 'haskell-retry' 'haskell-rio' 'haskell-rio-prettyprint' 
'haskell-split'
- 'haskell-streaming-commons' 'haskell-tar' 'haskell-temporary' 
'haskell-terminal-size'
- 'haskell-text-metrics' 'haskell-th-reify-many' 'haskell-tls' 
'haskell-typed-process'
- 'haskell-unicode-transforms' 'haskell-unix-compat' 'haskell-unliftio'
- 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml' 
'haskell-zip-archive'
- 'haskell-zlib' 'haskell-bindings-uname')
-makedepends=('ghc' 'git' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-raw-strings-qq'
- 'haskell-smallcheck')
-checkdepends=('cabal-install')
-conflicts=('haskell-stack')
-replaces=('haskell-stack')
-install="stack.install"
-source=("git+https://github.com/commercialhaskell/stack.git#tag=v$pkgver";
-
https://github.com/commercialhaskell/stack/commit/62c24fa0552dc722260f1cee75325145e837ab6a.patch)
-sha512sums=('SKIP'
-
'99bb04cf6581a8d712413822f834856b036b37ab2ae41307e82a7064b12cdfa43c6ccc60adfa870057f9ba197e1ae4eda144a7088306630400c0798a2b60d9c6')
-
-prepare() {
-  cd $pkgname
-  patch -p1 -i ../62c24fa0552dc722260f1cee75325145e837ab6a.patch || :
-  hpack
-  sed -i -e '/semigroups/d' $pkgname.cabal
-
-  sed -i '1i {-# LANGUAGE UndecidableInstances #-}' 
src/Stack/Storage/{User,Project}.hs
-}
-
-build() {
-  cd $pkgname
-
-  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 -f-integration-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
-  # cabal update
-  LD_LIBRARY_PATH="$PWD"/dist/build PATH="$PWD"/dist/build/stack:"$PATH" 
runhaskell Setup test
-  # Integration tests will result in 4 failures on Arch currently
-}
-
-package() {
-  cd $pkgname
-
-  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/bi

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

2019-01-21 Thread Felix Yan via arch-commits
Date: Monday, January 21, 2019 @ 18:49:29
  Author: felixonmars
Revision: 426295

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2019-01-21 18:49:12 UTC (rev 426294)
+++ PKGBUILD2019-01-21 18:49:29 UTC (rev 426295)
@@ -1,75 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-pkgname=stack
-pkgver=1.9.3
-pkgrel=38
-pkgdesc="The Haskell Tool Stack"
-url="https://github.com/commercialhaskell/stack";
-license=("BSD")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-aeson' 'haskell-annotated-wl-pprint' 
'haskell-ansi-terminal'
- 'haskell-async' 'haskell-attoparsec' 'haskell-base64-bytestring' 
'haskell-conduit'
- 'haskell-conduit-extra' 'haskell-cryptonite' 
'haskell-cryptonite-conduit' 'haskell-echo'
- 'haskell-exceptions' 'haskell-extra' 'haskell-file-embed' 
'haskell-filelock'
- 'haskell-fsnotify' 'haskell-generic-deriving' 'haskell-githash' 
'haskell-hackage-security'
- 'haskell-hashable' 'haskell-hpack' 'haskell-hpc' 'haskell-http-client'
- 'haskell-http-client-tls' 'haskell-http-conduit' 'haskell-http-types' 
'haskell-memory'
- 'haskell-microlens' 'haskell-mintty' 'haskell-monad-logger' 
'haskell-mono-traversable'
- 'haskell-mustache' '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-primitive' 'haskell-project-template' 
'haskell-regex-applicative-text'
- 'haskell-resourcet' 'haskell-retry' 'haskell-rio' 'haskell-split' 
'haskell-store'
- 'haskell-store-core' 'haskell-streaming-commons' 'haskell-tar' 
'haskell-temporary'
- 'haskell-text-metrics' 'haskell-th-reify-many' 'haskell-tls' 
'haskell-typed-process'
- 'haskell-unicode-transforms' 'haskell-unix-compat' 'haskell-unliftio'
- 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml' 
'haskell-zip-archive'
- 'haskell-zlib' 'haskell-bindings-uname')
-makedepends=('ghc' 'git' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-smallcheck')
-checkdepends=('cabal-install')
-conflicts=('haskell-stack')
-replaces=('haskell-stack')
-install="stack.install"
-source=("git+https://github.com/commercialhaskell/stack.git#tag=v$pkgver";)
-sha512sums=('SKIP')
-
-prepare() {
-  cd $pkgname
-  hpack
-  sed -i '/semigroups/d' $pkgname.cabal
-}
-
-build() {
-  cd $pkgname
-
-  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 -f-integration-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
-  # cabal update
-  LD_LIBRARY_PATH="$PWD"/dist/build PATH="$PWD"/dist/build/stack:"$PATH" 
runhaskell Setup test
-  # Integration tests will result in 4 failures on Arch currently
-}
-
-package() {
-  cd $pkgname
-
-  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/PKGBUILD (from rev 426294, 
stack/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2019-01-21 18:49:29 UTC (rev 426295)
@@ -0,0 +1,75 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=stack
+pkgver=1.9.3
+pkgrel=39
+pkgdesc="The Haskell Tool 

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

2018-03-29 Thread Felix Yan via arch-commits
Date: Thursday, March 29, 2018 @ 08:34:12
  Author: felixonmars
Revision: 313326

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2018-03-29 08:33:48 UTC (rev 313325)
+++ PKGBUILD2018-03-29 08:34:12 UTC (rev 313326)
@@ -1,76 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-pkgname=stack
-pkgver=1.6.5
-pkgrel=62
-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=('416e2e128554c7acd2896a915af6d47d9bf7743c98175b897c4b3714431203283f9706d1ceeed2fe64c4b403cdaca3fb0d1d3d5c8e6edfde3b80c1aa515fb351')
-
-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 -f-integration-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
-  # Integration tests will result in 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-staging-x86_64/PKGBUILD (from rev 313325, 
stack/trunk/PKGBUILD)

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

2018-03-05 Thread Felix Yan via arch-commits
Date: Monday, March 5, 2018 @ 16:50:22
  Author: felixonmars
Revision: 302805

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2018-03-05 16:26:14 UTC (rev 302804)
+++ PKGBUILD2018-03-05 16:50:22 UTC (rev 302805)
@@ -1,76 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-pkgname=stack
-pkgver=1.6.5
-pkgrel=17
-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=('416e2e128554c7acd2896a915af6d47d9bf7743c98175b897c4b3714431203283f9706d1ceeed2fe64c4b403cdaca3fb0d1d3d5c8e6edfde3b80c1aa515fb351')
-
-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 -f-integration-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
-  # Integration tests will result in 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-staging-x86_64/PKGBUILD (from rev 302804, 
stack/trunk/PKGBUILD)
===

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

2018-03-02 Thread Felix Yan via arch-commits
Date: Friday, March 2, 2018 @ 14:32:44
  Author: felixonmars
Revision: 301353

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2018-03-02 14:32:19 UTC (rev 301352)
+++ PKGBUILD2018-03-02 14:32:44 UTC (rev 301353)
@@ -1,76 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-pkgname=stack
-pkgver=1.6.5
-pkgrel=8
-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=('416e2e128554c7acd2896a915af6d47d9bf7743c98175b897c4b3714431203283f9706d1ceeed2fe64c4b403cdaca3fb0d1d3d5c8e6edfde3b80c1aa515fb351')
-
-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 -f-integration-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
-  # Integration tests will result in 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-staging-x86_64/PKGBUILD (from rev 301352, 
stack/trunk/PKGBUILD)

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

2018-02-21 Thread Felix Yan via arch-commits
Date: Wednesday, February 21, 2018 @ 21:31:33
  Author: felixonmars
Revision: 296818

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2018-02-21 21:31:08 UTC (rev 296817)
+++ PKGBUILD2018-02-21 21:31:33 UTC (rev 296818)
@@ -1,76 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-pkgname=stack
-pkgver=1.6.3.1
-pkgrel=2
-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=('4f7d5c4529bb2ef0837c258ce341db7e3879cfb8cfe015df429012616cff2c3f0c24398554a02902902bae0f759e46cb13856655ef49e7abb8dfaea8feb502ae')
-
-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 -f-integration-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
-  # Integration tests will result in 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-staging-x86_64/PKGBUILD (from rev 296817, 
stack/trunk/PKGBUILD)
===

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

2017-04-13 Thread Felix Yan
Date: Thursday, April 13, 2017 @ 20:06:37
  Author: felixonmars
Revision: 222934

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

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2017-04-13 19:54:58 UTC (rev 222933)
+++ PKGBUILD2017-04-13 20:06:37 UTC (rev 222934)
@@ -1,87 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-pkgbase=stack
-pkgname=(stack haskell-stack)
-pkgver=1.4.0
-pkgrel=26
-pkgdesc="The Haskell Tool Stack"
-url="https://github.com/commercialhaskell/stack";
-license=("custom:BSD3")
-arch=('i686' 'x86_64')
-makedepends=("ghc=8.0.1" "haskell-aeson" "haskell-annotated-wl-pprint" 
"haskell-ansi-terminal"
- "haskell-async" "haskell-attoparsec" "haskell-base-compat" 
"haskell-base64-bytestring"
- "haskell-binary-tagged" "haskell-blaze-builder" "haskell-clock" 
"haskell-conduit"
- "haskell-conduit-extra" "haskell-cryptonite" 
"haskell-cryptonite-conduit"
- "haskell-either" "haskell-errors" "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-hit" 
"haskell-http-client"
- "haskell-http-client-tls" "haskell-http-conduit" 
"haskell-http-types" "haskell-hpack"
- "haskell-lifted-async" "haskell-lifted-base" "haskell-memory" 
"haskell-microlens"
- "haskell-microlens-mtl" "haskell-monad-control" 
"haskell-monad-logger"
- "haskell-monad-unlift" "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-project-template"
- "haskell-regex-applicative-text" "haskell-resourcet" 
"haskell-retry" "haskell-safe"
- "haskell-safe-exceptions" "haskell-semigroups" "haskell-split" 
"haskell-stm"
- "haskell-store" "haskell-streaming-commons" "haskell-tar" 
"haskell-temporary"
- "haskell-text" "haskell-text-binary" "haskell-text-metrics" 
"haskell-tls"
- "haskell-transformers-base" "haskell-unicode-transforms" 
"haskell-unix-compat"
- "haskell-unordered-containers" "haskell-vector" 
"haskell-vector-binary-instances"
- "haskell-yaml" "haskell-zip-archive" "haskell-zlib")
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/commercialhaskell/stack/archive/v$pkgver.tar.gz";
-
"store-0.4.patch::https://github.com/commercialhaskell/stack/commit/d3637126b9045b266d2e53387e183915cb4a912d.patch";)
-sha256sums=('595d311ad117e41ad908b7065743917542b40f343d1334673e98171ee74d36e6'
-'63d0f620dcbde3a7f236aadab32f5fa3e2b93741dcf462392624bb30b6b49c16')
-
-prepare() {
-cd "${srcdir}/${pkgbase}-${pkgver}"
-patch -p1 -i ../store-0.4.patch
-}
-
-build() {
-cd "${srcdir}/${pkgbase}-${pkgver}"
-
-runhaskell Setup configure -O --enable-library-profiling --enable-shared \
---prefix=/usr --docdir="/usr/share/doc/${pkgbase}" \
---libsubdir=\$compiler/site-local/\$pkgid \
--f-disable-git-info -f-integration-tests -f-static 
-f-hide-dependency-versions
-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_stack() {
-depends=('gmp' 'libffi' 'zlib')
-optdepends=('ghc')
-install="stack.install"
-
-cd "${srcdir}/${pkgbase}-${pkgver}"
-runhaskell Setup copy --destdir="${pkgdir}"
-rm -r "$pkgdir"/usr/{lib,share/doc}
-install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-
-"${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"
-}
-
-package_haskell-stack() {
-pkgdesc="The Haskell Tool Stack (docs and libraries)"
-depends=("${makedepends[@]}" 'stack')
-
-cd "${srcdir}/${pkgbase}-${pkgver}"
-
-