[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-12-28 Thread Felix Yan via arch-commits
Date: Monday, December 28, 2020 @ 11:39:14
  Author: felixonmars
Revision: 794747

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 794746, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 794746, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-28 11:39:14 UTC (rev 794747)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.2
+pkgrel=21
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('42a0d9c79e3c80780fbf65b9069586d908eaea8cdad62b35120369cfc1fa14f7155b8aba27356d6f454c6fb292bcd3f637ce59827795bdf5cce4e9ab5f9e7792')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-12-26 Thread Felix Yan via arch-commits
Date: Saturday, December 26, 2020 @ 23:05:53
  Author: felixonmars
Revision: 793201

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 793200, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 793200, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-26 23:05:53 UTC (rev 793201)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.2
+pkgrel=20
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('42a0d9c79e3c80780fbf65b9069586d908eaea8cdad62b35120369cfc1fa14f7155b8aba27356d6f454c6fb292bcd3f637ce59827795bdf5cce4e9ab5f9e7792')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-12-25 Thread Felix Yan via arch-commits
Date: Saturday, December 26, 2020 @ 02:32:33
  Author: felixonmars
Revision: 791612

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 791611, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 791611, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-26 02:32:33 UTC (rev 791612)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.2
+pkgrel=19
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('42a0d9c79e3c80780fbf65b9069586d908eaea8cdad62b35120369cfc1fa14f7155b8aba27356d6f454c6fb292bcd3f637ce59827795bdf5cce4e9ab5f9e7792')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-12-24 Thread Felix Yan via arch-commits
Date: Friday, December 25, 2020 @ 02:15:23
  Author: felixonmars
Revision: 789430

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 789429, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 789429, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-25 02:15:23 UTC (rev 789430)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.2
+pkgrel=18
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('42a0d9c79e3c80780fbf65b9069586d908eaea8cdad62b35120369cfc1fa14f7155b8aba27356d6f454c6fb292bcd3f637ce59827795bdf5cce4e9ab5f9e7792')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-12-23 Thread Felix Yan via arch-commits
Date: Thursday, December 24, 2020 @ 05:26:48
  Author: felixonmars
Revision: 786436

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 786435, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 786435, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-24 05:26:48 UTC (rev 786436)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.2
+pkgrel=17
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('42a0d9c79e3c80780fbf65b9069586d908eaea8cdad62b35120369cfc1fa14f7155b8aba27356d6f454c6fb292bcd3f637ce59827795bdf5cce4e9ab5f9e7792')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-12-23 Thread Felix Yan via arch-commits
Date: Wednesday, December 23, 2020 @ 11:12:41
  Author: felixonmars
Revision: 784114

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 784113, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 784113, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-23 11:12:41 UTC (rev 784114)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.2
+pkgrel=16
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('42a0d9c79e3c80780fbf65b9069586d908eaea8cdad62b35120369cfc1fa14f7155b8aba27356d6f454c6fb292bcd3f637ce59827795bdf5cce4e9ab5f9e7792')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-12-21 Thread Felix Yan via arch-commits
Date: Monday, December 21, 2020 @ 17:14:30
  Author: felixonmars
Revision: 781249

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 781248, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 781248, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-21 17:14:30 UTC (rev 781249)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.2
+pkgrel=15
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('42a0d9c79e3c80780fbf65b9069586d908eaea8cdad62b35120369cfc1fa14f7155b8aba27356d6f454c6fb292bcd3f637ce59827795bdf5cce4e9ab5f9e7792')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-12-18 Thread Felix Yan via arch-commits
Date: Friday, December 18, 2020 @ 10:50:45
  Author: felixonmars
Revision: 778461

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 778460, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 778460, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-18 10:50:45 UTC (rev 778461)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.2
+pkgrel=14
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('42a0d9c79e3c80780fbf65b9069586d908eaea8cdad62b35120369cfc1fa14f7155b8aba27356d6f454c6fb292bcd3f637ce59827795bdf5cce4e9ab5f9e7792')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-12-14 Thread Felix Yan via arch-commits
Date: Monday, December 14, 2020 @ 12:21:57
  Author: felixonmars
Revision: 774942

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 774941, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 774941, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-14 12:21:57 UTC (rev 774942)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.2
+pkgrel=13
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('42a0d9c79e3c80780fbf65b9069586d908eaea8cdad62b35120369cfc1fa14f7155b8aba27356d6f454c6fb292bcd3f637ce59827795bdf5cce4e9ab5f9e7792')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-11-27 Thread Felix Yan via arch-commits
Date: Friday, November 27, 2020 @ 23:04:43
  Author: felixonmars
Revision: 764766

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 764765, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 764765, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-27 23:04:43 UTC (rev 764766)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.2
+pkgrel=12
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('42a0d9c79e3c80780fbf65b9069586d908eaea8cdad62b35120369cfc1fa14f7155b8aba27356d6f454c6fb292bcd3f637ce59827795bdf5cce4e9ab5f9e7792')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-11-23 Thread Felix Yan via arch-commits
Date: Tuesday, November 24, 2020 @ 01:29:23
  Author: felixonmars
Revision: 760199

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 760198, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 760198, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-24 01:29:23 UTC (rev 760199)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.2
+pkgrel=11
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('42a0d9c79e3c80780fbf65b9069586d908eaea8cdad62b35120369cfc1fa14f7155b8aba27356d6f454c6fb292bcd3f637ce59827795bdf5cce4e9ab5f9e7792')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-11-16 Thread Felix Yan via arch-commits
Date: Monday, November 16, 2020 @ 15:01:18
  Author: felixonmars
Revision: 755296

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 755295, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 755295, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-16 15:01:18 UTC (rev 755296)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.2
+pkgrel=10
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('42a0d9c79e3c80780fbf65b9069586d908eaea8cdad62b35120369cfc1fa14f7155b8aba27356d6f454c6fb292bcd3f637ce59827795bdf5cce4e9ab5f9e7792')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-11-12 Thread Felix Yan via arch-commits
Date: Thursday, November 12, 2020 @ 20:32:30
  Author: felixonmars
Revision: 753730

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 753729, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 753729, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-12 20:32:30 UTC (rev 753730)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.2
+pkgrel=9
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('42a0d9c79e3c80780fbf65b9069586d908eaea8cdad62b35120369cfc1fa14f7155b8aba27356d6f454c6fb292bcd3f637ce59827795bdf5cce4e9ab5f9e7792')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-11-06 Thread Felix Yan via arch-commits
Date: Friday, November 6, 2020 @ 19:17:10
  Author: felixonmars
Revision: 744530

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 744529, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 744529, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-06 19:17:10 UTC (rev 744530)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.2
+pkgrel=8
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('42a0d9c79e3c80780fbf65b9069586d908eaea8cdad62b35120369cfc1fa14f7155b8aba27356d6f454c6fb292bcd3f637ce59827795bdf5cce4e9ab5f9e7792')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-11-02 Thread Felix Yan via arch-commits
Date: Tuesday, November 3, 2020 @ 04:44:17
  Author: felixonmars
Revision: 740204

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 740203, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 740203, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-03 04:44:17 UTC (rev 740204)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.2
+pkgrel=7
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('42a0d9c79e3c80780fbf65b9069586d908eaea8cdad62b35120369cfc1fa14f7155b8aba27356d6f454c6fb292bcd3f637ce59827795bdf5cce4e9ab5f9e7792')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-10-31 Thread Felix Yan via arch-commits
Date: Saturday, October 31, 2020 @ 07:39:34
  Author: felixonmars
Revision: 737419

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 737418, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 737418, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-31 07:39:34 UTC (rev 737419)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.2
+pkgrel=6
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('42a0d9c79e3c80780fbf65b9069586d908eaea8cdad62b35120369cfc1fa14f7155b8aba27356d6f454c6fb292bcd3f637ce59827795bdf5cce4e9ab5f9e7792')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-10-28 Thread Felix Yan via arch-commits
Date: Wednesday, October 28, 2020 @ 11:15:34
  Author: felixonmars
Revision: 735434

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 735433, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 735433, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-28 11:15:34 UTC (rev 735434)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.2
+pkgrel=5
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('42a0d9c79e3c80780fbf65b9069586d908eaea8cdad62b35120369cfc1fa14f7155b8aba27356d6f454c6fb292bcd3f637ce59827795bdf5cce4e9ab5f9e7792')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-10-25 Thread Felix Yan via arch-commits
Date: Sunday, October 25, 2020 @ 09:30:07
  Author: felixonmars
Revision: 732219

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 732218, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 732218, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-25 09:30:07 UTC (rev 732219)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.2
+pkgrel=4
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('42a0d9c79e3c80780fbf65b9069586d908eaea8cdad62b35120369cfc1fa14f7155b8aba27356d6f454c6fb292bcd3f637ce59827795bdf5cce4e9ab5f9e7792')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-10-22 Thread Felix Yan via arch-commits
Date: Thursday, October 22, 2020 @ 11:08:26
  Author: felixonmars
Revision: 729013

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 729012, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 729012, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-22 11:08:26 UTC (rev 729013)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.2
+pkgrel=3
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('42a0d9c79e3c80780fbf65b9069586d908eaea8cdad62b35120369cfc1fa14f7155b8aba27356d6f454c6fb292bcd3f637ce59827795bdf5cce4e9ab5f9e7792')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-10-17 Thread Felix Yan via arch-commits
Date: Saturday, October 17, 2020 @ 23:01:26
  Author: felixonmars
Revision: 725719

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 725718, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 725718, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-17 23:01:26 UTC (rev 725719)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.2
+pkgrel=2
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('42a0d9c79e3c80780fbf65b9069586d908eaea8cdad62b35120369cfc1fa14f7155b8aba27356d6f454c6fb292bcd3f637ce59827795bdf5cce4e9ab5f9e7792')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-10-08 Thread Felix Yan via arch-commits
Date: Thursday, October 8, 2020 @ 17:54:08
  Author: felixonmars
Revision: 721807

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 721806, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 721806, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-08 17:54:08 UTC (rev 721807)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.2
+pkgrel=1
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('42a0d9c79e3c80780fbf65b9069586d908eaea8cdad62b35120369cfc1fa14f7155b8aba27356d6f454c6fb292bcd3f637ce59827795bdf5cce4e9ab5f9e7792')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-10-07 Thread Felix Yan via arch-commits
Date: Wednesday, October 7, 2020 @ 14:09:08
  Author: felixonmars
Revision: 720621

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 720620, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 720620, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-07 14:09:08 UTC (rev 720621)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=52
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-10-04 Thread Felix Yan via arch-commits
Date: Sunday, October 4, 2020 @ 10:58:22
  Author: felixonmars
Revision: 717595

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 717594, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 717594, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-04 10:58:22 UTC (rev 717595)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=51
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-10-02 Thread Felix Yan via arch-commits
Date: Friday, October 2, 2020 @ 11:59:05
  Author: felixonmars
Revision: 715376

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 715375, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 715375, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-02 11:59:05 UTC (rev 715376)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=50
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-09-17 Thread Felix Yan via arch-commits
Date: Friday, September 18, 2020 @ 04:36:00
  Author: felixonmars
Revision: 709743

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 709742, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 709742, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-18 04:36:00 UTC (rev 709743)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=49
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-09-15 Thread Felix Yan via arch-commits
Date: Tuesday, September 15, 2020 @ 07:47:20
  Author: felixonmars
Revision: 707023

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 707022, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 707022, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-15 07:47:20 UTC (rev 707023)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=48
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-09-12 Thread Felix Yan via arch-commits
Date: Saturday, September 12, 2020 @ 20:51:05
  Author: felixonmars
Revision: 704837

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 704836, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 704836, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-12 20:51:05 UTC (rev 704837)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=47
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-09-11 Thread Felix Yan via arch-commits
Date: Friday, September 11, 2020 @ 11:22:20
  Author: felixonmars
Revision: 702716

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 702715, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 702715, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-11 11:22:20 UTC (rev 702716)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=46
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-09-07 Thread Felix Yan via arch-commits
Date: Monday, September 7, 2020 @ 20:19:37
  Author: felixonmars
Revision: 700303

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 700302, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 700302, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-07 20:19:37 UTC (rev 700303)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=45
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-09-04 Thread Felix Yan via arch-commits
Date: Friday, September 4, 2020 @ 20:46:53
  Author: felixonmars
Revision: 698629

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 698628, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 698628, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-04 20:46:53 UTC (rev 698629)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=44
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-09-03 Thread Felix Yan via arch-commits
Date: Thursday, September 3, 2020 @ 14:31:51
  Author: felixonmars
Revision: 697445

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 697444, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 697444, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-03 14:31:51 UTC (rev 697445)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=43
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-08-31 Thread Felix Yan via arch-commits
Date: Monday, August 31, 2020 @ 10:00:40
  Author: felixonmars
Revision: 694052

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 694051, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 694051, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-31 10:00:40 UTC (rev 694052)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=42
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-08-28 Thread Felix Yan via arch-commits
Date: Friday, August 28, 2020 @ 19:52:25
  Author: felixonmars
Revision: 691231

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 691230, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 691230, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-28 19:52:25 UTC (rev 691231)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=41
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-08-25 Thread Felix Yan via arch-commits
Date: Tuesday, August 25, 2020 @ 22:24:36
  Author: felixonmars
Revision: 688836

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 688835, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 688835, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-25 22:24:36 UTC (rev 688836)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=40
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-08-21 Thread Felix Yan via arch-commits
Date: Friday, August 21, 2020 @ 08:50:56
  Author: felixonmars
Revision: 685838

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 685837, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 685837, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-21 08:50:56 UTC (rev 685838)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=39
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-08-19 Thread Felix Yan via arch-commits
Date: Wednesday, August 19, 2020 @ 18:25:03
  Author: felixonmars
Revision: 685101

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 685100, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 685100, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-19 18:25:03 UTC (rev 685101)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=38
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-08-17 Thread Felix Yan via arch-commits
Date: Tuesday, August 18, 2020 @ 00:25:16
  Author: felixonmars
Revision: 683618

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 683617, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 683617, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-18 00:25:16 UTC (rev 683618)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=37
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-08-16 Thread Felix Yan via arch-commits
Date: Sunday, August 16, 2020 @ 16:43:34
  Author: felixonmars
Revision: 681658

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 681657, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 681657, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-16 16:43:34 UTC (rev 681658)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=35
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-08-15 Thread Felix Yan via arch-commits
Date: Sunday, August 16, 2020 @ 03:35:54
  Author: felixonmars
Revision: 680658

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 680657, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 680657, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-16 03:35:54 UTC (rev 680658)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=34
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-08-13 Thread Felix Yan via arch-commits
Date: Thursday, August 13, 2020 @ 22:29:19
  Author: felixonmars
Revision: 678212

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 678211, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 678211, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-13 22:29:19 UTC (rev 678212)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=33
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-08-11 Thread Felix Yan via arch-commits
Date: Wednesday, August 12, 2020 @ 02:42:35
  Author: felixonmars
Revision: 675472

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 675471, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 675471, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-12 02:42:35 UTC (rev 675472)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=32
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-08-07 Thread Felix Yan via arch-commits
Date: Saturday, August 8, 2020 @ 05:42:29
  Author: felixonmars
Revision: 671889

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 671888, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 671888, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-08 05:42:29 UTC (rev 671889)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=31
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-08-05 Thread Felix Yan via arch-commits
Date: Thursday, August 6, 2020 @ 04:17:49
  Author: felixonmars
Revision: 670418

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 670417, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 670417, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-06 04:17:49 UTC (rev 670418)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=30
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-07-31 Thread Felix Yan via arch-commits
Date: Saturday, August 1, 2020 @ 05:44:18
  Author: felixonmars
Revision: 667245

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 667244, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 667244, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-01 05:44:18 UTC (rev 667245)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=28
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-06-29 Thread Felix Yan via arch-commits
Date: Monday, June 29, 2020 @ 10:38:12
  Author: felixonmars
Revision: 656147

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 656146, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 656146, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-29 10:38:12 UTC (rev 656147)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=27
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-06-24 Thread Felix Yan via arch-commits
Date: Wednesday, June 24, 2020 @ 11:07:34
  Author: felixonmars
Revision: 652327

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 652326, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 652326, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-24 11:07:34 UTC (rev 652327)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=25
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-06-22 Thread Felix Yan via arch-commits
Date: Monday, June 22, 2020 @ 12:32:04
  Author: felixonmars
Revision: 650465

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 650464, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 650464, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-22 12:32:04 UTC (rev 650465)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=24
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-06-15 Thread Felix Yan via arch-commits
Date: Monday, June 15, 2020 @ 17:42:43
  Author: felixonmars
Revision: 645410

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 645409, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 645409, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-15 17:42:43 UTC (rev 645410)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=23
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-06-14 Thread Felix Yan via arch-commits
Date: Sunday, June 14, 2020 @ 06:40:13
  Author: felixonmars
Revision: 643873

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 643872, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 643872, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-14 06:40:13 UTC (rev 643873)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=22
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-06-12 Thread Felix Yan via arch-commits
Date: Friday, June 12, 2020 @ 17:55:41
  Author: felixonmars
Revision: 642491

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 642490, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 642490, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-12 17:55:41 UTC (rev 642491)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=21
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-06-11 Thread Felix Yan via arch-commits
Date: Thursday, June 11, 2020 @ 07:36:08
  Author: felixonmars
Revision: 641968

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 641967, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 641967, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-11 07:36:08 UTC (rev 641968)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=20
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-06-07 Thread Felix Yan via arch-commits
Date: Sunday, June 7, 2020 @ 23:18:29
  Author: felixonmars
Revision: 640172

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 640171, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 640171, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-07 23:18:29 UTC (rev 640172)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=19
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-06-06 Thread Felix Yan via arch-commits
Date: Saturday, June 6, 2020 @ 11:14:19
  Author: felixonmars
Revision: 639462

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 639461, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 639461, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-06 11:14:19 UTC (rev 639462)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=18
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-06-03 Thread Felix Yan via arch-commits
Date: Wednesday, June 3, 2020 @ 18:38:25
  Author: felixonmars
Revision: 638470

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 638469, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 638469, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-03 18:38:25 UTC (rev 638470)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=17
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-05-23 Thread Felix Yan via arch-commits
Date: Saturday, May 23, 2020 @ 22:26:36
  Author: felixonmars
Revision: 632691

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 632690, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 632690, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-05-23 22:26:36 UTC (rev 632691)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=16
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build $MAKEFLAGS
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-05-19 Thread Felix Yan via arch-commits
Date: Tuesday, May 19, 2020 @ 19:26:48
  Author: felixonmars
Revision: 630114

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 630113, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 630113, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-05-19 19:26:48 UTC (rev 630114)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=15
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-05-12 Thread Felix Yan via arch-commits
Date: Wednesday, May 13, 2020 @ 05:57:53
  Author: felixonmars
Revision: 627398

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 627397, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 627397, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-05-13 05:57:53 UTC (rev 627398)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=14
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-04-30 Thread Felix Yan via arch-commits
Date: Thursday, April 30, 2020 @ 21:24:50
  Author: felixonmars
Revision: 623494

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 623493, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 623493, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-30 21:24:50 UTC (rev 623494)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=13
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-04-24 Thread Felix Yan via arch-commits
Date: Friday, April 24, 2020 @ 17:37:43
  Author: felixonmars
Revision: 619375

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 619374, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 619374, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-24 17:37:43 UTC (rev 619375)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=12
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-04-19 Thread Felix Yan via arch-commits
Date: Sunday, April 19, 2020 @ 21:34:00
  Author: felixonmars
Revision: 616628

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 616627, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 616627, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-19 21:34:00 UTC (rev 616628)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=11
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-04-14 Thread Felix Yan via arch-commits
Date: Tuesday, April 14, 2020 @ 23:12:43
  Author: felixonmars
Revision: 614418

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 614417, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 614417, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-14 23:12:43 UTC (rev 614418)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=10
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-04-08 Thread Evangelos Foutras via arch-commits
Date: Wednesday, April 8, 2020 @ 22:00:37
  Author: foutrelis
Revision: 612759

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 612758, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 612758, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-08 22:00:37 UTC (rev 612759)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=9
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-04-03 Thread Felix Yan via arch-commits
Date: Friday, April 3, 2020 @ 15:29:33
  Author: felixonmars
Revision: 610843

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 610842, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 610842, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-03 15:29:33 UTC (rev 610843)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=8
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-04-02 Thread Felix Yan via arch-commits
Date: Thursday, April 2, 2020 @ 20:32:48
  Author: felixonmars
Revision: 610273

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 610272, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 610272, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-02 20:32:48 UTC (rev 610273)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=7
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-04-01 Thread Felix Yan via arch-commits
Date: Wednesday, April 1, 2020 @ 21:14:17
  Author: felixonmars
Revision: 609242

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 609241, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 609241, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-01 21:14:17 UTC (rev 609242)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=6
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-03-21 Thread Felix Yan via arch-commits
Date: Saturday, March 21, 2020 @ 07:13:04
  Author: felixonmars
Revision: 602356

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 602355, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 602355, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-03-21 07:13:04 UTC (rev 602356)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=5
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-03-15 Thread Felix Yan via arch-commits
Date: Sunday, March 15, 2020 @ 23:04:37
  Author: felixonmars
Revision: 598799

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 598798, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 598798, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-03-15 23:04:37 UTC (rev 598799)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=4
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+# Test could be built before executable, so build an executable first
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla
+runhaskell Setup build
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-03-13 Thread Felix Yan via arch-commits
Date: Friday, March 13, 2020 @ 14:23:00
  Author: felixonmars
Revision: 596019

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 596018, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 596018, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-03-13 14:23:00 UTC (rev 596019)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=3
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-03-09 Thread Felix Yan via arch-commits
Date: Monday, March 9, 2020 @ 23:35:35
  Author: felixonmars
Revision: 593365

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-discover/repos/community-staging-x86_64/
  haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD
(from rev 593364, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 593364, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-03-09 23:35:35 UTC (rev 593365)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=2
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-tasty-discover/repos (2 files)

2020-03-08 Thread Felix Yan via arch-commits
Date: Sunday, March 8, 2020 @ 18:45:30
  Author: felixonmars
Revision: 592346

archrelease: copy trunk to community-x86_64

Added:
  haskell-tasty-discover/repos/community-x86_64/
  haskell-tasty-discover/repos/community-x86_64/PKGBUILD
(from rev 592345, haskell-tasty-discover/trunk/PKGBUILD)

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

Copied: haskell-tasty-discover/repos/community-x86_64/PKGBUILD (from rev 
592345, haskell-tasty-discover/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2020-03-08 18:45:30 UTC (rev 592346)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-discover
+pkgname=haskell-tasty-discover
+pkgver=4.2.1
+pkgrel=1
+pkgdesc="Test discovery for the tasty framework"
+url="http://git.coop/lwm/tasty-discover;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-tasty' 'haskell-tasty-hedgehog' 
'haskell-tasty-hspec'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-smallcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46dff0398f012d58f53b151ceeea02831149d86d5c4dcc66217c7d53825efadb8dd8226d10d0082ef236763649a39e44c400994a93bd9e7052be7b527f8fa7b7')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Hack to allow ghc execute tasty-discover when building tests
+export PATH="$PWD/dist/build/$_hkgname:$PATH"
+export LD_LIBRARY_PATH="$PWD/dist/build"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}