[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2022-09-05 Thread Felix Yan via arch-commits
Date: Monday, September 5, 2022 @ 19:44:44
  Author: felixonmars
Revision: 1293125

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1293124, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1293124, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-09-05 19:44:44 UTC (rev 1293125)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.10.0
+pkgrel=1
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock' 'haskell-ghc'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-base-orphans' 'haskell-hspec-meta' 'haskell-silently' 
'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('f284bc105b2920449879dc19656235e971f27320979cab6b1853261094dc54cda39c1bae5318a9843b9153dc4060fcbb17bbf5704be868cfcdc301d393a2a136')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2022-08-29 Thread Felix Yan via arch-commits
Date: Monday, August 29, 2022 @ 19:29:13
  Author: felixonmars
Revision: 1285655

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1285654, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1285654, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-29 19:29:13 UTC (rev 1285655)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.9.7
+pkgrel=50
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock' 'haskell-ghc'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-base-orphans' 'haskell-hspec-meta' 'haskell-silently' 
'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e44c20d3b2d9c827017f06467c760d014dee9938fe76ec18f40f0fc2527b3d7d653290eb6f9c2df994b5b997373f899a7bd6c2e8f487ed92c43c61fb9c4366b1')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2022-08-26 Thread Felix Yan via arch-commits
Date: Friday, August 26, 2022 @ 10:54:48
  Author: felixonmars
Revision: 1281766

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1281765, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1281765, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-26 10:54:48 UTC (rev 1281766)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.9.7
+pkgrel=46
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock' 'haskell-ghc'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-base-orphans' 'haskell-hspec-meta' 'haskell-silently' 
'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e44c20d3b2d9c827017f06467c760d014dee9938fe76ec18f40f0fc2527b3d7d653290eb6f9c2df994b5b997373f899a7bd6c2e8f487ed92c43c61fb9c4366b1')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2022-08-24 Thread Felix Yan via arch-commits
Date: Wednesday, August 24, 2022 @ 18:57:53
  Author: felixonmars
Revision: 1276709

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1276707, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1276707, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-24 18:57:53 UTC (rev 1276709)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.9.7
+pkgrel=41
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock' 'haskell-ghc'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-base-orphans' 'haskell-hspec-meta' 'haskell-silently' 
'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e44c20d3b2d9c827017f06467c760d014dee9938fe76ec18f40f0fc2527b3d7d653290eb6f9c2df994b5b997373f899a7bd6c2e8f487ed92c43c61fb9c4366b1')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2022-08-18 Thread Felix Yan via arch-commits
Date: Thursday, August 18, 2022 @ 17:46:34
  Author: felixonmars
Revision: 1268231

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1268230, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1268230, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-18 17:46:34 UTC (rev 1268231)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.9.7
+pkgrel=36
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock' 'haskell-ghc'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-base-orphans' 'haskell-hspec-meta' 'haskell-silently' 
'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e44c20d3b2d9c827017f06467c760d014dee9938fe76ec18f40f0fc2527b3d7d653290eb6f9c2df994b5b997373f899a7bd6c2e8f487ed92c43c61fb9c4366b1')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2022-08-08 Thread Felix Yan via arch-commits
Date: Monday, August 8, 2022 @ 13:20:01
  Author: felixonmars
Revision: 1260721

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1260720, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1260720, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-08 13:20:01 UTC (rev 1260721)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.9.7
+pkgrel=32
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock' 'haskell-ghc'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-base-orphans' 'haskell-hspec-meta' 'haskell-silently' 
'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e44c20d3b2d9c827017f06467c760d014dee9938fe76ec18f40f0fc2527b3d7d653290eb6f9c2df994b5b997373f899a7bd6c2e8f487ed92c43c61fb9c4366b1')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2022-07-24 Thread Felix Yan via arch-commits
Date: Monday, July 25, 2022 @ 03:25:31
  Author: felixonmars
Revision: 1256093

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1256092, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1256092, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-25 03:25:31 UTC (rev 1256093)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.9.7
+pkgrel=28
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock' 'haskell-ghc'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-base-orphans' 'haskell-hspec-meta' 'haskell-silently' 
'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e44c20d3b2d9c827017f06467c760d014dee9938fe76ec18f40f0fc2527b3d7d653290eb6f9c2df994b5b997373f899a7bd6c2e8f487ed92c43c61fb9c4366b1')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2022-07-11 Thread Felix Yan via arch-commits
Date: Tuesday, July 12, 2022 @ 01:19:09
  Author: felixonmars
Revision: 1249904

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1249903, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1249903, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-12 01:19:09 UTC (rev 1249904)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.9.7
+pkgrel=24
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock' 'haskell-ghc'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-base-orphans' 'haskell-hspec-meta' 'haskell-silently' 
'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e44c20d3b2d9c827017f06467c760d014dee9938fe76ec18f40f0fc2527b3d7d653290eb6f9c2df994b5b997373f899a7bd6c2e8f487ed92c43c61fb9c4366b1')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2022-07-05 Thread Felix Yan via arch-commits
Date: Tuesday, July 5, 2022 @ 11:00:53
  Author: felixonmars
Revision: 1244201

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1244200, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1244200, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-05 11:00:53 UTC (rev 1244201)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.9.7
+pkgrel=21
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock' 'haskell-ghc'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-base-orphans' 'haskell-hspec-meta' 'haskell-silently' 
'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e44c20d3b2d9c827017f06467c760d014dee9938fe76ec18f40f0fc2527b3d7d653290eb6f9c2df994b5b997373f899a7bd6c2e8f487ed92c43c61fb9c4366b1')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2022-06-29 Thread Felix Yan via arch-commits
Date: Wednesday, June 29, 2022 @ 13:32:50
  Author: felixonmars
Revision: 1240418

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1240417, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1240417, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-29 13:32:50 UTC (rev 1240418)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.9.7
+pkgrel=17
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock' 'haskell-ghc'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-base-orphans' 'haskell-hspec-meta' 'haskell-silently' 
'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e44c20d3b2d9c827017f06467c760d014dee9938fe76ec18f40f0fc2527b3d7d653290eb6f9c2df994b5b997373f899a7bd6c2e8f487ed92c43c61fb9c4366b1')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2022-06-11 Thread Felix Yan via arch-commits
Date: Saturday, June 11, 2022 @ 18:41:41
  Author: felixonmars
Revision: 1234451

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1234450, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1234450, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-11 18:41:41 UTC (rev 1234451)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.9.7
+pkgrel=14
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock' 'haskell-ghc'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-base-orphans' 'haskell-hspec-meta' 'haskell-silently' 
'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e44c20d3b2d9c827017f06467c760d014dee9938fe76ec18f40f0fc2527b3d7d653290eb6f9c2df994b5b997373f899a7bd6c2e8f487ed92c43c61fb9c4366b1')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2022-06-10 Thread Felix Yan via arch-commits
Date: Friday, June 10, 2022 @ 15:18:48
  Author: felixonmars
Revision: 1230420

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1230419, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1230419, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-10 15:18:48 UTC (rev 1230420)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.9.7
+pkgrel=8
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock' 'haskell-ghc'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-base-orphans' 'haskell-hspec-meta' 'haskell-silently' 
'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e44c20d3b2d9c827017f06467c760d014dee9938fe76ec18f40f0fc2527b3d7d653290eb6f9c2df994b5b997373f899a7bd6c2e8f487ed92c43c61fb9c4366b1')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2022-06-05 Thread Felix Yan via arch-commits
Date: Sunday, June 5, 2022 @ 15:02:55
  Author: felixonmars
Revision: 1222885

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1222884, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1222884, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-05 15:02:55 UTC (rev 1222885)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.9.7
+pkgrel=1
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock' 'haskell-ghc'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-base-orphans' 'haskell-hspec-meta' 'haskell-silently' 
'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e44c20d3b2d9c827017f06467c760d014dee9938fe76ec18f40f0fc2527b3d7d653290eb6f9c2df994b5b997373f899a7bd6c2e8f487ed92c43c61fb9c4366b1')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2022-06-02 Thread Felix Yan via arch-commits
Date: Thursday, June 2, 2022 @ 19:52:35
  Author: felixonmars
Revision: 1219018

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1219017, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1219017, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-02 19:52:35 UTC (rev 1219018)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.9.6
+pkgrel=25
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock' 'haskell-ghc'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-base-orphans' 'haskell-hspec-meta' 'haskell-silently' 
'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('44b06d0b06992f86f309d115f6c3df51e2d07cb1e65811e09282a7e012d7f2b9e21e904ee93b54ad8dcf72687702de72084d160d6bfce25e6e928585287c9673')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2022-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 30, 2022 @ 07:07:06
  Author: felixonmars
Revision: 1214860

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1214859, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1214859, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-30 07:07:06 UTC (rev 1214860)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.9.6
+pkgrel=19
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock' 'haskell-ghc'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-base-orphans' 'haskell-hspec-meta' 'haskell-silently' 
'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('44b06d0b06992f86f309d115f6c3df51e2d07cb1e65811e09282a7e012d7f2b9e21e904ee93b54ad8dcf72687702de72084d160d6bfce25e6e928585287c9673')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2022-05-28 Thread Felix Yan via arch-commits
Date: Saturday, May 28, 2022 @ 12:32:38
  Author: felixonmars
Revision: 1211170

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1211169, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1211169, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-28 12:32:38 UTC (rev 1211170)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.9.6
+pkgrel=13
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock' 'haskell-ghc'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-base-orphans' 'haskell-hspec-meta' 'haskell-silently' 
'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('44b06d0b06992f86f309d115f6c3df51e2d07cb1e65811e09282a7e012d7f2b9e21e904ee93b54ad8dcf72687702de72084d160d6bfce25e6e928585287c9673')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2022-05-14 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 10:44:29
  Author: felixonmars
Revision: 1203704

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1203703, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1203703, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 10:44:29 UTC (rev 1203704)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.9.6
+pkgrel=10
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock' 'haskell-ghc'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-base-orphans' 'haskell-hspec-meta' 'haskell-silently' 
'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('44b06d0b06992f86f309d115f6c3df51e2d07cb1e65811e09282a7e012d7f2b9e21e904ee93b54ad8dcf72687702de72084d160d6bfce25e6e928585287c9673')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2022-05-13 Thread Felix Yan via arch-commits
Date: Friday, May 13, 2022 @ 06:01:51
  Author: felixonmars
Revision: 1200245

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1200244, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1200244, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-13 06:01:51 UTC (rev 1200245)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.9.6
+pkgrel=6
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock' 'haskell-ghc'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-base-orphans' 'haskell-hspec-meta' 'haskell-silently' 
'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('44b06d0b06992f86f309d115f6c3df51e2d07cb1e65811e09282a7e012d7f2b9e21e904ee93b54ad8dcf72687702de72084d160d6bfce25e6e928585287c9673')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2022-05-04 Thread Felix Yan via arch-commits
Date: Wednesday, May 4, 2022 @ 08:50:13
  Author: felixonmars
Revision: 1192715

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1192714, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1192714, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-04 08:50:13 UTC (rev 1192715)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.9.6
+pkgrel=1
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock' 'haskell-ghc'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-base-orphans' 'haskell-hspec-meta' 'haskell-silently' 
'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('44b06d0b06992f86f309d115f6c3df51e2d07cb1e65811e09282a7e012d7f2b9e21e904ee93b54ad8dcf72687702de72084d160d6bfce25e6e928585287c9673')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2022-04-23 Thread Felix Yan via arch-commits
Date: Saturday, April 23, 2022 @ 17:58:41
  Author: felixonmars
Revision: 1187746

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1187745, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1187745, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-23 17:58:41 UTC (rev 1187746)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.9.5
+pkgrel=7
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock' 'haskell-ghc'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-base-orphans' 'haskell-hspec-meta' 'haskell-silently' 
'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e6855c930d29d5f8336b9ce17f0724d8a436f69cf64ea164f11e20f0ced16e3c0c6ca5ee55d591b7e546d3322e8f104a23beb84c47e8281681e546299cca9bbd')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2022-04-09 Thread Felix Yan via arch-commits
Date: Saturday, April 9, 2022 @ 22:09:48
  Author: felixonmars
Revision: 1183186

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1183185, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1183185, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-09 22:09:48 UTC (rev 1183186)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.9.5
+pkgrel=1
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock' 'haskell-ghc'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-base-orphans' 'haskell-hspec-meta' 'haskell-silently' 
'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e6855c930d29d5f8336b9ce17f0724d8a436f69cf64ea164f11e20f0ced16e3c0c6ca5ee55d591b7e546d3322e8f104a23beb84c47e8281681e546299cca9bbd')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2022-03-31 Thread Felix Yan via arch-commits
Date: Friday, April 1, 2022 @ 00:27:14
  Author: felixonmars
Revision: 1178012

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1178011, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1178011, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-01 00:27:14 UTC (rev 1178012)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.9.4
+pkgrel=1
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock' 'haskell-ghc'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-base-orphans' 'haskell-hspec-meta' 'haskell-silently' 
'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('55859f3a6db6ca855a560b7b16f001784a81f6a70061374d58841fe0d6bdb99e98b522df03677ea13ad6c96b3fed8d87aedb96dfde5326b7e6fde238e387')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2022-03-23 Thread Felix Yan via arch-commits
Date: Wednesday, March 23, 2022 @ 21:53:11
  Author: felixonmars
Revision: 1172091

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1172090, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1172090, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-23 21:53:11 UTC (rev 1172091)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.9.3
+pkgrel=1
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock' 'haskell-ghc'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-base-orphans' 'haskell-hspec-meta' 'haskell-silently' 
'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2d2f09aea3f6ea8633a933ae1c7ac5db3cd3d90b8caefc9d91f6b4fd3f3edb46d5dba38a571e262fe3a89540700bdcf300403b1f5b1e936dbe2a4b2f532d939a')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2022-03-21 Thread Felix Yan via arch-commits
Date: Monday, March 21, 2022 @ 15:01:31
  Author: felixonmars
Revision: 1166899

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1166898, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1166898, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-21 15:01:31 UTC (rev 1166899)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.9.2
+pkgrel=1
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-base-orphans' 'haskell-hspec-meta' 'haskell-silently' 
'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b5fa0d360798be18a3588e085e67b54a03d8ad7139ffacbaa6f7cef621a8ca943569638cf4c44abb8e6d1ae8322a286502fe2646f4f65d5a35cf7b9203c88ec0')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2022-03-20 Thread Felix Yan via arch-commits
Date: Sunday, March 20, 2022 @ 14:33:37
  Author: felixonmars
Revision: 1163733

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1163732, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1163732, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-20 14:33:37 UTC (rev 1163733)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.9.1
+pkgrel=14
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-base-orphans' 'haskell-hspec-meta' 'haskell-silently' 
'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('dc2f2cfe4838643fe4b6ebc899f296f754ae797f39d9dd4a15ae4f5f59a59e9a07130668089bc4439b7d286016da7e06da2f173d446f934c09af92ff9435')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2022-03-18 Thread Felix Yan via arch-commits
Date: Saturday, March 19, 2022 @ 04:44:32
  Author: felixonmars
Revision: 1160475

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1160474, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1160474, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-19 04:44:32 UTC (rev 1160475)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.9.1
+pkgrel=11
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-base-orphans' 'haskell-hspec-meta' 'haskell-silently' 
'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('dc2f2cfe4838643fe4b6ebc899f296f754ae797f39d9dd4a15ae4f5f59a59e9a07130668089bc4439b7d286016da7e06da2f173d446f934c09af92ff9435')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2022-03-17 Thread Felix Yan via arch-commits
Date: Thursday, March 17, 2022 @ 23:51:35
  Author: felixonmars
Revision: 1157516

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1157515, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1157515, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-17 23:51:35 UTC (rev 1157516)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.9.1
+pkgrel=7
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-base-orphans' 'haskell-hspec-meta' 'haskell-silently' 
'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('dc2f2cfe4838643fe4b6ebc899f296f754ae797f39d9dd4a15ae4f5f59a59e9a07130668089bc4439b7d286016da7e06da2f173d446f934c09af92ff9435')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2022-03-13 Thread Felix Yan via arch-commits
Date: Sunday, March 13, 2022 @ 20:56:42
  Author: felixonmars
Revision: 1151383

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1151382, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1151382, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-13 20:56:42 UTC (rev 1151383)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.9.1
+pkgrel=1
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-base-orphans' 'haskell-hspec-meta' 'haskell-silently' 
'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('dc2f2cfe4838643fe4b6ebc899f296f754ae797f39d9dd4a15ae4f5f59a59e9a07130668089bc4439b7d286016da7e06da2f173d446f934c09af92ff9435')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2022-03-10 Thread Felix Yan via arch-commits
Date: Friday, March 11, 2022 @ 01:51:50
  Author: felixonmars
Revision: 1147156

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1147155, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1147155, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-11 01:51:50 UTC (rev 1147156)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.9.0
+pkgrel=10
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-base-orphans' 'haskell-hspec-meta' 'haskell-silently' 
'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('298140ce6303610a2affd04d8d6639d418b6135433a8f12ef0226346dddb3545a542cd6c15369444ff4d1c4f156972f90af8eda77718aaf0e28964dcb496ef49')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2022-03-06 Thread Felix Yan via arch-commits
Date: Sunday, March 6, 2022 @ 23:41:23
  Author: felixonmars
Revision: 1144127

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1144126, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1144126, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-06 23:41:23 UTC (rev 1144127)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.9.0
+pkgrel=4
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-base-orphans' 'haskell-hspec-meta' 'haskell-silently' 
'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('298140ce6303610a2affd04d8d6639d418b6135433a8f12ef0226346dddb3545a542cd6c15369444ff4d1c4f156972f90af8eda77718aaf0e28964dcb496ef49')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2022-03-02 Thread Felix Yan via arch-commits
Date: Thursday, March 3, 2022 @ 01:49:13
  Author: felixonmars
Revision: 1140180

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1140179, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1140179, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-03 01:49:13 UTC (rev 1140180)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.9.0
+pkgrel=1
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-base-orphans' 'haskell-hspec-meta' 'haskell-silently' 
'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('298140ce6303610a2affd04d8d6639d418b6135433a8f12ef0226346dddb3545a542cd6c15369444ff4d1c4f156972f90af8eda77718aaf0e28964dcb496ef49')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2022-02-18 Thread Felix Yan via arch-commits
Date: Friday, February 18, 2022 @ 19:14:41
  Author: felixonmars
Revision: 1134129

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1134128, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1134128, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-18 19:14:41 UTC (rev 1134129)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.8.5
+pkgrel=26
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-base-orphans' 'haskell-hspec-meta' 'haskell-silently' 
'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266e8b157a33071ccac322b138afb31a39d5327061078721c1536060ea716de2162c23514c085913c2d92d07bf9afe7f3334571ed09f7bfb320a16ebb2f2b6f3')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2022-02-07 Thread Felix Yan via arch-commits
Date: Monday, February 7, 2022 @ 11:39:59
  Author: felixonmars
Revision: 1127587

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1127586, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1127586, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-07 11:39:59 UTC (rev 1127587)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.8.5
+pkgrel=20
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-base-orphans' 'haskell-hspec-meta' 'haskell-silently' 
'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266e8b157a33071ccac322b138afb31a39d5327061078721c1536060ea716de2162c23514c085913c2d92d07bf9afe7f3334571ed09f7bfb320a16ebb2f2b6f3')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2022-02-01 Thread Felix Yan via arch-commits
Date: Wednesday, February 2, 2022 @ 00:38:29
  Author: felixonmars
Revision: 1122332

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1122331, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1122331, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-02 00:38:29 UTC (rev 1122332)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.8.5
+pkgrel=15
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-base-orphans' 'haskell-hspec-meta' 'haskell-silently' 
'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266e8b157a33071ccac322b138afb31a39d5327061078721c1536060ea716de2162c23514c085913c2d92d07bf9afe7f3334571ed09f7bfb320a16ebb2f2b6f3')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2022-01-27 Thread Felix Yan via arch-commits
Date: Thursday, January 27, 2022 @ 14:16:45
  Author: felixonmars
Revision: 1117151

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1117150, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1117150, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-27 14:16:45 UTC (rev 1117151)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.8.5
+pkgrel=9
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-base-orphans' 'haskell-hspec-meta' 'haskell-silently' 
'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266e8b157a33071ccac322b138afb31a39d5327061078721c1536060ea716de2162c23514c085913c2d92d07bf9afe7f3334571ed09f7bfb320a16ebb2f2b6f3')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2022-01-23 Thread Felix Yan via arch-commits
Date: Monday, January 24, 2022 @ 00:49:03
  Author: felixonmars
Revision: 1114132

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1114131, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1114131, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-24 00:49:03 UTC (rev 1114132)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.8.5
+pkgrel=1
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-base-orphans' 'haskell-hspec-meta' 'haskell-silently' 
'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('266e8b157a33071ccac322b138afb31a39d5327061078721c1536060ea716de2162c23514c085913c2d92d07bf9afe7f3334571ed09f7bfb320a16ebb2f2b6f3')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2022-01-17 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 08:59:05
  Author: felixonmars
Revision: 1107596

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1107595, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1107595, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-17 08:59:05 UTC (rev 1107596)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.8.4
+pkgrel=14
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('064d4ecdac31ecd056b47d1e32864b2b6972e698400d437096478b3da62eac1ef75f97598c78ca8d8a8135f13b525b424354937d0e56a7a1f25c85f01c8d0337')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2022-01-10 Thread Felix Yan via arch-commits
Date: Monday, January 10, 2022 @ 20:51:48
  Author: felixonmars
Revision: 108

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 107, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
107, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-10 20:51:48 UTC (rev 108)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.8.4
+pkgrel=8
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('064d4ecdac31ecd056b47d1e32864b2b6972e698400d437096478b3da62eac1ef75f97598c78ca8d8a8135f13b525b424354937d0e56a7a1f25c85f01c8d0337')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2022-01-06 Thread Felix Yan via arch-commits
Date: Thursday, January 6, 2022 @ 23:12:52
  Author: felixonmars
Revision: 1095689

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1095688, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1095688, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-06 23:12:52 UTC (rev 1095689)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.8.4
+pkgrel=1
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('064d4ecdac31ecd056b47d1e32864b2b6972e698400d437096478b3da62eac1ef75f97598c78ca8d8a8135f13b525b424354937d0e56a7a1f25c85f01c8d0337')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2022-01-04 Thread Felix Yan via arch-commits
Date: Tuesday, January 4, 2022 @ 22:01:28
  Author: felixonmars
Revision: 1093154

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1093153, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1093153, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-04 22:01:28 UTC (rev 1093154)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.8.3
+pkgrel=92
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('822b96f72b6ff42de68391f15a97726439f5a28dec3682a9021a4ac3ff770d4816c5d5bf7b47ebacebc3cca89072634a83cff9a404b49209f0dc12e1fe10f65e')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-12-30 Thread Felix Yan via arch-commits
Date: Thursday, December 30, 2021 @ 20:23:33
  Author: felixonmars
Revision: 1088935

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1088934, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1088934, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-30 20:23:33 UTC (rev 1088935)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.8.3
+pkgrel=87
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('822b96f72b6ff42de68391f15a97726439f5a28dec3682a9021a4ac3ff770d4816c5d5bf7b47ebacebc3cca89072634a83cff9a404b49209f0dc12e1fe10f65e')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-12-26 Thread Felix Yan via arch-commits
Date: Sunday, December 26, 2021 @ 23:58:17
  Author: felixonmars
Revision: 1084017

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1084016, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1084016, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-26 23:58:17 UTC (rev 1084017)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.8.3
+pkgrel=82
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('822b96f72b6ff42de68391f15a97726439f5a28dec3682a9021a4ac3ff770d4816c5d5bf7b47ebacebc3cca89072634a83cff9a404b49209f0dc12e1fe10f65e')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-12-20 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 11:41:12
  Author: felixonmars
Revision: 1080092

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1080091, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1080091, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 11:41:12 UTC (rev 1080092)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.8.3
+pkgrel=78
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('822b96f72b6ff42de68391f15a97726439f5a28dec3682a9021a4ac3ff770d4816c5d5bf7b47ebacebc3cca89072634a83cff9a404b49209f0dc12e1fe10f65e')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-12-17 Thread Felix Yan via arch-commits
Date: Friday, December 17, 2021 @ 21:02:13
  Author: felixonmars
Revision: 1076581

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1076580, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1076580, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-17 21:02:13 UTC (rev 1076581)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.8.3
+pkgrel=73
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('822b96f72b6ff42de68391f15a97726439f5a28dec3682a9021a4ac3ff770d4816c5d5bf7b47ebacebc3cca89072634a83cff9a404b49209f0dc12e1fe10f65e')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-12-13 Thread Felix Yan via arch-commits
Date: Tuesday, December 14, 2021 @ 01:26:58
  Author: felixonmars
Revision: 1072679

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1072678, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1072678, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-14 01:26:58 UTC (rev 1072679)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.8.3
+pkgrel=68
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('822b96f72b6ff42de68391f15a97726439f5a28dec3682a9021a4ac3ff770d4816c5d5bf7b47ebacebc3cca89072634a83cff9a404b49209f0dc12e1fe10f65e')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-11-28 Thread Felix Yan via arch-commits
Date: Sunday, November 28, 2021 @ 17:47:06
  Author: felixonmars
Revision: 1055265

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1055264, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1055264, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-28 17:47:06 UTC (rev 1055265)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.8.3
+pkgrel=67
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('822b96f72b6ff42de68391f15a97726439f5a28dec3682a9021a4ac3ff770d4816c5d5bf7b47ebacebc3cca89072634a83cff9a404b49209f0dc12e1fe10f65e')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-11-17 Thread Felix Yan via arch-commits
Date: Wednesday, November 17, 2021 @ 20:27:27
  Author: felixonmars
Revision: 1051210

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1051209, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1051209, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-17 20:27:27 UTC (rev 1051210)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.8.3
+pkgrel=62
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('822b96f72b6ff42de68391f15a97726439f5a28dec3682a9021a4ac3ff770d4816c5d5bf7b47ebacebc3cca89072634a83cff9a404b49209f0dc12e1fe10f65e')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-11-16 Thread Felix Yan via arch-commits
Date: Tuesday, November 16, 2021 @ 09:25:31
  Author: felixonmars
Revision: 1048717

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1048716, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1048716, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-16 09:25:31 UTC (rev 1048717)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.8.3
+pkgrel=58
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('822b96f72b6ff42de68391f15a97726439f5a28dec3682a9021a4ac3ff770d4816c5d5bf7b47ebacebc3cca89072634a83cff9a404b49209f0dc12e1fe10f65e')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-11-12 Thread Felix Yan via arch-commits
Date: Friday, November 12, 2021 @ 19:44:40
  Author: felixonmars
Revision: 1044765

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1044764, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1044764, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-12 19:44:40 UTC (rev 1044765)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.8.3
+pkgrel=53
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('822b96f72b6ff42de68391f15a97726439f5a28dec3682a9021a4ac3ff770d4816c5d5bf7b47ebacebc3cca89072634a83cff9a404b49209f0dc12e1fe10f65e')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-11-11 Thread Felix Yan via arch-commits
Date: Thursday, November 11, 2021 @ 15:43:48
  Author: felixonmars
Revision: 1042265

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1042264, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1042264, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-11 15:43:48 UTC (rev 1042265)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.8.3
+pkgrel=48
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('822b96f72b6ff42de68391f15a97726439f5a28dec3682a9021a4ac3ff770d4816c5d5bf7b47ebacebc3cca89072634a83cff9a404b49209f0dc12e1fe10f65e')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-11-09 Thread Felix Yan via arch-commits
Date: Tuesday, November 9, 2021 @ 11:29:47
  Author: felixonmars
Revision: 1039317

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1039316, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1039316, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-09 11:29:47 UTC (rev 1039317)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.8.3
+pkgrel=42
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('822b96f72b6ff42de68391f15a97726439f5a28dec3682a9021a4ac3ff770d4816c5d5bf7b47ebacebc3cca89072634a83cff9a404b49209f0dc12e1fe10f65e')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-10-25 Thread Felix Yan via arch-commits
Date: Monday, October 25, 2021 @ 17:44:59
  Author: felixonmars
Revision: 1033622

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1033621, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1033621, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-10-25 17:44:59 UTC (rev 1033622)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.8.3
+pkgrel=38
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('822b96f72b6ff42de68391f15a97726439f5a28dec3682a9021a4ac3ff770d4816c5d5bf7b47ebacebc3cca89072634a83cff9a404b49209f0dc12e1fe10f65e')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-09-23 Thread Felix Yan via arch-commits
Date: Thursday, September 23, 2021 @ 21:56:44
  Author: felixonmars
Revision: 1022858

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1022857, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1022857, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-23 21:56:44 UTC (rev 1022858)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.8.3
+pkgrel=33
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('822b96f72b6ff42de68391f15a97726439f5a28dec3682a9021a4ac3ff770d4816c5d5bf7b47ebacebc3cca89072634a83cff9a404b49209f0dc12e1fe10f65e')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-09-21 Thread Felix Yan via arch-commits
Date: Tuesday, September 21, 2021 @ 07:54:52
  Author: felixonmars
Revision: 1020073

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1020072, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1020072, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-21 07:54:52 UTC (rev 1020073)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.8.3
+pkgrel=28
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('822b96f72b6ff42de68391f15a97726439f5a28dec3682a9021a4ac3ff770d4816c5d5bf7b47ebacebc3cca89072634a83cff9a404b49209f0dc12e1fe10f65e')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-09-19 Thread Felix Yan via arch-commits
Date: Sunday, September 19, 2021 @ 09:36:20
  Author: felixonmars
Revision: 1017226

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1017225, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1017225, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-19 09:36:20 UTC (rev 1017226)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.8.3
+pkgrel=23
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('822b96f72b6ff42de68391f15a97726439f5a28dec3682a9021a4ac3ff770d4816c5d5bf7b47ebacebc3cca89072634a83cff9a404b49209f0dc12e1fe10f65e')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-08-28 Thread Felix Yan via arch-commits
Date: Saturday, August 28, 2021 @ 08:32:00
  Author: felixonmars
Revision: 1007644

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1007643, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1007643, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-28 08:32:00 UTC (rev 1007644)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.8.3
+pkgrel=18
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('822b96f72b6ff42de68391f15a97726439f5a28dec3682a9021a4ac3ff770d4816c5d5bf7b47ebacebc3cca89072634a83cff9a404b49209f0dc12e1fe10f65e')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-08-25 Thread Felix Yan via arch-commits
Date: Wednesday, August 25, 2021 @ 15:44:46
  Author: felixonmars
Revision: 1004846

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1004845, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1004845, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-25 15:44:46 UTC (rev 1004846)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.8.3
+pkgrel=12
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('822b96f72b6ff42de68391f15a97726439f5a28dec3682a9021a4ac3ff770d4816c5d5bf7b47ebacebc3cca89072634a83cff9a404b49209f0dc12e1fe10f65e')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-08-17 Thread Felix Yan via arch-commits
Date: Tuesday, August 17, 2021 @ 09:14:13
  Author: felixonmars
Revision: 1001230

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 1001229, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1001229, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-17 09:14:13 UTC (rev 1001230)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.8.3
+pkgrel=6
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('822b96f72b6ff42de68391f15a97726439f5a28dec3682a9021a4ac3ff770d4816c5d5bf7b47ebacebc3cca89072634a83cff9a404b49209f0dc12e1fe10f65e')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-08-14 Thread Felix Yan via arch-commits
Date: Saturday, August 14, 2021 @ 22:50:21
  Author: felixonmars
Revision: 998574

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 998573, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
998573, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-14 22:50:21 UTC (rev 998574)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.8.3
+pkgrel=1
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('822b96f72b6ff42de68391f15a97726439f5a28dec3682a9021a4ac3ff770d4816c5d5bf7b47ebacebc3cca89072634a83cff9a404b49209f0dc12e1fe10f65e')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-08-08 Thread Felix Yan via arch-commits
Date: Sunday, August 8, 2021 @ 06:29:49
  Author: felixonmars
Revision: 994787

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 994786, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
994786, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-08 06:29:49 UTC (rev 994787)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.8.2
+pkgrel=55
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('080ca4307df89a49be9aed8f08e591e5def5ed75a1e2f436d1ef75bffb5fbcf9b6108c6325de341bd800767cc0a9641724dde7bff604085fbc573c4394c2e213')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-07-26 Thread Felix Yan via arch-commits
Date: Monday, July 26, 2021 @ 08:53:04
  Author: felixonmars
Revision: 985132

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 985131, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
985131, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-26 08:53:04 UTC (rev 985132)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.8.2
+pkgrel=51
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('080ca4307df89a49be9aed8f08e591e5def5ed75a1e2f436d1ef75bffb5fbcf9b6108c6325de341bd800767cc0a9641724dde7bff604085fbc573c4394c2e213')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:51:33
  Author: felixonmars
Revision: 981465

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 981464, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
981464, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:51:33 UTC (rev 981465)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.8.2
+pkgrel=45
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('080ca4307df89a49be9aed8f08e591e5def5ed75a1e2f436d1ef75bffb5fbcf9b6108c6325de341bd800767cc0a9641724dde7bff604085fbc573c4394c2e213')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-07-19 Thread Felix Yan via arch-commits
Date: Monday, July 19, 2021 @ 16:04:09
  Author: felixonmars
Revision: 978771

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 978770, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
978770, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-19 16:04:09 UTC (rev 978771)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.8.2
+pkgrel=41
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('080ca4307df89a49be9aed8f08e591e5def5ed75a1e2f436d1ef75bffb5fbcf9b6108c6325de341bd800767cc0a9641724dde7bff604085fbc573c4394c2e213')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-07-06 Thread Felix Yan via arch-commits
Date: Tuesday, July 6, 2021 @ 06:09:20
  Author: felixonmars
Revision: 972722

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 972721, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
972721, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-06 06:09:20 UTC (rev 972722)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.8.2
+pkgrel=34
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('080ca4307df89a49be9aed8f08e591e5def5ed75a1e2f436d1ef75bffb5fbcf9b6108c6325de341bd800767cc0a9641724dde7bff604085fbc573c4394c2e213')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-07-01 Thread Felix Yan via arch-commits
Date: Thursday, July 1, 2021 @ 12:42:09
  Author: felixonmars
Revision: 969289

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 969288, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
969288, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-01 12:42:09 UTC (rev 969289)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.8.2
+pkgrel=29
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('080ca4307df89a49be9aed8f08e591e5def5ed75a1e2f436d1ef75bffb5fbcf9b6108c6325de341bd800767cc0a9641724dde7bff604085fbc573c4394c2e213')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-06-17 Thread Felix Yan via arch-commits
Date: Thursday, June 17, 2021 @ 23:58:38
  Author: felixonmars
Revision: 965052

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 965051, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
965051, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-17 23:58:38 UTC (rev 965052)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.8.2
+pkgrel=25
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('080ca4307df89a49be9aed8f08e591e5def5ed75a1e2f436d1ef75bffb5fbcf9b6108c6325de341bd800767cc0a9641724dde7bff604085fbc573c4394c2e213')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-06-09 Thread Felix Yan via arch-commits
Date: Wednesday, June 9, 2021 @ 17:18:32
  Author: felixonmars
Revision: 960273

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 960272, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
960272, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-09 17:18:32 UTC (rev 960273)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.8.2
+pkgrel=21
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('080ca4307df89a49be9aed8f08e591e5def5ed75a1e2f436d1ef75bffb5fbcf9b6108c6325de341bd800767cc0a9641724dde7bff604085fbc573c4394c2e213')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-06-06 Thread Felix Yan via arch-commits
Date: Monday, June 7, 2021 @ 02:49:22
  Author: felixonmars
Revision: 956949

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 956948, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
956948, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-07 02:49:22 UTC (rev 956949)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.8.2
+pkgrel=15
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('080ca4307df89a49be9aed8f08e591e5def5ed75a1e2f436d1ef75bffb5fbcf9b6108c6325de341bd800767cc0a9641724dde7bff604085fbc573c4394c2e213')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-06-02 Thread Felix Yan via arch-commits
Date: Wednesday, June 2, 2021 @ 20:48:25
  Author: felixonmars
Revision: 953398

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 953397, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
953397, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-02 20:48:25 UTC (rev 953398)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.8.2
+pkgrel=12
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('080ca4307df89a49be9aed8f08e591e5def5ed75a1e2f436d1ef75bffb5fbcf9b6108c6325de341bd800767cc0a9641724dde7bff604085fbc573c4394c2e213')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-05-30 Thread Felix Yan via arch-commits
Date: Sunday, May 30, 2021 @ 17:32:36
  Author: felixonmars
Revision: 950530

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 950529, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
950529, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-30 17:32:36 UTC (rev 950530)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.8.2
+pkgrel=7
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('080ca4307df89a49be9aed8f08e591e5def5ed75a1e2f436d1ef75bffb5fbcf9b6108c6325de341bd800767cc0a9641724dde7bff604085fbc573c4394c2e213')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-05-26 Thread Felix Yan via arch-commits
Date: Wednesday, May 26, 2021 @ 14:42:36
  Author: felixonmars
Revision: 946660

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 946659, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
946659, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-26 14:42:36 UTC (rev 946660)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.8.2
+pkgrel=1
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('080ca4307df89a49be9aed8f08e591e5def5ed75a1e2f436d1ef75bffb5fbcf9b6108c6325de341bd800767cc0a9641724dde7bff604085fbc573c4394c2e213')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-05-20 Thread Felix Yan via arch-commits
Date: Thursday, May 20, 2021 @ 23:09:37
  Author: felixonmars
Revision: 939667

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 939666, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
939666, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-20 23:09:37 UTC (rev 939667)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.8.1
+pkgrel=6
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('08d6c20abcab66ff3005e994d3f44e9d5bc66d6af2532f9a3aa5a4e53200f689c59a5e954d39c5c995c4ab5682f1f9a81b840287142c26c3708a038bdd05be99')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-05-19 Thread Felix Yan via arch-commits
Date: Wednesday, May 19, 2021 @ 15:50:33
  Author: felixonmars
Revision: 936477

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 936476, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
936476, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-19 15:50:33 UTC (rev 936477)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.8.1
+pkgrel=1
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('08d6c20abcab66ff3005e994d3f44e9d5bc66d6af2532f9a3aa5a4e53200f689c59a5e954d39c5c995c4ab5682f1f9a81b840287142c26c3708a038bdd05be99')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-05-12 Thread Felix Yan via arch-commits
Date: Wednesday, May 12, 2021 @ 22:14:14
  Author: felixonmars
Revision: 932721

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 932720, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
932720, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-12 22:14:14 UTC (rev 932721)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.8.0
+pkgrel=1
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('f73d1006a392204f493a5fce2af949d4aee92a47b80ff9411805846782b842a78fe0ff461f5bf2e4eb35e4326ad1f32193615ffb6053951b256bce1b38ebe736')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-05-11 Thread Felix Yan via arch-commits
Date: Tuesday, May 11, 2021 @ 15:02:49
  Author: felixonmars
Revision: 930185

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 930184, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
930184, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-11 15:02:49 UTC (rev 930185)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.7.10
+pkgrel=6
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('94e05afebef560e0a3797a0a56f3ad9497df3e9be765f36f4af9719dde62b3f828572b5da24e44465f6adcd44d7f2a1f5272d573a3ecb84327c9dc6774ac6da9')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 21, 2021 @ 23:40:26
  Author: felixonmars
Revision: 920750

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 920749, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
920749, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-04-21 23:40:26 UTC (rev 920750)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.7.10
+pkgrel=1
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('94e05afebef560e0a3797a0a56f3ad9497df3e9be765f36f4af9719dde62b3f828572b5da24e44465f6adcd44d7f2a1f5272d573a3ecb84327c9dc6774ac6da9')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-04-12 Thread Felix Yan via arch-commits
Date: Monday, April 12, 2021 @ 19:08:10
  Author: felixonmars
Revision: 915983

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 915982, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
915982, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-04-12 19:08:10 UTC (rev 915983)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.7.9
+pkgrel=28
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('9c7a8e5d274978bfb0a9f6d6eaca4cec10aa2a3da94d962bb9448a47f23d6b0c5566585eb4d93fb4819a54ce49689ef544b0842939cbf3bb34a430dce16bd89a')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 7, 2021 @ 00:55:39
  Author: felixonmars
Revision: 912337

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 912336, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
912336, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-04-07 00:55:39 UTC (rev 912337)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.7.9
+pkgrel=24
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('9c7a8e5d274978bfb0a9f6d6eaca4cec10aa2a3da94d962bb9448a47f23d6b0c5566585eb4d93fb4819a54ce49689ef544b0842939cbf3bb34a430dce16bd89a')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-03-28 Thread Felix Yan via arch-commits
Date: Sunday, March 28, 2021 @ 21:06:12
  Author: felixonmars
Revision: 907907

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 907906, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
907906, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-28 21:06:12 UTC (rev 907907)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.7.9
+pkgrel=18
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('9c7a8e5d274978bfb0a9f6d6eaca4cec10aa2a3da94d962bb9448a47f23d6b0c5566585eb4d93fb4819a54ce49689ef544b0842939cbf3bb34a430dce16bd89a')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-03-27 Thread Felix Yan via arch-commits
Date: Saturday, March 27, 2021 @ 20:07:17
  Author: felixonmars
Revision: 905556

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 90, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
90, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-27 20:07:17 UTC (rev 905556)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.7.9
+pkgrel=13
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('9c7a8e5d274978bfb0a9f6d6eaca4cec10aa2a3da94d962bb9448a47f23d6b0c5566585eb4d93fb4819a54ce49689ef544b0842939cbf3bb34a430dce16bd89a')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-03-24 Thread Felix Yan via arch-commits
Date: Wednesday, March 24, 2021 @ 21:09:25
  Author: felixonmars
Revision: 901857

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 901856, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
901856, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-24 21:09:25 UTC (rev 901857)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.7.9
+pkgrel=7
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('9c7a8e5d274978bfb0a9f6d6eaca4cec10aa2a3da94d962bb9448a47f23d6b0c5566585eb4d93fb4819a54ce49689ef544b0842939cbf3bb34a430dce16bd89a')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-03-22 Thread Felix Yan via arch-commits
Date: Monday, March 22, 2021 @ 13:18:41
  Author: felixonmars
Revision: 898870

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 898869, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
898869, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-22 13:18:41 UTC (rev 898870)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.7.9
+pkgrel=1
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('9c7a8e5d274978bfb0a9f6d6eaca4cec10aa2a3da94d962bb9448a47f23d6b0c5566585eb4d93fb4819a54ce49689ef544b0842939cbf3bb34a430dce16bd89a')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-03-20 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 20:10:08
  Author: felixonmars
Revision: 896154

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 896153, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
896153, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 20:10:08 UTC (rev 896154)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.7.8
+pkgrel=22
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('65f731a760322488ede5374407d142eccd1343f31a8147683f21e2be289128df98118f12738c78236273f475f761e659ffcb66b95509be819a91bcf97c41ad21')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-03-15 Thread Felix Yan via arch-commits
Date: Monday, March 15, 2021 @ 20:43:16
  Author: felixonmars
Revision: 891672

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 891671, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
891671, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-15 20:43:16 UTC (rev 891672)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.7.8
+pkgrel=16
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('65f731a760322488ede5374407d142eccd1343f31a8147683f21e2be289128df98118f12738c78236273f475f761e659ffcb66b95509be819a91bcf97c41ad21')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-03-10 Thread Felix Yan via arch-commits
Date: Wednesday, March 10, 2021 @ 23:27:23
  Author: felixonmars
Revision: 887378

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 887377, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
887377, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-10 23:27:23 UTC (rev 887378)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.7.8
+pkgrel=11
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('65f731a760322488ede5374407d142eccd1343f31a8147683f21e2be289128df98118f12738c78236273f475f761e659ffcb66b95509be819a91bcf97c41ad21')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-03-06 Thread Felix Yan via arch-commits
Date: Saturday, March 6, 2021 @ 20:27:21
  Author: felixonmars
Revision: 884601

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 884600, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
884600, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-06 20:27:21 UTC (rev 884601)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.7.8
+pkgrel=7
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('65f731a760322488ede5374407d142eccd1343f31a8147683f21e2be289128df98118f12738c78236273f475f761e659ffcb66b95509be819a91bcf97c41ad21')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-03-05 Thread Felix Yan via arch-commits
Date: Friday, March 5, 2021 @ 13:15:32
  Author: felixonmars
Revision: 881818

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 881817, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
881817, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-05 13:15:32 UTC (rev 881818)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.7.8
+pkgrel=1
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('65f731a760322488ede5374407d142eccd1343f31a8147683f21e2be289128df98118f12738c78236273f475f761e659ffcb66b95509be819a91bcf97c41ad21')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-03-03 Thread Felix Yan via arch-commits
Date: Wednesday, March 3, 2021 @ 14:25:35
  Author: felixonmars
Revision: 879229

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 879228, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
879228, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-03 14:25:35 UTC (rev 879229)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.7.7
+pkgrel=76
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b3514b0e90c038195e4669603239cf477b09ff31d387fcee0107e5de337700b955337f09dd21b4fcb63b4243730beec1e971488d7b7ca7fbbe81ff44995e60f5')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-02-28 Thread Felix Yan via arch-commits
Date: Sunday, February 28, 2021 @ 22:32:23
  Author: felixonmars
Revision: 876181

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 876180, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
876180, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-28 22:32:23 UTC (rev 876181)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.7.7
+pkgrel=71
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b3514b0e90c038195e4669603239cf477b09ff31d387fcee0107e5de337700b955337f09dd21b4fcb63b4243730beec1e971488d7b7ca7fbbe81ff44995e60f5')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-02-24 Thread Felix Yan via arch-commits
Date: Wednesday, February 24, 2021 @ 20:03:01
  Author: felixonmars
Revision: 871958

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 871957, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
871957, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-24 20:03:01 UTC (rev 871958)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.7.7
+pkgrel=66
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b3514b0e90c038195e4669603239cf477b09ff31d387fcee0107e5de337700b955337f09dd21b4fcb63b4243730beec1e971488d7b7ca7fbbe81ff44995e60f5')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-02-21 Thread Felix Yan via arch-commits
Date: Sunday, February 21, 2021 @ 23:46:04
  Author: felixonmars
Revision: 868352

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 868351, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
868351, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-21 23:46:04 UTC (rev 868352)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.7.7
+pkgrel=62
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b3514b0e90c038195e4669603239cf477b09ff31d387fcee0107e5de337700b955337f09dd21b4fcb63b4243730beec1e971488d7b7ca7fbbe81ff44995e60f5')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-02-17 Thread Felix Yan via arch-commits
Date: Wednesday, February 17, 2021 @ 12:56:16
  Author: felixonmars
Revision: 862506

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 862505, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
862505, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-17 12:56:16 UTC (rev 862506)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.7.7
+pkgrel=59
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b3514b0e90c038195e4669603239cf477b09ff31d387fcee0107e5de337700b955337f09dd21b4fcb63b4243730beec1e971488d7b7ca7fbbe81ff44995e60f5')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-02-13 Thread Felix Yan via arch-commits
Date: Sunday, February 14, 2021 @ 00:23:48
  Author: felixonmars
Revision: 859933

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 859932, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
859932, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-14 00:23:48 UTC (rev 859933)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.7.7
+pkgrel=54
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b3514b0e90c038195e4669603239cf477b09ff31d387fcee0107e5de337700b955337f09dd21b4fcb63b4243730beec1e971488d7b7ca7fbbe81ff44995e60f5')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-02-12 Thread Felix Yan via arch-commits
Date: Friday, February 12, 2021 @ 14:28:20
  Author: felixonmars
Revision: 856934

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 856933, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
856933, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-12 14:28:20 UTC (rev 856934)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.7.7
+pkgrel=50
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b3514b0e90c038195e4669603239cf477b09ff31d387fcee0107e5de337700b955337f09dd21b4fcb63b4243730beec1e971488d7b7ca7fbbe81ff44995e60f5')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-02-10 Thread Felix Yan via arch-commits
Date: Wednesday, February 10, 2021 @ 23:07:58
  Author: felixonmars
Revision: 854536

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 854535, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
854535, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-10 23:07:58 UTC (rev 854536)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.7.7
+pkgrel=44
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b3514b0e90c038195e4669603239cf477b09ff31d387fcee0107e5de337700b955337f09dd21b4fcb63b4243730beec1e971488d7b7ca7fbbe81ff44995e60f5')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-02-09 Thread Felix Yan via arch-commits
Date: Tuesday, February 9, 2021 @ 10:03:32
  Author: felixonmars
Revision: 850925

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 850924, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
850924, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-09 10:03:32 UTC (rev 850925)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.7.7
+pkgrel=40
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b3514b0e90c038195e4669603239cf477b09ff31d387fcee0107e5de337700b955337f09dd21b4fcb63b4243730beec1e971488d7b7ca7fbbe81ff44995e60f5')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-02-07 Thread Felix Yan via arch-commits
Date: Sunday, February 7, 2021 @ 15:35:14
  Author: felixonmars
Revision: 848096

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 848095, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
848095, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-07 15:35:14 UTC (rev 848096)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.7.7
+pkgrel=35
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b3514b0e90c038195e4669603239cf477b09ff31d387fcee0107e5de337700b955337f09dd21b4fcb63b4243730beec1e971488d7b7ca7fbbe81ff44995e60f5')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-02-03 Thread Felix Yan via arch-commits
Date: Wednesday, February 3, 2021 @ 14:04:34
  Author: felixonmars
Revision: 843287

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 843286, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
843286, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-03 14:04:34 UTC (rev 843287)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.7.7
+pkgrel=32
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b3514b0e90c038195e4669603239cf477b09ff31d387fcee0107e5de337700b955337f09dd21b4fcb63b4243730beec1e971488d7b7ca7fbbe81ff44995e60f5')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-02-01 Thread Felix Yan via arch-commits
Date: Monday, February 1, 2021 @ 23:02:51
  Author: felixonmars
Revision: 840848

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 840847, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
840847, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-01 23:02:51 UTC (rev 840848)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.7.7
+pkgrel=28
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b3514b0e90c038195e4669603239cf477b09ff31d387fcee0107e5de337700b955337f09dd21b4fcb63b4243730beec1e971488d7b7ca7fbbe81ff44995e60f5')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-hspec-core/repos (2 files)

2021-01-31 Thread Felix Yan via arch-commits
Date: Sunday, January 31, 2021 @ 11:54:33
  Author: felixonmars
Revision: 838061

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-core/repos/community-staging-x86_64/
  haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD
(from rev 838060, haskell-hspec-core/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
838060, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-31 11:54:33 UTC (rev 838061)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.7.7
+pkgrel=24
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b3514b0e90c038195e4669603239cf477b09ff31d387fcee0107e5de337700b955337f09dd21b4fcb63b4243730beec1e971488d7b7ca7fbbe81ff44995e60f5')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--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
+# https://github.com/hspec/hspec/issues/432
+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"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


  1   2   >