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

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:57:34
  Author: felixonmars
Revision: 981479

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-tasty-quickcheck/repos/community-staging-x86_64/PKGBUILD (from 
rev 981478, haskell-tasty-quickcheck/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:57:34 UTC (rev 981479)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=tasty-quickcheck
+pkgname=haskell-tasty-quickcheck
+pkgver=0.10.1.2
+pkgrel=195
+pkgdesc="QuickCheck support for the Tasty test framework."
+url="http://documentup.com/feuerbach/tasty;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-optparse-applicative' 'haskell-quickcheck' 
'haskell-random'
+ 'haskell-tagged' 'haskell-tasty')
+makedepends=('ghc')
+checkdepends=('haskell-tasty-hunit' 'haskell-pcre-light')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('61cdecdf932b32da7b9c0df8249797725fd62fc1380f5b95984543c2757f49103cf3555e5ebbc800fa6457e7ca509ae44f4e7bf54241f8bf6cba05b3cca24a78')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+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-quickcheck/trunk (PKGBUILD)

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

upgpkg: haskell-tasty-quickcheck 0.10.1.2-195: rebuild with unliftio 0.2.19

Modified:
  haskell-tasty-quickcheck/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 05:56:47 UTC (rev 981477)
+++ PKGBUILD2021-07-21 05:57:21 UTC (rev 981478)
@@ -4,7 +4,7 @@
 _hkgname=tasty-quickcheck
 pkgname=haskell-tasty-quickcheck
 pkgver=0.10.1.2
-pkgrel=194
+pkgrel=195
 pkgdesc="QuickCheck support for the Tasty test framework."
 url="http://documentup.com/feuerbach/tasty;
 license=("MIT")



[arch-commits] Commit in haskell-pcre-light/repos (2 files)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:56:47
  Author: felixonmars
Revision: 981477

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-pcre-light/repos/community-staging-x86_64/
  haskell-pcre-light/repos/community-staging-x86_64/PKGBUILD
(from rev 981476, haskell-pcre-light/trunk/PKGBUILD)

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

Copied: haskell-pcre-light/repos/community-staging-x86_64/PKGBUILD (from rev 
981476, haskell-pcre-light/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:56:47 UTC (rev 981477)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=pcre-light
+pkgname=haskell-pcre-light
+pkgver=0.4.1.0
+pkgrel=127
+pkgdesc="Portable regex library for Perl 5 compatible regular expressions"
+url="https://github.com/Daniel-Diaz/pcre-light;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'pcre')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('491d9581e4c29d1a5a3b161210b83abbc135c2d0ee4018481f4101f91c95e93d7acf0764cb464a9ffe84bed9bf8fb400f4c68441ae1be03c0aa182a9be26dc39')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-old_base -fuse-pkg-config
+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 --show-details=direct
+}
+
+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-pcre-light/trunk (PKGBUILD)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:56:34
  Author: felixonmars
Revision: 981476

upgpkg: haskell-pcre-light 0.4.1.0-127: rebuild with unliftio 0.2.19

Modified:
  haskell-pcre-light/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 05:55:51 UTC (rev 981475)
+++ PKGBUILD2021-07-21 05:56:34 UTC (rev 981476)
@@ -4,7 +4,7 @@
 _hkgname=pcre-light
 pkgname=haskell-pcre-light
 pkgver=0.4.1.0
-pkgrel=126
+pkgrel=127
 pkgdesc="Portable regex library for Perl 5 compatible regular expressions"
 url="https://github.com/Daniel-Diaz/pcre-light;
 license=("BSD")



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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-tasty-smallcheck/repos/community-staging-x86_64/PKGBUILD (from 
rev 981474, haskell-tasty-smallcheck/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:55:51 UTC (rev 981475)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-smallcheck
+pkgname=haskell-tasty-smallcheck
+pkgver=0.8.2
+pkgrel=158
+pkgdesc="SmallCheck support for the Tasty test framework"
+url="https://github.com/feuerbach/tasty;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-optparse-applicative' 'haskell-smallcheck' 
'haskell-tagged'
+ 'haskell-tasty')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('ff816280315e26d20210f0dcbf55e32780aa9ef455d8d00b146d9daeed6afec5b6593cd8a8dc0b7c0bc7ff77da75f065f9c7253494f2c47150e2b7a6aa29fc6a')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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
+}
+
+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-smallcheck/repos (2 files)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:55:03
  Author: felixonmars
Revision: 981473

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-smallcheck/repos/community-staging-x86_64/
  haskell-smallcheck/repos/community-staging-x86_64/PKGBUILD
(from rev 981472, haskell-smallcheck/trunk/PKGBUILD)

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

Copied: haskell-smallcheck/repos/community-staging-x86_64/PKGBUILD (from rev 
981472, haskell-smallcheck/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:55:03 UTC (rev 981473)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan 
+
+_hkgname=smallcheck
+pkgname=haskell-smallcheck
+pkgver=1.2.1
+pkgrel=75
+pkgdesc="A property-based testing library"
+url="https://github.com/feuerbach/smallcheck;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-logict')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('42706fb769423bd7f8c2fe7a52d23b8cb4a22bfaabf43b8c29db2923c6413191158801e43d5597258f42ce2430ec81546d172d90246c9d3cf0f9343694eb5eeb')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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
+}
+
+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-smallcheck/trunk (PKGBUILD)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:55:39
  Author: felixonmars
Revision: 981474

upgpkg: haskell-tasty-smallcheck 0.8.2-158: rebuild with unliftio 0.2.19

Modified:
  haskell-tasty-smallcheck/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 05:55:03 UTC (rev 981473)
+++ PKGBUILD2021-07-21 05:55:39 UTC (rev 981474)
@@ -3,7 +3,7 @@
 _hkgname=tasty-smallcheck
 pkgname=haskell-tasty-smallcheck
 pkgver=0.8.2
-pkgrel=157
+pkgrel=158
 pkgdesc="SmallCheck support for the Tasty test framework"
 url="https://github.com/feuerbach/tasty;
 license=('MIT')



[arch-commits] Commit in haskell-smallcheck/trunk (PKGBUILD)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:54:50
  Author: felixonmars
Revision: 981472

upgpkg: haskell-smallcheck 1.2.1-75: rebuild with unliftio 0.2.19

Modified:
  haskell-smallcheck/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 05:54:10 UTC (rev 981471)
+++ PKGBUILD2021-07-21 05:54:50 UTC (rev 981472)
@@ -3,7 +3,7 @@
 _hkgname=smallcheck
 pkgname=haskell-smallcheck
 pkgver=1.2.1
-pkgrel=74
+pkgrel=75
 pkgdesc="A property-based testing library"
 url="https://github.com/feuerbach/smallcheck;
 license=('BSD')



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

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:54:10
  Author: felixonmars
Revision: 981471

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-logict/repos/community-staging-x86_64/
  haskell-logict/repos/community-staging-x86_64/PKGBUILD
(from rev 981470, haskell-logict/trunk/PKGBUILD)

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

Copied: haskell-logict/repos/community-staging-x86_64/PKGBUILD (from rev 
981470, haskell-logict/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:54:10 UTC (rev 981471)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+
+_hkgname=logict
+pkgname=haskell-logict
+pkgver=0.7.1.0
+pkgrel=57
+pkgdesc="A backtracking logic-programming monad."
+url="http://code.haskell.org/~dolio/;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-async' 'haskell-tasty' 'haskell-tasty-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b6d37521ab1f9ec6c2fd5eea27f6d221680cc043a0fd6413c5ac37f1bfeb2d87a15fba92774d36b6a11cd685b2b78f6710441ca91dfd5aa376735d95425d6b53')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+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-logict/trunk (PKGBUILD)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:53:57
  Author: felixonmars
Revision: 981470

upgpkg: haskell-logict 0.7.1.0-57: rebuild with unliftio 0.2.19

Modified:
  haskell-logict/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 05:53:18 UTC (rev 981469)
+++ PKGBUILD2021-07-21 05:53:57 UTC (rev 981470)
@@ -3,7 +3,7 @@
 _hkgname=logict
 pkgname=haskell-logict
 pkgver=0.7.1.0
-pkgrel=56
+pkgrel=57
 pkgdesc="A backtracking logic-programming monad."
 url="http://code.haskell.org/~dolio/;
 license=('BSD')



[arch-commits] Commit in haskell-base-orphans/repos (2 files)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:53:18
  Author: felixonmars
Revision: 981469

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-base-orphans/repos/community-staging-x86_64/
  haskell-base-orphans/repos/community-staging-x86_64/PKGBUILD
(from rev 981468, haskell-base-orphans/trunk/PKGBUILD)

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

Copied: haskell-base-orphans/repos/community-staging-x86_64/PKGBUILD (from rev 
981468, haskell-base-orphans/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:53:18 UTC (rev 981469)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=base-orphans
+pkgname=haskell-base-orphans
+pkgver=0.8.4
+pkgrel=120
+pkgdesc="Backwards-compatible orphan instances for base"
+url="https://github.com/haskell-compat/base-orphans#readme;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-discover' 
'haskell-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('ce59bd56c5acc38f3c5c55d619b27684a8cc35c0b14c2dac6a4cfa56d503e25c7a764210a7cb9cef93b0acc02371af0e40d8024b7a48e88a8ebdf406fed206a6')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+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-base-orphans/trunk (PKGBUILD)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:53:06
  Author: felixonmars
Revision: 981468

upgpkg: haskell-base-orphans 0.8.4-120: rebuild with unliftio 0.2.19

Modified:
  haskell-base-orphans/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 05:52:27 UTC (rev 981467)
+++ PKGBUILD2021-07-21 05:53:06 UTC (rev 981468)
@@ -4,7 +4,7 @@
 _hkgname=base-orphans
 pkgname=haskell-base-orphans
 pkgver=0.8.4
-pkgrel=119
+pkgrel=120
 pkgdesc="Backwards-compatible orphan instances for base"
 url="https://github.com/haskell-compat/base-orphans#readme;
 license=("MIT")



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

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:52:27
  Author: felixonmars
Revision: 981467

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hspec/repos/community-staging-x86_64/PKGBUILD (from rev 981466, 
haskell-hspec/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:52:27 UTC (rev 981467)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec
+pkgname=haskell-hspec
+pkgver=2.8.2
+pkgrel=46
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-hspec-core' 
'haskell-hspec-discover'
+ 'haskell-hspec-expectations')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('cd80991afaf9ad4288bd4b2673429dd02f275353d7e81f8cba47e1ccfe6c57ec4fcbb058a082d283c5498a5ae51392a3a7fd3306ccec9f5a3d1308a21d6beffd')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec/trunk (PKGBUILD)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:52:14
  Author: felixonmars
Revision: 981466

upgpkg: haskell-hspec 2.8.2-46: rebuild with unliftio 0.2.19

Modified:
  haskell-hspec/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 05:51:33 UTC (rev 981465)
+++ PKGBUILD2021-07-21 05:52:14 UTC (rev 981466)
@@ -3,7 +3,7 @@
 _hkgname=hspec
 pkgname=haskell-hspec
 pkgver=2.8.2
-pkgrel=45
+pkgrel=46
 pkgdesc="A Testing Framework for Haskell"
 url="http://hspec.github.io/;
 license=('MIT')



[arch-commits] Commit in haskell-hspec-core/trunk (PKGBUILD)

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

upgpkg: haskell-hspec-core 2.8.2-45: rebuild with unliftio 0.2.19

Modified:
  haskell-hspec-core/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 05:50:16 UTC (rev 981463)
+++ PKGBUILD2021-07-21 05:51:20 UTC (rev 981464)
@@ -3,7 +3,7 @@
 _hkgname=hspec-core
 pkgname=haskell-hspec-core
 pkgver=2.8.2
-pkgrel=44
+pkgrel=45
 pkgdesc="A Testing Framework for Haskell"
 url="http://hspec.github.io/;
 license=('MIT')



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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hspec-core/repos/community-staging-x86_64/PKGBUILD (from rev 
981464, haskell-hspec-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:51:33 UTC (rev 981465)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-core
+pkgname=haskell-hspec-core
+pkgver=2.8.2
+pkgrel=45
+pkgdesc="A Testing Framework for Haskell"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-call-stack' 
'haskell-clock'
+ 'haskell-hspec-expectations' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-io'
+ 'haskell-random' 'haskell-setenv' 'haskell-tf-random')
+makedepends=('ghc')
+checkdepends=('haskell-hspec-meta' 'haskell-silently' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('080ca4307df89a49be9aed8f08e591e5def5ed75a1e2f436d1ef75bffb5fbcf9b6108c6325de341bd800767cc0a9641724dde7bff604085fbc573c4394c2e213')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/hspec/hspec/issues/432
+runhaskell Setup test || :
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-tf-random/repos (2 files)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:50:16
  Author: felixonmars
Revision: 981463

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tf-random/repos/community-staging-x86_64/
  haskell-tf-random/repos/community-staging-x86_64/PKGBUILD
(from rev 981462, haskell-tf-random/trunk/PKGBUILD)

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

Copied: haskell-tf-random/repos/community-staging-x86_64/PKGBUILD (from rev 
981462, haskell-tf-random/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:50:16 UTC (rev 981463)
@@ -0,0 +1,37 @@
+# Maintainer: Alexander Rødseth 
+
+_hkgname=tf-random
+pkgname=haskell-tf-random
+pkgver=0.5
+pkgrel=336
+pkgdesc='High-quality splittable pseudorandom number generator'
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-random' 'haskell-primitive')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a766909571b4b37da9fa1aa9739bd2db8c32c0f64452fd7c3717f4578090e5227b763772858c6c311c5f366dd461421ffc3beb295455902fea1fb133deb7')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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
+}
+
+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-tf-random/trunk (PKGBUILD)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:50:04
  Author: felixonmars
Revision: 981462

upgpkg: haskell-tf-random 0.5-336: rebuild with unliftio 0.2.19

Modified:
  haskell-tf-random/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 05:49:29 UTC (rev 981461)
+++ PKGBUILD2021-07-21 05:50:04 UTC (rev 981462)
@@ -3,7 +3,7 @@
 _hkgname=tf-random
 pkgname=haskell-tf-random
 pkgver=0.5
-pkgrel=335
+pkgrel=336
 pkgdesc='High-quality splittable pseudorandom number generator'
 url="https://hackage.haskell.org/package/${_hkgname};
 license=('BSD')



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

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:49:29
  Author: felixonmars
Revision: 981461

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-mockery/repos/community-staging-x86_64/
  haskell-mockery/repos/community-staging-x86_64/PKGBUILD
(from rev 981460, haskell-mockery/trunk/PKGBUILD)

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

Copied: haskell-mockery/repos/community-staging-x86_64/PKGBUILD (from rev 
981460, haskell-mockery/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:49:29 UTC (rev 981461)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=mockery
+pkgname=haskell-mockery
+pkgver=0.3.5
+pkgrel=280
+pkgdesc="Support functions for automated testing"
+url="https://github.com/hspec/mockery;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-temporary' 
'haskell-logging-facade')
+makedepends=('ghc')
+checkdepends=('haskell-hspec')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('bcb9bef083749028ec27ba879feca7c7a8f966f50b31fe1df3e82b3ac206b634b961755e4ee90ebc72ba8c17be3bbab6acf1b01776bca9497cc5cbc1ccb58850')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+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-mockery/trunk (PKGBUILD)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:49:15
  Author: felixonmars
Revision: 981460

upgpkg: haskell-mockery 0.3.5-280: rebuild with unliftio 0.2.19 (rebuild pass 
1, specified --nocheck)

Modified:
  haskell-mockery/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 05:48:41 UTC (rev 981459)
+++ PKGBUILD2021-07-21 05:49:15 UTC (rev 981460)
@@ -4,7 +4,7 @@
 _hkgname=mockery
 pkgname=haskell-mockery
 pkgver=0.3.5
-pkgrel=279
+pkgrel=280
 pkgdesc="Support functions for automated testing"
 url="https://github.com/hspec/mockery;
 license=("MIT")



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

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:48:41
  Author: felixonmars
Revision: 981459

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-temporary/repos/community-staging-x86_64/
  haskell-temporary/repos/community-staging-x86_64/PKGBUILD
(from rev 981458, haskell-temporary/trunk/PKGBUILD)

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

Copied: haskell-temporary/repos/community-staging-x86_64/PKGBUILD (from rev 
981458, haskell-temporary/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:48:41 UTC (rev 981459)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=temporary
+pkgname=haskell-temporary
+pkgver=1.3
+pkgrel=281
+pkgdesc="Portable temporary file and directory support"
+url="https://www.github.com/batterseapower/temporary;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-random')
+makedepends=('ghc')
+checkdepends=('haskell-base-compat' 'haskell-tasty' 'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e3078caf54da95c4efa9e9c936b35a98b62296ecce2242cd4e103605a9d29e8a9d6c7027dbf50d02b6a893bea558ea5b07dbb1df7c59bf26d86db76ccf112f25')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+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-temporary/trunk (PKGBUILD)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:48:28
  Author: felixonmars
Revision: 981458

upgpkg: haskell-temporary 1.3-281: rebuild with unliftio 0.2.19

Modified:
  haskell-temporary/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 05:47:56 UTC (rev 981457)
+++ PKGBUILD2021-07-21 05:48:28 UTC (rev 981458)
@@ -4,7 +4,7 @@
 _hkgname=temporary
 pkgname=haskell-temporary
 pkgver=1.3
-pkgrel=280
+pkgrel=281
 pkgdesc="Portable temporary file and directory support"
 url="https://www.github.com/batterseapower/temporary;
 license=("BSD")



[arch-commits] Commit in haskell-quickcheck-classes-base/repos (2 files)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:47:56
  Author: felixonmars
Revision: 981457

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-quickcheck-classes-base/repos/community-staging-x86_64/
  haskell-quickcheck-classes-base/repos/community-staging-x86_64/PKGBUILD
(from rev 981456, haskell-quickcheck-classes-base/trunk/PKGBUILD)

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

Copied: haskell-quickcheck-classes-base/repos/community-staging-x86_64/PKGBUILD 
(from rev 981456, haskell-quickcheck-classes-base/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:47:56 UTC (rev 981457)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=quickcheck-classes-base
+pkgname=haskell-quickcheck-classes-base
+pkgver=0.6.2.0
+pkgrel=34
+pkgdesc="QuickCheck common typeclasses from 'base'"
+url="https://github.com/andrewthad/quickcheck-classes;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck')
+makedepends=('ghc' 'uusi')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('730255f74582081e65fa8c6b36ab8a2c26991a8e7d8140361151614e7a9619f178e50820cdfc3bf5771f1688dce369f9d71de683bc89481a20f8d2382ae4b58d')
+
+prepare() {
+cd $_hkgname-$pkgver
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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 --show-details=direct
+}
+
+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-quickcheck-classes-base/trunk (PKGBUILD)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:47:44
  Author: felixonmars
Revision: 981456

upgpkg: haskell-quickcheck-classes-base 0.6.2.0-34: rebuild with unliftio 0.2.19

Modified:
  haskell-quickcheck-classes-base/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 05:47:08 UTC (rev 981455)
+++ PKGBUILD2021-07-21 05:47:44 UTC (rev 981456)
@@ -3,7 +3,7 @@
 _hkgname=quickcheck-classes-base
 pkgname=haskell-quickcheck-classes-base
 pkgver=0.6.2.0
-pkgrel=33
+pkgrel=34
 pkgdesc="QuickCheck common typeclasses from 'base'"
 url="https://github.com/andrewthad/quickcheck-classes;
 license=('MIT')



[arch-commits] Commit in haskell-data-default/repos (2 files)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:47:08
  Author: felixonmars
Revision: 981455

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-data-default/repos/community-staging-x86_64/
  haskell-data-default/repos/community-staging-x86_64/PKGBUILD
(from rev 981454, haskell-data-default/trunk/PKGBUILD)

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

Copied: haskell-data-default/repos/community-staging-x86_64/PKGBUILD (from rev 
981454, haskell-data-default/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:47:08 UTC (rev 981455)
@@ -0,0 +1,36 @@
+# Maintainer: Jelle van der Waa 
+
+_hkgname=data-default
+pkgname=haskell-data-default
+pkgver=0.7.1.1
+pkgrel=159
+pkgdesc="A class for types with a default value"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-data-default-class' 
'haskell-data-default-instances-containers' 
'haskell-data-default-instances-dlist' 
'haskell-data-default-instances-old-locale')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('a31260c71178641e41f16fc504620f19ad04a44d2d095c96225b6027184c01ec0bf47effab5344816e438d7c37e34189255a9d3a5d643219b37054dde679d1bd')
+
+build() {
+cd ${srcdir}/${_hkgname}-${pkgver}
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
-fnetwork-uri
+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
+}
+
+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-data-default/trunk (PKGBUILD)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:46:56
  Author: felixonmars
Revision: 981454

upgpkg: haskell-data-default 0.7.1.1-159: rebuild with unliftio 0.2.19

Modified:
  haskell-data-default/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 05:46:22 UTC (rev 981453)
+++ PKGBUILD2021-07-21 05:46:56 UTC (rev 981454)
@@ -3,7 +3,7 @@
 _hkgname=data-default
 pkgname=haskell-data-default
 pkgver=0.7.1.1
-pkgrel=158
+pkgrel=159
 pkgdesc="A class for types with a default value"
 url="https://hackage.haskell.org/package/${_hkgname};
 license=('BSD')



[arch-commits] Commit in haskell-data-default-instances-dlist/repos (2 files)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:46:22
  Author: felixonmars
Revision: 981453

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-data-default-instances-dlist/repos/community-staging-x86_64/
  haskell-data-default-instances-dlist/repos/community-staging-x86_64/PKGBUILD
(from rev 981452, haskell-data-default-instances-dlist/trunk/PKGBUILD)

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

Copied: 
haskell-data-default-instances-dlist/repos/community-staging-x86_64/PKGBUILD 
(from rev 981452, haskell-data-default-instances-dlist/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:46:22 UTC (rev 981453)
@@ -0,0 +1,36 @@
+# Maintainer: Jelle van der Waa 
+
+_hkgname=data-default-instances-dlist
+pkgname=haskell-data-default-instances-dlist
+pkgver=0.0.1
+pkgrel=172
+pkgdesc="Default instances for types in dlist"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-data-default-class' 'haskell-dlist')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b3794c296d5f1ca54badaab4c267b302967ce73ac649d8df031daafa17f66537bf670ee42fda1b75b92998eb4b8862c1e0a9bdd3716c31dfd0937c3c76b6f03d')
+
+build() {
+cd ${srcdir}/${_hkgname}-${pkgver}
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
-fnetwork-uri
+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
+}
+
+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-data-default-instances-dlist/trunk (PKGBUILD)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:46:09
  Author: felixonmars
Revision: 981452

upgpkg: haskell-data-default-instances-dlist 0.0.1-172: rebuild with unliftio 
0.2.19

Modified:
  haskell-data-default-instances-dlist/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 05:45:38 UTC (rev 981451)
+++ PKGBUILD2021-07-21 05:46:09 UTC (rev 981452)
@@ -3,7 +3,7 @@
 _hkgname=data-default-instances-dlist
 pkgname=haskell-data-default-instances-dlist
 pkgver=0.0.1
-pkgrel=171
+pkgrel=172
 pkgdesc="Default instances for types in dlist"
 url="https://hackage.haskell.org/package/${_hkgname};
 license=('BSD')



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

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:45:38
  Author: felixonmars
Revision: 981451

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-dlist/repos/community-staging-x86_64/
  haskell-dlist/repos/community-staging-x86_64/PKGBUILD
(from rev 981450, haskell-dlist/trunk/PKGBUILD)

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

Copied: haskell-dlist/repos/community-staging-x86_64/PKGBUILD (from rev 981450, 
haskell-dlist/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:45:38 UTC (rev 981451)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Daniel Wallace 
+# Contributor: Don Stewart 
+# Contributor: Lex Black 
+
+_hkgname=dlist
+pkgname=haskell-dlist
+pkgver=1.0
+pkgrel=95
+pkgdesc="Differences lists"
+url="https://hackage.haskell.org/package/dlist;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('8985b9e775e8d99c3d8cf59eabfb7ed13c395482186b086831a79afea9b980ee59e386856df82dcc030f430be55cc95fa057e962776fe37a371e8be5ae19abef')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+rm -f "$pkgdir"/usr/share/doc/$pkgname/license.md
+}



[arch-commits] Commit in haskell-dlist/trunk (PKGBUILD)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:45:25
  Author: felixonmars
Revision: 981450

upgpkg: haskell-dlist 1.0-95: rebuild with unliftio 0.2.19

Modified:
  haskell-dlist/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 05:44:52 UTC (rev 981449)
+++ PKGBUILD2021-07-21 05:45:25 UTC (rev 981450)
@@ -6,7 +6,7 @@
 _hkgname=dlist
 pkgname=haskell-dlist
 pkgver=1.0
-pkgrel=94
+pkgrel=95
 pkgdesc="Differences lists"
 url="https://hackage.haskell.org/package/dlist;
 license=('BSD')



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

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:44:52
  Author: felixonmars
Revision: 981449

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hspec-meta/repos/community-staging-x86_64/PKGBUILD (from rev 
981448, haskell-hspec-meta/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:44:52 UTC (rev 981449)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-meta
+pkgname=haskell-hspec-meta
+pkgver=2.7.8
+pkgrel=89
+pkgdesc="A version of Hspec which is used to test Hspec itself"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-setenv' 'haskell-random' 
'haskell-quickcheck-io'
+ 'haskell-ansi-terminal' 'haskell-clock' 'haskell-call-stack')
+makedepends=('ghc' 'uusi')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('f3a6dc3159090b505b67eb9a852b7a56ef19985984e7326ffc7812af56d87c9418d5ad69e181bf777cdee39c146575a5fec2174dd94c2a3926a15ebcb45f22d0')
+
+prepare() {
+cd $_hkgname-$pkgver
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-meta/trunk (PKGBUILD)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:44:39
  Author: felixonmars
Revision: 981448

upgpkg: haskell-hspec-meta 2.7.8-89: rebuild with unliftio 0.2.19

Modified:
  haskell-hspec-meta/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 05:42:55 UTC (rev 981447)
+++ PKGBUILD2021-07-21 05:44:39 UTC (rev 981448)
@@ -3,7 +3,7 @@
 _hkgname=hspec-meta
 pkgname=haskell-hspec-meta
 pkgver=2.7.8
-pkgrel=88
+pkgrel=89
 pkgdesc="A version of Hspec which is used to test Hspec itself"
 url="http://hspec.github.io/;
 license=('MIT')



[arch-commits] Commit in haskell-quickcheck-io/repos (2 files)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:42:55
  Author: felixonmars
Revision: 981447

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-quickcheck-io/repos/community-staging-x86_64/
  haskell-quickcheck-io/repos/community-staging-x86_64/PKGBUILD
(from rev 981446, haskell-quickcheck-io/trunk/PKGBUILD)

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

Copied: haskell-quickcheck-io/repos/community-staging-x86_64/PKGBUILD (from rev 
981446, haskell-quickcheck-io/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:42:55 UTC (rev 981447)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan 
+
+_hkgname=quickcheck-io
+pkgname=haskell-quickcheck-io
+pkgver=0.2.0
+pkgrel=347
+pkgdesc="Use HUnit assertions as QuickCheck properties"
+url="https://github.com/hspec/quickcheck-io;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hunit' 'haskell-quickcheck')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('02e1f40bac8f31f27c21d1d2df9f226816f9da871092b09f0451a8321e250c9e94887f94889be421c9d0034e0a27b02c907d16eb7da5a4376df42c7c1fbd01df')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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
+}
+
+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-quickcheck-io/trunk (PKGBUILD)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:42:43
  Author: felixonmars
Revision: 981446

upgpkg: haskell-quickcheck-io 0.2.0-347: rebuild with unliftio 0.2.19

Modified:
  haskell-quickcheck-io/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 05:41:47 UTC (rev 981445)
+++ PKGBUILD2021-07-21 05:42:43 UTC (rev 981446)
@@ -3,7 +3,7 @@
 _hkgname=quickcheck-io
 pkgname=haskell-quickcheck-io
 pkgver=0.2.0
-pkgrel=346
+pkgrel=347
 pkgdesc="Use HUnit assertions as QuickCheck properties"
 url="https://github.com/hspec/quickcheck-io;
 license=('MIT')



[arch-commits] Commit in haskell-test-framework-quickcheck2/repos (2 files)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:41:47
  Author: felixonmars
Revision: 981445

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-test-framework-quickcheck2/repos/community-staging-x86_64/
  haskell-test-framework-quickcheck2/repos/community-staging-x86_64/PKGBUILD
(from rev 981444, haskell-test-framework-quickcheck2/trunk/PKGBUILD)

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

Copied: 
haskell-test-framework-quickcheck2/repos/community-staging-x86_64/PKGBUILD 
(from rev 981444, haskell-test-framework-quickcheck2/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:41:47 UTC (rev 981445)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=test-framework-quickcheck2
+pkgname=haskell-test-framework-quickcheck2
+pkgver=0.3.0.5
+pkgrel=301
+pkgdesc="QuickCheck-2 support for the test-framework package"
+url="https://haskell.github.io/test-framework/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-test-framework' 'haskell-quickcheck' 
'haskell-extensible-exceptions'
+ 'haskell-random')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('58c6177d52829ba1ea1858a11101e5b21ae4e4543f8f829779f62208ad16083b41e9f3b2275392693698ef3d46912096c368d90db0d67ff136af4fa73d5e1d43')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/< *2.13/<3/;s/< *1.2/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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
+}
+
+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-test-framework-quickcheck2/trunk (PKGBUILD)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:41:35
  Author: felixonmars
Revision: 981444

upgpkg: haskell-test-framework-quickcheck2 0.3.0.5-301: rebuild with unliftio 
0.2.19

Modified:
  haskell-test-framework-quickcheck2/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 05:41:17 UTC (rev 981443)
+++ PKGBUILD2021-07-21 05:41:35 UTC (rev 981444)
@@ -4,7 +4,7 @@
 _hkgname=test-framework-quickcheck2
 pkgname=haskell-test-framework-quickcheck2
 pkgver=0.3.0.5
-pkgrel=300
+pkgrel=301
 pkgdesc="QuickCheck-2 support for the test-framework package"
 url="https://haskell.github.io/test-framework/;
 license=("BSD")



[arch-commits] Commit in haskell-test-framework-hunit/trunk (PKGBUILD)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:40:26
  Author: felixonmars
Revision: 981439

upgpkg: haskell-test-framework-hunit 0.3.0.2-301: rebuild with unliftio 0.2.19

Modified:
  haskell-test-framework-hunit/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 05:39:51 UTC (rev 981438)
+++ PKGBUILD2021-07-21 05:40:26 UTC (rev 981439)
@@ -4,7 +4,7 @@
 _hkgname=test-framework-hunit
 pkgname=haskell-test-framework-hunit
 pkgver=0.3.0.2
-pkgrel=300
+pkgrel=301
 pkgdesc="HUnit support for the test-framework package."
 url="https://batterseapower.github.io/test-framework/;
 license=("BSD")



[arch-commits] Commit in haskell-test-framework-hunit/repos (2 files)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:40:38
  Author: felixonmars
Revision: 981440

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-test-framework-hunit/repos/community-staging-x86_64/
  haskell-test-framework-hunit/repos/community-staging-x86_64/PKGBUILD
(from rev 981439, haskell-test-framework-hunit/trunk/PKGBUILD)

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

Copied: haskell-test-framework-hunit/repos/community-staging-x86_64/PKGBUILD 
(from rev 981439, haskell-test-framework-hunit/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:40:38 UTC (rev 981440)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=test-framework-hunit
+pkgname=haskell-test-framework-hunit
+pkgver=0.3.0.2
+pkgrel=301
+pkgdesc="HUnit support for the test-framework package."
+url="https://batterseapower.github.io/test-framework/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-hunit" "haskell-extensible-exceptions" 
"haskell-test-framework")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('068ca4326935746769aa4023076e9bd85d1753073c6e67d88daa6ccf2a69f3bafb87c3b03fd5ada612f6ddbdf2447b06ef8f853675cf0efe9eafd80606c40e32')
+
+prepare() {
+sed -i 's/HUnit >= 1.2 && < 1.4/HUnit >= 1.2 \&\& < 1.7/' 
$_hkgname-$pkgver/$_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-base3 -fbase4
+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
+}
+
+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-test-framework/repos (2 files)

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

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-test-framework/repos/community-staging-x86_64/
  haskell-test-framework/repos/community-staging-x86_64/PKGBUILD
(from rev 981437, haskell-test-framework/trunk/PKGBUILD)

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

Copied: haskell-test-framework/repos/community-staging-x86_64/PKGBUILD (from 
rev 981437, haskell-test-framework/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:39:51 UTC (rev 981438)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=test-framework
+pkgname=haskell-test-framework
+pkgver=0.8.2.0
+pkgrel=312
+pkgdesc="Framework for running and organising tests, with HUnit and QuickCheck 
support"
+url="https://batterseapower.github.io/test-framework/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-ansi-wl-pprint' 
'haskell-hostname'
+ 'haskell-old-locale' 'haskell-random' 'haskell-regex-posix' 
'haskell-xml')
+makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 'haskell-libxml')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('d8e7ea274819a1b49b9f938df527d22c808f456d25b84f03173ed5739c230fb037a57ce90c38f571801ee38e86bed6826df1c93f184e4a803c72ce5f41e4')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e '/semigroups/d' -e 's/< *0.6/<1/;s/< *0.9/<1/;s/< *1.9/<2/;s/< 
*1.2/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+# --enable-tests \  Doesn't work with new QuickCheck
+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 --show-details=direct
+}
+
+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-quickcheck/repos (2 files)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:38:49
  Author: felixonmars
Revision: 981436

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-quickcheck/repos/community-staging-x86_64/
  haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD
(from rev 981435, haskell-quickcheck/trunk/PKGBUILD)

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

Copied: haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 
981435, haskell-quickcheck/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:38:49 UTC (rev 981436)
@@ -0,0 +1,50 @@
+# Maintainer: Alexander F Rødseth 
+# Contributor: Vesa Kaihlavirta 
+# Contributor: Arch Haskell Team 
+
+_hkgname=QuickCheck
+pkgname=haskell-quickcheck
+pkgver=2.14.2
+pkgrel=189
+pkgdesc='Automatic testing of Haskell programs'
+url='https://hackage.haskell.org/package/QuickCheck'
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-erf' 'haskell-random' 'haskell-splitmix')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('84decd354e6093bc72afd125410499dd4be3ae8fdbf0a3b466011b4dbcb5c5657e51ab75cfe22790e22bf4ac54cbb1203ff7a0d108e872ce60f4831be827a6e5')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure \
+-O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/$pkgname" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-ftemplateHaskell
+
+  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 --show-details=direct
+}
+
+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
+}
+
+# vim: ts=2 sw=2 et:



[arch-commits] Commit in haskell-test-framework/trunk (PKGBUILD)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:39:32
  Author: felixonmars
Revision: 981437

upgpkg: haskell-test-framework 0.8.2.0-312: rebuild with unliftio 0.2.19

Modified:
  haskell-test-framework/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 05:38:49 UTC (rev 981436)
+++ PKGBUILD2021-07-21 05:39:32 UTC (rev 981437)
@@ -4,7 +4,7 @@
 _hkgname=test-framework
 pkgname=haskell-test-framework
 pkgver=0.8.2.0
-pkgrel=311
+pkgrel=312
 pkgdesc="Framework for running and organising tests, with HUnit and QuickCheck 
support"
 url="https://batterseapower.github.io/test-framework/;
 license=("BSD")



[arch-commits] Commit in haskell-quickcheck/trunk (PKGBUILD)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:38:36
  Author: felixonmars
Revision: 981435

upgpkg: haskell-quickcheck 2.14.2-189: rebuild with unliftio 0.2.19

Modified:
  haskell-quickcheck/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 05:37:22 UTC (rev 981434)
+++ PKGBUILD2021-07-21 05:38:36 UTC (rev 981435)
@@ -5,7 +5,7 @@
 _hkgname=QuickCheck
 pkgname=haskell-quickcheck
 pkgver=2.14.2
-pkgrel=188
+pkgrel=189
 pkgdesc='Automatic testing of Haskell programs'
 url='https://hackage.haskell.org/package/QuickCheck'
 license=('BSD')



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

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:37:22
  Author: felixonmars
Revision: 981434

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-random/repos/community-staging-x86_64/
  haskell-random/repos/community-staging-x86_64/PKGBUILD
(from rev 981433, haskell-random/trunk/PKGBUILD)

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

Copied: haskell-random/repos/community-staging-x86_64/PKGBUILD (from rev 
981433, haskell-random/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:37:22 UTC (rev 981434)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=random
+pkgname=haskell-random
+pkgver=1.2.0
+pkgrel=247
+pkgdesc="Pseudo-random number generation"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-splitmix')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-doctest' 'haskell-mwc-random' 'haskell-primitive' 
'haskell-smallcheck'
+  'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-smallcheck' 
'haskell-unliftio'
+  'haskell-vector')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e482f318c245d87824d440885c4ecbd1c9bd85a3b3aa4d7fbb4a82da0cfd31749caa9ff7881c94b731035133fd1d550a0cb8bd4da958d3c72519bddcadc6c2e5')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d tasty-expected-failure -u doctest -u mwc-random -u tasty 
$_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+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-random/trunk (PKGBUILD)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:37:09
  Author: felixonmars
Revision: 981433

upgpkg: haskell-random 1.2.0-247: rebuild with unliftio 0.2.19 (rebuild pass 1, 
specified --nocheck)

Modified:
  haskell-random/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 05:36:30 UTC (rev 981432)
+++ PKGBUILD2021-07-21 05:37:09 UTC (rev 981433)
@@ -4,7 +4,7 @@
 _hkgname=random
 pkgname=haskell-random
 pkgver=1.2.0
-pkgrel=246
+pkgrel=247
 pkgdesc="Pseudo-random number generation"
 url="https://hackage.haskell.org/package/${_hkgname};
 license=('BSD')



[arch-commits] Commit in haskell-splitmix/trunk (PKGBUILD)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:36:16
  Author: felixonmars
Revision: 981431

upgpkg: haskell-splitmix 0.1.0.3-128: rebuild with unliftio 0.2.19 (rebuild 
pass 1, specified --nocheck)

Modified:
  haskell-splitmix/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 05:35:39 UTC (rev 981430)
+++ PKGBUILD2021-07-21 05:36:16 UTC (rev 981431)
@@ -3,7 +3,7 @@
 _hkgname=splitmix
 pkgname=haskell-splitmix
 pkgver=0.1.0.3
-pkgrel=127
+pkgrel=128
 pkgdesc="Fast Splittable PRNG"
 url="https://github.com/haskellari/splitmix;
 license=('BSD')



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

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:36:30
  Author: felixonmars
Revision: 981432

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-splitmix/repos/community-staging-x86_64/
  haskell-splitmix/repos/community-staging-x86_64/PKGBUILD
(from rev 981431, haskell-splitmix/trunk/PKGBUILD)

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

Copied: haskell-splitmix/repos/community-staging-x86_64/PKGBUILD (from rev 
981431, haskell-splitmix/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:36:30 UTC (rev 981432)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+
+_hkgname=splitmix
+pkgname=haskell-splitmix
+pkgver=0.1.0.3
+pkgrel=128
+pkgdesc="Fast Splittable PRNG"
+url="https://github.com/haskellari/splitmix;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-async' 'haskell-base-compat' 
'haskell-base-compat-batteries'
+ 'haskell-hunit' 'haskell-math-functions' 'haskell-test-framework'
+ 'haskell-test-framework-hunit' 'haskell-tf-random' 
'haskell-vector')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('22a3f0759e1c1150aabde01a77b48087509dfc7ff9614e97e5e06af73f533170993ff2e18101d940e7ddba81b8d6e496795be3851fccfa07b75e9d922f325064')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+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-unliftio/trunk (PKGBUILD)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:35:24
  Author: felixonmars
Revision: 981429

upgpkg: haskell-unliftio 0.2.19-2: rebuild with unliftio 0.2.19 (rebuild pass 
1, specified --nocheck)

Modified:
  haskell-unliftio/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 05:34:41 UTC (rev 981428)
+++ PKGBUILD2021-07-21 05:35:24 UTC (rev 981429)
@@ -4,7 +4,7 @@
 _hkgname=unliftio
 pkgname=haskell-unliftio
 pkgver=0.2.19
-pkgrel=1
+pkgrel=2
 pkgdesc="The MonadUnliftIO typeclass for unlifting monads to IO (batteries 
included)"
 url="https://github.com/fpco/monad-unlift;
 license=("MIT")



[arch-commits] Commit in haskell-unliftio/repos/community-staging-x86_64 (2 files)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:35:39
  Author: felixonmars
Revision: 981430

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-unliftio/repos/community-staging-x86_64/PKGBUILD
(from rev 981429, haskell-unliftio/trunk/PKGBUILD)
Deleted:
  haskell-unliftio/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  100 ++---
 1 file changed, 50 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-07-21 05:35:24 UTC (rev 981429)
+++ PKGBUILD2021-07-21 05:35:39 UTC (rev 981430)
@@ -1,50 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=unliftio
-pkgname=haskell-unliftio
-pkgver=0.2.19
-pkgrel=1
-pkgdesc="The MonadUnliftIO typeclass for unlifting monads to IO (batteries 
included)"
-url="https://github.com/fpco/monad-unlift;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-async' 'haskell-unliftio-core')
-makedepends=('ghc')
-checkdepends=('haskell-hspec' 'haskell-quickcheck')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('c70c2d5471f66b90a5afb73d86c57d3c92f82a3ef34b8ca6d74ca4ec7126802d6b8ff9d89a4b18a720afce07d62efabc8a9ba050bec9d5d0a48bd57ba7686973')
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --show-details=direct
-}
-
-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
-}

Copied: haskell-unliftio/repos/community-staging-x86_64/PKGBUILD (from rev 
981429, haskell-unliftio/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-07-21 05:35:39 UTC (rev 981430)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=unliftio
+pkgname=haskell-unliftio
+pkgver=0.2.19
+pkgrel=2
+pkgdesc="The MonadUnliftIO typeclass for unlifting monads to IO (batteries 
included)"
+url="https://github.com/fpco/monad-unlift;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-async' 'haskell-unliftio-core')
+makedepends=('ghc')
+checkdepends=('haskell-hspec' 'haskell-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('c70c2d5471f66b90a5afb73d86c57d3c92f82a3ef34b8ca6d74ca4ec7126802d6b8ff9d89a4b18a720afce07d62efabc8a9ba050bec9d5d0a48bd57ba7686973')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+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-async/repos (2 files)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:34:41
  Author: felixonmars
Revision: 981428

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-async/repos/community-staging-x86_64/
  haskell-async/repos/community-staging-x86_64/PKGBUILD
(from rev 981427, haskell-async/trunk/PKGBUILD)

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

Copied: haskell-async/repos/community-staging-x86_64/PKGBUILD (from rev 981427, 
haskell-async/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:34:41 UTC (rev 981428)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=async
+pkgname=haskell-async
+pkgver=2.2.3
+pkgrel=56
+pkgdesc="Run IO operations asynchronously and wait for their results"
+url="https://github.com/simonmar/async;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('99a7cd04d05362b6d007ec75a32cf0a6c11f4b3e46ab706349289f5bb0ad128fd2a9809e4d30634917a0a608b0d611c6d4e936ea36535c7c5ec167fead5f3248')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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
+}
+
+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-hashable/repos (2 files)

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

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 981425, haskell-hashable/trunk/PKGBUILD)

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

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
981425, haskell-hashable/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:33:51 UTC (rev 981426)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.3.2.0
+pkgrel=20
+pkgdesc="A class for types that can be converted to a hash value"
+url="https://github.com/haskell-unordered-containers/hashable;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-quickcheck' 'haskell-random' 
'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e828f566d90a8af01db90ac89aa68d3b6c6872363bce648b914ba9229c8e63255931cc46aec4ef646b544a91d33be133553d7a572b11498dc410a18e42cda9a2')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-examples
+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 --show-details=direct
+}
+
+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-async/trunk (PKGBUILD)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:34:28
  Author: felixonmars
Revision: 981427

upgpkg: haskell-async 2.2.3-56: rebuild with unliftio 0.2.19

Modified:
  haskell-async/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 05:33:51 UTC (rev 981426)
+++ PKGBUILD2021-07-21 05:34:28 UTC (rev 981427)
@@ -4,7 +4,7 @@
 _hkgname=async
 pkgname=haskell-async
 pkgver=2.2.3
-pkgrel=55
+pkgrel=56
 pkgdesc="Run IO operations asynchronously and wait for their results"
 url="https://github.com/simonmar/async;
 license=("BSD")



[arch-commits] Commit in haskell-hashable/trunk (PKGBUILD)

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

upgpkg: haskell-hashable 1.3.2.0-20: rebuild with unliftio 0.2.19 (rebuild pass 
1, specified --nocheck)

Modified:
  haskell-hashable/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 05:32:59 UTC (rev 981424)
+++ PKGBUILD2021-07-21 05:33:39 UTC (rev 981425)
@@ -4,7 +4,7 @@
 _hkgname=hashable
 pkgname=haskell-hashable
 pkgver=1.3.2.0
-pkgrel=19
+pkgrel=20
 pkgdesc="A class for types that can be converted to a hash value"
 url="https://github.com/haskell-unordered-containers/hashable;
 license=('BSD')



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

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:32:59
  Author: felixonmars
Revision: 981424

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-primitive/repos/community-staging-x86_64/
  haskell-primitive/repos/community-staging-x86_64/PKGBUILD
(from rev 981423, haskell-primitive/trunk/PKGBUILD)

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

Copied: haskell-primitive/repos/community-staging-x86_64/PKGBUILD (from rev 
981423, haskell-primitive/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:32:59 UTC (rev 981424)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+# Contributor: Sergej Pupykin 
+
+pkgname=haskell-primitive
+pkgver=0.7.1.0
+pkgrel=147
+pkgdesc="Wrappers for primitive operations"
+url="https://hackage.haskell.org/package/primitive;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base-orphans' 'haskell-quickcheck' 
'haskell-quickcheck-classes-base'
+  'haskell-tasty' 'haskell-tasty-quickcheck' 'haskell-tagged'
+  'haskell-transformers-compat')
+source=("https://hackage.haskell.org/packages/archive/primitive/${pkgver}/primitive-${pkgver}.tar.gz;)
+sha512sums=('8ade11d0b2221cfdf042da0263b5b5367a7ca2a9b9e1141844e4a65bb0467df879c92cd3515440d715b59345860c1ec3cb3efd7a3d702269ea15e18692586367')
+
+prepare() {
+  cd primitive-$pkgver
+  uusi -d semigroups -u base -u QuickCheck -u tasty primitive.cabal
+}
+
+build() {
+  cd primitive-$pkgver
+
+  if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+  else
+_opts=('--disable-tests')
+  fi
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+  --prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+  --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd primitive-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd primitive-$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 -Dm644 LICENSE "$pkgdir"/usr/share/licenses/${pkgname}/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/${pkgname}/LICENSE
+}



[arch-commits] Commit in haskell-primitive/trunk (PKGBUILD)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:32:47
  Author: felixonmars
Revision: 981423

upgpkg: haskell-primitive 0.7.1.0-147: rebuild with unliftio 0.2.19 (rebuild 
pass 1, specified --nocheck)

Modified:
  haskell-primitive/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 05:31:47 UTC (rev 981422)
+++ PKGBUILD2021-07-21 05:32:47 UTC (rev 981423)
@@ -3,7 +3,7 @@
 
 pkgname=haskell-primitive
 pkgver=0.7.1.0
-pkgrel=146
+pkgrel=147
 pkgdesc="Wrappers for primitive operations"
 url="https://hackage.haskell.org/package/primitive;
 license=("BSD")



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

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:31:47
  Author: felixonmars
Revision: 981422

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-doctest/repos/community-staging-x86_64/
  haskell-doctest/repos/community-staging-x86_64/PKGBUILD
(from rev 981421, haskell-doctest/trunk/PKGBUILD)

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

Copied: haskell-doctest/repos/community-staging-x86_64/PKGBUILD (from rev 
981421, haskell-doctest/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:31:47 UTC (rev 981422)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=doctest
+pkgname=haskell-doctest
+pkgver=0.18.1
+pkgrel=45
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/sol/doctest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-exceptions' 'haskell-ghc' 
'haskell-syb'
+ 'haskell-code-page' 'haskell-ghc-paths')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-hspec' 'haskell-hspec-core' 
'haskell-quickcheck'
+  'haskell-stringbuilder' 'haskell-silently' 'haskell-setenv' 
'haskell-mockery')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e9e74eed4246f3aeaa71940db8275f080be0a5e296c43b16b48228dbafac821643572edca3210a65d315ebbe900a1c484346aee75c88add052d9640ff008fc82')
+
+prepare() {
+# Add -dynamic flag
+sed -i 's/\+\+ packageDBArgs/++ packageDBArgs ++ ["-dynamic"]/' 
$_hkgname-$pkgver/src/Extract.hs
+sed -i 's/\+\+ expandedArgs)/++ expandedArgs ++ ["-dynamic"])/' 
$_hkgname-$pkgver/src/Run.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test || echo "Tests failed"
+}
+
+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-doctest/trunk (PKGBUILD)

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

upgpkg: haskell-doctest 0.18.1-45: rebuild with unliftio 0.2.19 (rebuild pass 
1, specified --nocheck)

Modified:
  haskell-doctest/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 05:30:40 UTC (rev 981420)
+++ PKGBUILD2021-07-21 05:31:33 UTC (rev 981421)
@@ -4,7 +4,7 @@
 _hkgname=doctest
 pkgname=haskell-doctest
 pkgver=0.18.1
-pkgrel=44
+pkgrel=45
 pkgdesc="Test interactive Haskell examples"
 url="https://github.com/sol/doctest;
 license=("MIT")



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

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:30:40
  Author: felixonmars
Revision: 981420

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-syb/repos/community-staging-x86_64/
  haskell-syb/repos/community-staging-x86_64/PKGBUILD
(from rev 981419, haskell-syb/trunk/PKGBUILD)

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

Copied: haskell-syb/repos/community-staging-x86_64/PKGBUILD (from rev 981419, 
haskell-syb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:30:40 UTC (rev 981420)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Aaron Peschel 
+# Contributor: Rémy Oudompheng 
+# Contributor: Arch Haskell Team 
+
+_hkgname=syb
+pkgname=haskell-syb
+pkgver=0.7.2.1
+pkgrel=64
+pkgdesc="library for generic programming in Haskell"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-tasty' 'haskell-tasty-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('6c356af3cc72f29c362b2859292a96b8107dd3241cff79d717f361e517edf478295f477c0f426fb8d0ae0952cd5c7521114cf1cac1f3faf2b0c96d3b8a335e69')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+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/repos (2 files)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:28:53
  Author: felixonmars
Revision: 981416

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-tasty/repos/community-staging-x86_64/PKGBUILD (from rev 981415, 
haskell-tasty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:28:53 UTC (rev 981416)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=tasty
+pkgname=haskell-tasty
+pkgver=1.4.1
+pkgrel=53
+pkgdesc="Modern and extensible testing framework"
+url="http://documentup.com/feuerbach/tasty;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-clock' 
'haskell-optparse-applicative'
+ 'haskell-tagged' 'haskell-unbounded-delays' 'haskell-wcwidth')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('72f7dfc60d1582be25ff7e5015ba735156fcc2e8074f0655c68eb4f0c0d2063aa882c2407fe8858a47a316d90b84f8b40a511663642bdc43739c3f02beb021b2')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fclock
+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
+}
+
+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-hunit/trunk (PKGBUILD)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:29:32
  Author: felixonmars
Revision: 981417

upgpkg: haskell-tasty-hunit 0.10.0.3-181: rebuild with unliftio 0.2.19

Modified:
  haskell-tasty-hunit/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 05:28:53 UTC (rev 981416)
+++ PKGBUILD2021-07-21 05:29:32 UTC (rev 981417)
@@ -4,7 +4,7 @@
 _hkgname=tasty-hunit
 pkgname=haskell-tasty-hunit
 pkgver=0.10.0.3
-pkgrel=180
+pkgrel=181
 pkgdesc="HUnit support for the Tasty test framework."
 url="https://documentup.com/feuerbach/tasty;
 license=("MIT")



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

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:29:47
  Author: felixonmars
Revision: 981418

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-tasty-hunit/repos/community-staging-x86_64/PKGBUILD (from rev 
981417, haskell-tasty-hunit/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:29:47 UTC (rev 981418)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=tasty-hunit
+pkgname=haskell-tasty-hunit
+pkgver=0.10.0.3
+pkgrel=181
+pkgdesc="HUnit support for the Tasty test framework."
+url="https://documentup.com/feuerbach/tasty;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-tasty' 'haskell-call-stack')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('29adbf499b8079c12c756e031c3bebffa1c312cf623ff77d4fb2e85d3462ac6e71aa8a13c3e161ef04ad5bbf910c3bb5f4b62bc3825a030b690a90eea812b85a')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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
+}
+
+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-syb/trunk (PKGBUILD)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:30:26
  Author: felixonmars
Revision: 981419

upgpkg: haskell-syb 0.7.2.1-64: rebuild with unliftio 0.2.19

Modified:
  haskell-syb/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 05:29:47 UTC (rev 981418)
+++ PKGBUILD2021-07-21 05:30:26 UTC (rev 981419)
@@ -6,7 +6,7 @@
 _hkgname=syb
 pkgname=haskell-syb
 pkgver=0.7.2.1
-pkgrel=63
+pkgrel=64
 pkgdesc="library for generic programming in Haskell"
 url="https://hackage.haskell.org/package/${_hkgname};
 license=('BSD')



[arch-commits] Commit in haskell-tasty/trunk (PKGBUILD)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:28:40
  Author: felixonmars
Revision: 981415

upgpkg: haskell-tasty 1.4.1-53: rebuild with unliftio 0.2.19

Modified:
  haskell-tasty/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 05:27:58 UTC (rev 981414)
+++ PKGBUILD2021-07-21 05:28:40 UTC (rev 981415)
@@ -4,7 +4,7 @@
 _hkgname=tasty
 pkgname=haskell-tasty
 pkgver=1.4.1
-pkgrel=52
+pkgrel=53
 pkgdesc="Modern and extensible testing framework"
 url="http://documentup.com/feuerbach/tasty;
 license=("MIT")



[arch-commits] Commit in haskell-ansi-wl-pprint/repos (2 files)

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

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ansi-wl-pprint/repos/community-staging-x86_64/
  haskell-ansi-wl-pprint/repos/community-staging-x86_64/PKGBUILD
(from rev 981411, haskell-ansi-wl-pprint/trunk/PKGBUILD)

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

Copied: haskell-ansi-wl-pprint/repos/community-staging-x86_64/PKGBUILD (from 
rev 981411, haskell-ansi-wl-pprint/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:26:51 UTC (rev 981412)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=ansi-wl-pprint
+pkgname=haskell-ansi-wl-pprint
+pkgver=0.6.9
+pkgrel=199
+pkgdesc="The Wadler/Leijen Pretty Printer for colored ANSI terminal output"
+url="https://github.com/ekmett/ansi-wl-pprint;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('2a66236f740f0b45b6133555e8b1315dc85ece1c16dd51e4aa7f31d2fee03d66869af5f81e6383aa840f503c2cad46f3655f53b784ebca7b3480efb53eea2a04')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/< *0.10/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-example
+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
+}
+
+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-optparse-applicative/repos (2 files)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:27:58
  Author: felixonmars
Revision: 981414

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-optparse-applicative/repos/community-staging-x86_64/
  haskell-optparse-applicative/repos/community-staging-x86_64/PKGBUILD
(from rev 981413, haskell-optparse-applicative/trunk/PKGBUILD)

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

Copied: haskell-optparse-applicative/repos/community-staging-x86_64/PKGBUILD 
(from rev 981413, haskell-optparse-applicative/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:27:58 UTC (rev 981414)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan 
+# Contributor: Roger Duran 
+
+_hkgname=optparse-applicative
+pkgname=haskell-optparse-applicative
+pkgver=0.16.1.0
+pkgrel=128
+pkgdesc="Utilities and combinators for parsing command line options"
+url="https://github.com/pcapriotti/optparse-applicative;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-ansi-wl-pprint" "haskell-transformers-compat")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('46bdb37b1328a6dbf271dcdb3483266c0c8412fc489e68e32b114745d9cf0108dd49df6cb565df3470121931a769f11996f5fd9fd8e9e38ed6b6853faab56710')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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
+}
+
+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-optparse-applicative/trunk (PKGBUILD)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:27:46
  Author: felixonmars
Revision: 981413

upgpkg: haskell-optparse-applicative 0.16.1.0-128: rebuild with unliftio 0.2.19

Modified:
  haskell-optparse-applicative/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 05:26:51 UTC (rev 981412)
+++ PKGBUILD2021-07-21 05:27:46 UTC (rev 981413)
@@ -4,7 +4,7 @@
 _hkgname=optparse-applicative
 pkgname=haskell-optparse-applicative
 pkgver=0.16.1.0
-pkgrel=127
+pkgrel=128
 pkgdesc="Utilities and combinators for parsing command line options"
 url="https://github.com/pcapriotti/optparse-applicative;
 license=("BSD")



[arch-commits] Commit in haskell-ansi-wl-pprint/trunk (PKGBUILD)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:26:39
  Author: felixonmars
Revision: 981411

upgpkg: haskell-ansi-wl-pprint 0.6.9-199: rebuild with unliftio 0.2.19

Modified:
  haskell-ansi-wl-pprint/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 05:26:07 UTC (rev 981410)
+++ PKGBUILD2021-07-21 05:26:39 UTC (rev 981411)
@@ -4,7 +4,7 @@
 _hkgname=ansi-wl-pprint
 pkgname=haskell-ansi-wl-pprint
 pkgver=0.6.9
-pkgrel=198
+pkgrel=199
 pkgdesc="The Wadler/Leijen Pretty Printer for colored ANSI terminal output"
 url="https://github.com/ekmett/ansi-wl-pprint;
 license=("BSD")



[arch-commits] Commit in haskell-ansi-terminal/trunk (PKGBUILD)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:25:55
  Author: felixonmars
Revision: 981409

upgpkg: haskell-ansi-terminal 0.11-139: rebuild with unliftio 0.2.19

Modified:
  haskell-ansi-terminal/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 05:25:20 UTC (rev 981408)
+++ PKGBUILD2021-07-21 05:25:55 UTC (rev 981409)
@@ -4,7 +4,7 @@
 _hkgname=ansi-terminal
 pkgname=haskell-ansi-terminal
 pkgver=0.11
-pkgrel=138
+pkgrel=139
 pkgdesc="Simple ANSI terminal support, with Windows compatibility"
 url="https://github.com/feuerbach/ansi-terminal;
 license=("BSD")



[arch-commits] Commit in haskell-ansi-terminal/repos (2 files)

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

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ansi-terminal/repos/community-staging-x86_64/
  haskell-ansi-terminal/repos/community-staging-x86_64/PKGBUILD
(from rev 981409, haskell-ansi-terminal/trunk/PKGBUILD)

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

Copied: haskell-ansi-terminal/repos/community-staging-x86_64/PKGBUILD (from rev 
981409, haskell-ansi-terminal/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:26:07 UTC (rev 981410)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=ansi-terminal
+pkgname=haskell-ansi-terminal
+pkgver=0.11
+pkgrel=139
+pkgdesc="Simple ANSI terminal support, with Windows compatibility"
+url="https://github.com/feuerbach/ansi-terminal;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-colour')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('2a608da18bbb3d11373dc0c6ee1bf4c890d5d4e39a2b13e547c7a3a4060eb86789d6afa04d1bd9e5df91f3745ea33adea8b15df213d39e75eca296275a74700d')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-example
+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
+}
+
+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-colour/trunk (PKGBUILD)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:25:08
  Author: felixonmars
Revision: 981407

upgpkg: haskell-colour 2.3.6-6: rebuild with unliftio 0.2.19 (rebuild pass 1, 
specified --nocheck)

Modified:
  haskell-colour/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 05:24:35 UTC (rev 981406)
+++ PKGBUILD2021-07-21 05:25:08 UTC (rev 981407)
@@ -4,7 +4,7 @@
 _hkgname=colour
 pkgname=haskell-colour
 pkgver=2.3.6
-pkgrel=5
+pkgrel=6
 pkgdesc="A model for human colour/color perception"
 url="https://hackage.haskell.org/package/${_hkgname};
 license=("MIT")



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

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

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-colour/repos/community-staging-x86_64/
  haskell-colour/repos/community-staging-x86_64/PKGBUILD
(from rev 981407, haskell-colour/trunk/PKGBUILD)

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

Copied: haskell-colour/repos/community-staging-x86_64/PKGBUILD (from rev 
981407, haskell-colour/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:25:20 UTC (rev 981408)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=colour
+pkgname=haskell-colour
+pkgver=2.3.6
+pkgrel=6
+pkgdesc="A model for human colour/color perception"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-quickcheck' 'haskell-random' 'haskell-test-framework'
+  'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('82f7d92e46f7235706832be9d3a981bc09f729ef4e7f891dae85bf808f342e498aa152bc106f9c011ab0e79e5cc2d57067de596d774ad5010e9845df521ed275')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u random $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir="$pkgname" 
"${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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 --show-details=direct
+}
+
+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 uusi/repos (2 files)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:24:35
  Author: felixonmars
Revision: 981406

archrelease: copy trunk to community-staging-x86_64

Added:
  uusi/repos/community-staging-x86_64/
  uusi/repos/community-staging-x86_64/PKGBUILD
(from rev 981405, uusi/trunk/PKGBUILD)

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

Copied: uusi/repos/community-staging-x86_64/PKGBUILD (from rev 981405, 
uusi/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:24:35 UTC (rev 981406)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+pkgname=uusi
+pkgver=0.4.2.0
+pkgrel=6
+pkgdesc="Tweak .cabal files"
+url="https://github.com/berberman/uusi;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha512sums=('0d859230940ccf035578a61ecea6165c94de2865e860bb22addcaeaa89a2c214bf46bde8bcce1f0b04a1cd1b58d4d1a2271ca69904ba6055a421ebb4e40c1f7b')
+
+build() {
+  cd $pkgname-$pkgver
+
+  if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+  else
+_opts=('--disable-tests')
+  fi
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+  cd $pkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  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 uusi/trunk (PKGBUILD)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:24:23
  Author: felixonmars
Revision: 981405

upgpkg: uusi 0.4.2.0-6: rebuild with unliftio 0.2.19

Modified:
  uusi/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 05:23:51 UTC (rev 981404)
+++ PKGBUILD2021-07-21 05:24:23 UTC (rev 981405)
@@ -2,7 +2,7 @@
 
 pkgname=uusi
 pkgver=0.4.2.0
-pkgrel=5
+pkgrel=6
 pkgdesc="Tweak .cabal files"
 url="https://github.com/berberman/uusi;
 license=("MIT")



[arch-commits] Commit in haskell-hspec-expectations/trunk (PKGBUILD)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:23:38
  Author: felixonmars
Revision: 981403

upgpkg: haskell-hspec-expectations 0.8.2-153: rebuild with unliftio 0.2.19

Modified:
  haskell-hspec-expectations/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 05:23:08 UTC (rev 981402)
+++ PKGBUILD2021-07-21 05:23:38 UTC (rev 981403)
@@ -3,7 +3,7 @@
 _hkgname=hspec-expectations
 pkgname=haskell-hspec-expectations
 pkgver=0.8.2
-pkgrel=152
+pkgrel=153
 pkgdesc="Catchy combinators for HUnit"
 url="https://github.com/sol/hspec-expectations;
 license=('MIT')



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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hspec-expectations/repos/community-staging-x86_64/PKGBUILD 
(from rev 981403, haskell-hspec-expectations/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:23:51 UTC (rev 981404)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-expectations
+pkgname=haskell-hspec-expectations
+pkgver=0.8.2
+pkgrel=153
+pkgdesc="Catchy combinators for HUnit"
+url="https://github.com/sol/hspec-expectations;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-call-stack' 'haskell-hunit')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('482799adad2a70f891a61227bcf28e6712e65fa7dceba13da15a101a6814bc0d44aafaeda360a06dcdbcdbb96e5539f15135753eabd63efdd6bf56b8994a44c9')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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
+}
+
+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-logging-facade/repos (2 files)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:22:27
  Author: felixonmars
Revision: 981400

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-logging-facade/repos/community-staging-x86_64/
  haskell-logging-facade/repos/community-staging-x86_64/PKGBUILD
(from rev 981399, haskell-logging-facade/trunk/PKGBUILD)

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

Copied: haskell-logging-facade/repos/community-staging-x86_64/PKGBUILD (from 
rev 981399, haskell-logging-facade/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:22:27 UTC (rev 981400)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=logging-facade
+pkgname=haskell-logging-facade
+pkgver=0.3.0
+pkgrel=218
+pkgdesc="Simple logging abstraction that allows multiple back-ends"
+url="https://github.com/sol/logging-facade;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-call-stack')
+makedepends=('ghc')
+checkdepends=('haskell-hspec')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('3a6fbd7b309f6094224f6af2b98408a2a49519f8c0ca1a26178fc6c0b593af2101769a4981bcf250dab2ed99144ec14b19263a755e8c71a5b01400651076228f')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+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-hunit/repos (2 files)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:23:08
  Author: felixonmars
Revision: 981402

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hunit/repos/community-staging-x86_64/
  haskell-hunit/repos/community-staging-x86_64/PKGBUILD
(from rev 981401, haskell-hunit/trunk/PKGBUILD)

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

Copied: haskell-hunit/repos/community-staging-x86_64/PKGBUILD (from rev 981401, 
haskell-hunit/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:23:08 UTC (rev 981402)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=HUnit
+pkgname=haskell-hunit
+pkgver=1.6.2.0
+pkgrel=41
+pkgdesc="A unit testing framework for Haskell"
+url="http://hunit.sourceforge.net/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-call-stack')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('b27c33545fcb4ca78dd9543eb0ab2f09e5edd989d116fe2136d876eb94745e6d384967ea4b3c6dbf0f03511091a82ecd0b299c8ab00769c57d6dddcddc27e8e5')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fbase4
+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
+}
+
+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-hunit/trunk (PKGBUILD)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:22:55
  Author: felixonmars
Revision: 981401

upgpkg: haskell-hunit 1.6.2.0-41: rebuild with unliftio 0.2.19

Modified:
  haskell-hunit/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 05:22:27 UTC (rev 981400)
+++ PKGBUILD2021-07-21 05:22:55 UTC (rev 981401)
@@ -4,7 +4,7 @@
 _hkgname=HUnit
 pkgname=haskell-hunit
 pkgver=1.6.2.0
-pkgrel=40
+pkgrel=41
 pkgdesc="A unit testing framework for Haskell"
 url="http://hunit.sourceforge.net/;
 license=("BSD")



[arch-commits] Commit in haskell-logging-facade/trunk (PKGBUILD)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:22:15
  Author: felixonmars
Revision: 981399

upgpkg: haskell-logging-facade 0.3.0-218: rebuild with unliftio 0.2.19 (rebuild 
pass 1, specified --nocheck)

Modified:
  haskell-logging-facade/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 05:21:44 UTC (rev 981398)
+++ PKGBUILD2021-07-21 05:22:15 UTC (rev 981399)
@@ -4,7 +4,7 @@
 _hkgname=logging-facade
 pkgname=haskell-logging-facade
 pkgver=0.3.0
-pkgrel=217
+pkgrel=218
 pkgdesc="Simple logging abstraction that allows multiple back-ends"
 url="https://github.com/sol/logging-facade;
 license=("MIT")



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

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

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-nanospec/repos/community-staging-x86_64/
  haskell-nanospec/repos/community-staging-x86_64/PKGBUILD
(from rev 981395, haskell-nanospec/trunk/PKGBUILD)

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

Copied: haskell-nanospec/repos/community-staging-x86_64/PKGBUILD (from rev 
981395, haskell-nanospec/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:20:59 UTC (rev 981396)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+
+_hkgname=nanospec
+pkgname=haskell-nanospec
+pkgver=0.2.2
+pkgrel=185
+pkgdesc="A lightweight implementation of a subset of Hspec's API"
+url="https://github.com/commercialhaskell/nanospec;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-hspec' 'haskell-silently')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('6161b5cc1797a3fdcd07cad14deaa3edd6faa87309b5e8a31834d7c1dda23737fe4f2e763b13da7f5ef6f6ee3a9414f88b9ae01e5403320ba23d76404324a3b0')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+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-call-stack/repos (2 files)

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

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-call-stack/repos/community-staging-x86_64/
  haskell-call-stack/repos/community-staging-x86_64/PKGBUILD
(from rev 981397, haskell-call-stack/trunk/PKGBUILD)

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

Copied: haskell-call-stack/repos/community-staging-x86_64/PKGBUILD (from rev 
981397, haskell-call-stack/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:21:44 UTC (rev 981398)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Roger Duran 
+
+_hkgname=call-stack
+pkgname=haskell-call-stack
+pkgver=0.4.0
+pkgrel=5
+pkgdesc="Use GHC call-stacks in a backward compatible way"
+url="https://github.com/sol/call-stack;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-nanospec')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('ab8ead1f9d6a71a6c70d2c484de4e42f3aecdcadd6d02f447b450e58b8556c7c4c293b8865ff154ea9bc6aca71cf5182034dc46265d364c4389882ab0ee3b937')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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 --show-details=direct
+}
+
+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-call-stack/trunk (PKGBUILD)

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

upgpkg: haskell-call-stack 0.4.0-5: rebuild with unliftio 0.2.19

Modified:
  haskell-call-stack/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 05:20:59 UTC (rev 981396)
+++ PKGBUILD2021-07-21 05:21:30 UTC (rev 981397)
@@ -4,7 +4,7 @@
 _hkgname=call-stack
 pkgname=haskell-call-stack
 pkgver=0.4.0
-pkgrel=4
+pkgrel=5
 pkgdesc="Use GHC call-stacks in a backward compatible way"
 url="https://github.com/sol/call-stack;
 license=("MIT")



[arch-commits] Commit in haskell-nanospec/trunk (PKGBUILD)

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

upgpkg: haskell-nanospec 0.2.2-185: rebuild with unliftio 0.2.19 (rebuild pass 
1, specified --nocheck)

Modified:
  haskell-nanospec/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 05:20:14 UTC (rev 981394)
+++ PKGBUILD2021-07-21 05:20:47 UTC (rev 981395)
@@ -3,7 +3,7 @@
 _hkgname=nanospec
 pkgname=haskell-nanospec
 pkgver=0.2.2
-pkgrel=184
+pkgrel=185
 pkgdesc="A lightweight implementation of a subset of Hspec's API"
 url="https://github.com/commercialhaskell/nanospec;
 license=('MIT')



[arch-commits] Commit in haskell-base-compat-batteries/trunk (PKGBUILD)

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

upgpkg: haskell-base-compat-batteries 0.11.2-132: rebuild with unliftio 0.2.19 
(rebuild pass 1, specified --nocheck)

Modified:
  haskell-base-compat-batteries/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 05:19:25 UTC (rev 981392)
+++ PKGBUILD2021-07-21 05:20:01 UTC (rev 981393)
@@ -3,7 +3,7 @@
 _hkgname=base-compat-batteries
 pkgname=haskell-base-compat-batteries
 pkgver=0.11.2
-pkgrel=131
+pkgrel=132
 pkgdesc="base-compat with extra batteries"
 url="https://hackage.haskell.org/package/base-compat-batteries;
 license=('MIT')



[arch-commits] Commit in haskell-base-compat-batteries/repos (2 files)

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

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-base-compat-batteries/repos/community-staging-x86_64/
  haskell-base-compat-batteries/repos/community-staging-x86_64/PKGBUILD
(from rev 981393, haskell-base-compat-batteries/trunk/PKGBUILD)

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

Copied: haskell-base-compat-batteries/repos/community-staging-x86_64/PKGBUILD 
(from rev 981393, haskell-base-compat-batteries/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:20:14 UTC (rev 981394)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+
+_hkgname=base-compat-batteries
+pkgname=haskell-base-compat-batteries
+pkgver=0.11.2
+pkgrel=132
+pkgdesc="base-compat with extra batteries"
+url="https://hackage.haskell.org/package/base-compat-batteries;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat')
+makedepends=('ghc')
+checkdepends=('haskell-hspec' 'haskell-hspec-discover' 'haskell-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('0b54b53bb762ca99cbfe82799a63f73229447325438ccae4849df676d14a4758177d9481391b628cca7921d9796ac3172ad8226b2530e151b7c59f86b82f381a')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:19:25
  Author: felixonmars
Revision: 981392

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hspec-discover/repos/community-staging-x86_64/PKGBUILD (from 
rev 981391, haskell-hspec-discover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:19:25 UTC (rev 981392)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-discover
+pkgname=haskell-hspec-discover
+pkgver=2.8.2
+pkgrel=16
+pkgdesc="Automatically discover and run Hspec tests"
+url="http://hspec.github.io/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-quickcheck' 'haskell-hspec-meta')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e330213243cef7d54b788400c326d72749223bbadc65ca6d46069417e91465cac543f2aa551414f0b9eb9936ea33aca6e561b11afe80e38dcde3383069479822')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+   
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hspec-discover/trunk (PKGBUILD)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:19:11
  Author: felixonmars
Revision: 981391

upgpkg: haskell-hspec-discover 2.8.2-16: rebuild with unliftio 0.2.19 (rebuild 
pass 1, specified --nocheck)

Modified:
  haskell-hspec-discover/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 05:18:42 UTC (rev 981390)
+++ PKGBUILD2021-07-21 05:19:11 UTC (rev 981391)
@@ -3,7 +3,7 @@
 _hkgname=hspec-discover
 pkgname=haskell-hspec-discover
 pkgver=2.8.2
-pkgrel=15
+pkgrel=16
 pkgdesc="Automatically discover and run Hspec tests"
 url="http://hspec.github.io/;
 license=('MIT')



[arch-commits] Commit in haskell-stringbuilder/trunk (PKGBUILD)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:18:30
  Author: felixonmars
Revision: 981389

upgpkg: haskell-stringbuilder 0.5.1-220: rebuild with unliftio 0.2.19 (rebuild 
pass 1, specified --nocheck)

Modified:
  haskell-stringbuilder/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 05:18:02 UTC (rev 981388)
+++ PKGBUILD2021-07-21 05:18:30 UTC (rev 981389)
@@ -4,7 +4,7 @@
 _hkgname=stringbuilder
 pkgname=haskell-stringbuilder
 pkgver=0.5.1
-pkgrel=219
+pkgrel=220
 pkgdesc="A writer monad for multi-line string literals"
 url="https://github.com/sol/stringbuilder;
 license=("MIT")



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

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:18:42
  Author: felixonmars
Revision: 981390

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-stringbuilder/repos/community-staging-x86_64/
  haskell-stringbuilder/repos/community-staging-x86_64/PKGBUILD
(from rev 981389, haskell-stringbuilder/trunk/PKGBUILD)

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

Copied: haskell-stringbuilder/repos/community-staging-x86_64/PKGBUILD (from rev 
981389, haskell-stringbuilder/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:18:42 UTC (rev 981390)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=stringbuilder
+pkgname=haskell-stringbuilder
+pkgver=0.5.1
+pkgrel=220
+pkgdesc="A writer monad for multi-line string literals"
+url="https://github.com/sol/stringbuilder;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-hspec' 'haskell-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('09cbf01dce82b325393c0d6f0264792695d528a184052f5e1d5dbd3fc181fd11c280e77ba445f1e44c6a8dabc0b267aa90f4a9f1fc34135f1b741d2a5dca9369')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+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-clock/repos (2 files)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:18:02
  Author: felixonmars
Revision: 981388

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-clock/repos/community-staging-x86_64/
  haskell-clock/repos/community-staging-x86_64/PKGBUILD
(from rev 981387, haskell-clock/trunk/PKGBUILD)

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

Copied: haskell-clock/repos/community-staging-x86_64/PKGBUILD (from rev 981387, 
haskell-clock/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:18:02 UTC (rev 981388)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=clock
+pkgname=haskell-clock
+pkgver=0.8.2
+pkgrel=73
+pkgdesc="High-resolution clock functions: monotonic, realtime, cputime."
+url="https://github.com/corsis/clock;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-tasty' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('42a7681ae8f1357c4ae39f51a15d7a00f3d587c8fc787d648308f914702471e6f9b32ee51fa1e8164a77f195600fdab8e27d45aa13a7052a921c4b8c246b891e')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-llvm
+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 --show-details=direct
+}
+
+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-clock/trunk (PKGBUILD)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 05:17:50
  Author: felixonmars
Revision: 981387

upgpkg: haskell-clock 0.8.2-73: rebuild with unliftio 0.2.19 (rebuild pass 1, 
specified --nocheck)

Modified:
  haskell-clock/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 05:17:20 UTC (rev 981386)
+++ PKGBUILD2021-07-21 05:17:50 UTC (rev 981387)
@@ -4,7 +4,7 @@
 _hkgname=clock
 pkgname=haskell-clock
 pkgver=0.8.2
-pkgrel=72
+pkgrel=73
 pkgdesc="High-resolution clock functions: monotonic, realtime, cputime."
 url="https://github.com/corsis/clock;
 license=("BSD")



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

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

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-unliftio/repos/community-staging-x86_64/
  haskell-unliftio/repos/community-staging-x86_64/PKGBUILD
(from rev 981385, haskell-unliftio/trunk/PKGBUILD)

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

Copied: haskell-unliftio/repos/community-staging-x86_64/PKGBUILD (from rev 
981385, haskell-unliftio/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 05:17:20 UTC (rev 981386)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=unliftio
+pkgname=haskell-unliftio
+pkgver=0.2.19
+pkgrel=1
+pkgdesc="The MonadUnliftIO typeclass for unlifting monads to IO (batteries 
included)"
+url="https://github.com/fpco/monad-unlift;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-async' 'haskell-unliftio-core')
+makedepends=('ghc')
+checkdepends=('haskell-hspec' 'haskell-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('c70c2d5471f66b90a5afb73d86c57d3c92f82a3ef34b8ca6d74ca4ec7126802d6b8ff9d89a4b18a720afce07d62efabc8a9ba050bec9d5d0a48bd57ba7686973')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+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-unliftio/trunk (PKGBUILD)

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

upgpkg: haskell-unliftio 0.2.19-1: rebuild with unliftio 0.2.19

Modified:
  haskell-unliftio/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 05:15:04 UTC (rev 981384)
+++ PKGBUILD2021-07-21 05:17:07 UTC (rev 981385)
@@ -3,8 +3,8 @@
 
 _hkgname=unliftio
 pkgname=haskell-unliftio
-pkgver=0.2.18
-pkgrel=11
+pkgver=0.2.19
+pkgrel=1
 pkgdesc="The MonadUnliftIO typeclass for unlifting monads to IO (batteries 
included)"
 url="https://github.com/fpco/monad-unlift;
 license=("MIT")
@@ -13,7 +13,7 @@
 makedepends=('ghc')
 checkdepends=('haskell-hspec' 'haskell-quickcheck')
 
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('baa90de754474bcd7e2116f4f2a5c98192f2cc62368895eda5995b528c193d07225f1f1409b0f24ce24f7ea396237563b2ff8182636b53618d4048d558d1a8fd')
+sha512sums=('c70c2d5471f66b90a5afb73d86c57d3c92f82a3ef34b8ca6d74ca4ec7126802d6b8ff9d89a4b18a720afce07d62efabc8a9ba050bec9d5d0a48bd57ba7686973')
 
 build() {
 cd $_hkgname-$pkgver



[arch-commits] Commit in cherrytree/repos/community-staging-x86_64 (PKGBUILD PKGBUILD)

2021-07-20 Thread Brett Cornwall via arch-commits
Date: Wednesday, July 21, 2021 @ 05:09:14
  Author: ainola
Revision: 981375

archrelease: copy trunk to community-staging-x86_64

Added:
  cherrytree/repos/community-staging-x86_64/PKGBUILD
(from rev 981374, cherrytree/trunk/PKGBUILD)
Deleted:
  cherrytree/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |   76 ++---
 1 file changed, 38 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-07-21 05:08:52 UTC (rev 981374)
+++ PKGBUILD2021-07-21 05:09:14 UTC (rev 981375)
@@ -1,38 +0,0 @@
-# Maintainer: NicoHood 
-# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161
-# Contributor: Morgenstern 
-
-pkgname=cherrytree
-pkgver=0.99.39
-pkgrel=1
-pkgdesc="Hierarchical note-taking application"
-arch=('x86_64')
-url="https://www.giuspen.com/cherrytree/;
-license=('GPL3')
-depends=('fmt' 'gspell' 'gtksourceviewmm' 'libxml++2.6' 'uchardet')
-makedepends=('cmake' 'python' 'spdlog')
-checkdepends=('xorg-server-xvfb')
-source=("https://www.giuspen.com/software/${pkgname}_${pkgver}.tar.xz"{,.asc})
-sha512sums=('33f79f328dccc5d3a9da00b7ac50d91cad245f8045e85df6b81ca84a2eb39ef0c882bc5cf08f7ae6d01289ac97ec884cf92a1e1216bc8ff592fb5d8b7e8e1635'
-'SKIP')
-validpgpkeys=('C7BF38CE0BD442C2369AA984049128A20CE0648D') # Giuseppe Penone 

-
-build() {
-  cmake \
-  -B "${pkgname}_${pkgver}/build" \
-  -S "${pkgname}_${pkgver}" \
-  -DINSTALL_GTEST:BOOL='OFF' \
-  -DAUTO_RUN_TESTING:BOOL='OFF' \
-  -Wno-dev
-  make -C "${pkgname}_${pkgver}/build"
-}
-
-check() {
-  cd "${pkgname}_${pkgver}"
-  xvfb-run ./"${_pkgname}/build/run_tests_with_x_1"
-  xvfb-run ./"${_pkgname}/build/run_tests_with_x_2"
-}
-
-package() {
-  make -C "${pkgname}_${pkgver}/build" DESTDIR="${pkgdir}" install
-}

Copied: cherrytree/repos/community-staging-x86_64/PKGBUILD (from rev 981374, 
cherrytree/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-07-21 05:09:14 UTC (rev 981375)
@@ -0,0 +1,38 @@
+# Maintainer: NicoHood 
+# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161
+# Contributor: Morgenstern 
+
+pkgname=cherrytree
+pkgver=0.99.39
+pkgrel=2
+pkgdesc="Hierarchical note-taking application"
+arch=('x86_64')
+url="https://www.giuspen.com/cherrytree/;
+license=('GPL3')
+depends=('fmt' 'gspell' 'gtksourceviewmm' 'libxml++2.6' 'uchardet')
+makedepends=('cmake' 'python' 'spdlog')
+checkdepends=('xorg-server-xvfb')
+source=("https://www.giuspen.com/software/${pkgname}_${pkgver}.tar.xz"{,.asc})
+sha512sums=('33f79f328dccc5d3a9da00b7ac50d91cad245f8045e85df6b81ca84a2eb39ef0c882bc5cf08f7ae6d01289ac97ec884cf92a1e1216bc8ff592fb5d8b7e8e1635'
+'SKIP')
+validpgpkeys=('C7BF38CE0BD442C2369AA984049128A20CE0648D') # Giuseppe Penone 

+
+build() {
+  cmake \
+  -B "${pkgname}_${pkgver}/build" \
+  -S "${pkgname}_${pkgver}" \
+  -DINSTALL_GTEST:BOOL='OFF' \
+  -DAUTO_RUN_TESTING:BOOL='OFF' \
+  -Wno-dev
+  make -C "${pkgname}_${pkgver}/build"
+}
+
+check() {
+  cd "${pkgname}_${pkgver}"
+  xvfb-run ./"${_pkgname}/build/run_tests_with_x_1"
+  xvfb-run ./"${_pkgname}/build/run_tests_with_x_2"
+}
+
+package() {
+  make -C "${pkgname}_${pkgver}/build" DESTDIR="${pkgdir}" install
+}



[arch-commits] Commit in cherrytree/trunk (PKGBUILD)

2021-07-20 Thread Brett Cornwall via arch-commits
Date: Wednesday, July 21, 2021 @ 05:08:52
  Author: ainola
Revision: 981374

Rebuild against spdlog 1.9.0

Modified:
  cherrytree/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 04:43:44 UTC (rev 981373)
+++ PKGBUILD2021-07-21 05:08:52 UTC (rev 981374)
@@ -4,7 +4,7 @@
 
 pkgname=cherrytree
 pkgver=0.99.39
-pkgrel=1
+pkgrel=2
 pkgdesc="Hierarchical note-taking application"
 arch=('x86_64')
 url="https://www.giuspen.com/cherrytree/;



[arch-commits] Commit in waybar/repos/community-staging-x86_64 (PKGBUILD PKGBUILD)

2021-07-20 Thread Brett Cornwall via arch-commits
Date: Wednesday, July 21, 2021 @ 04:43:44
  Author: ainola
Revision: 981373

archrelease: copy trunk to community-staging-x86_64

Added:
  waybar/repos/community-staging-x86_64/PKGBUILD
(from rev 981372, waybar/trunk/PKGBUILD)
Deleted:
  waybar/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  125 ++---
 1 file changed, 63 insertions(+), 62 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-07-21 04:43:15 UTC (rev 981372)
+++ PKGBUILD2021-07-21 04:43:44 UTC (rev 981373)
@@ -1,62 +0,0 @@
-# Maintainer: Brett Cornwall 
-# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
-
-pkgname=waybar
-pkgver=0.9.7
-pkgrel=3
-pkgdesc='Highly customizable Wayland bar for Sway and Wlroots based 
compositors'
-arch=('x86_64')
-url="https://github.com/Alexays/Waybar/;
-license=('MIT')
-depends=(
-'gtkmm3'
-'libjsoncpp.so'
-'libsigc++'
-'fmt'
-'wayland'
-'libdate-tz.so'
-'libspdlog.so'
-'gtk-layer-shell'
-'libpulse'
-'libnl'
-'libappindicator-gtk3'
-'libdbusmenu-gtk3'
-'libmpdclient'
-'libsndio.so'
-)
-makedepends=(
-'cmake'
-'meson'
-'scdoc' # For generating manpages
-'wayland-protocols'
-)
-optdepends=(
-'otf-font-awesome: Icons in the default configuration'
-)
-source=(
-
"$pkgname-$pkgver.tar.gz::https://github.com/Alexays/Waybar/archive/$pkgver.tar.gz;
-"https://github.com/Alexays/Waybar/pull/1144.patch;
-)
-sha256sums=('0d23573e0f6ce6e3f3eb4d1d7313848b924429268f3becd81649a391ae7703e7'
-'24e27ce50647cec5ad4d5e667c22b538d404fa865e8aba2a0dadac2166502a95')
-
-prepare() {
-cd "Waybar-$pkgver"
-patch -Np1 -i ../1144.patch
-}
-
-build() {
-cd "Waybar-$pkgver"
-meson --prefix=/usr \
-  --buildtype=plain \
-  --auto-features=enabled \
-  --wrap-mode=nodownload \
-  build
-ninja -C build
-}
-
-package() {
-cd "Waybar-$pkgver"
-DESTDIR="$pkgdir" ninja -C build install
-install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
-}

Copied: waybar/repos/community-staging-x86_64/PKGBUILD (from rev 981372, 
waybar/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-07-21 04:43:44 UTC (rev 981373)
@@ -0,0 +1,63 @@
+# Maintainer: Brett Cornwall 
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+
+pkgname=waybar
+pkgver=0.9.7
+pkgrel=4
+pkgdesc='Highly customizable Wayland bar for Sway and Wlroots based 
compositors'
+arch=('x86_64')
+url="https://github.com/Alexays/Waybar/;
+license=('MIT')
+depends=(
+'gtkmm3'
+'libjsoncpp.so'
+'libsigc++'
+'fmt'
+'wayland'
+'libdate-tz.so'
+'libspdlog.so'
+'gtk-layer-shell'
+'libpulse'
+'libnl'
+'libappindicator-gtk3'
+'libdbusmenu-gtk3'
+'libmpdclient'
+'libsndio.so'
+)
+makedepends=(
+'cmake'
+'meson'
+'scdoc' # For generating manpages
+'wayland-protocols'
+)
+optdepends=(
+'otf-font-awesome: Icons in the default configuration'
+)
+source=(
+
"$pkgname-$pkgver.tar.gz::https://github.com/Alexays/Waybar/archive/$pkgver.tar.gz;
+"https://github.com/Alexays/Waybar/pull/1144.patch;
+)
+sha256sums=('0d23573e0f6ce6e3f3eb4d1d7313848b924429268f3becd81649a391ae7703e7'
+'24e27ce50647cec5ad4d5e667c22b538d404fa865e8aba2a0dadac2166502a95')
+
+prepare() {
+cd "Waybar-$pkgver"
+# libfmt >=8.0.0 compatibility, merged upstream but not yet released.
+patch -Np1 -i ../1144.patch
+}
+
+build() {
+cd "Waybar-$pkgver"
+meson --prefix=/usr \
+  --buildtype=plain \
+  --auto-features=enabled \
+  --wrap-mode=nodownload \
+  build
+ninja -C build
+}
+
+package() {
+cd "Waybar-$pkgver"
+DESTDIR="$pkgdir" ninja -C build install
+install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
+}



[arch-commits] Commit in waybar/trunk (PKGBUILD)

2021-07-20 Thread Brett Cornwall via arch-commits
Date: Wednesday, July 21, 2021 @ 04:43:15
  Author: ainola
Revision: 981372

Rebuild against spdlog 1.9.0

Modified:
  waybar/trunk/PKGBUILD

--+
 PKGBUILD |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 04:39:43 UTC (rev 981371)
+++ PKGBUILD2021-07-21 04:43:15 UTC (rev 981372)
@@ -3,7 +3,7 @@
 
 pkgname=waybar
 pkgver=0.9.7
-pkgrel=3
+pkgrel=4
 pkgdesc='Highly customizable Wayland bar for Sway and Wlroots based 
compositors'
 arch=('x86_64')
 url="https://github.com/Alexays/Waybar/;
@@ -42,6 +42,7 @@
 
 prepare() {
 cd "Waybar-$pkgver"
+# libfmt >=8.0.0 compatibility, merged upstream but not yet released.
 patch -Np1 -i ../1144.patch
 }
 



[arch-commits] Commit in pandoc-crossref/repos (2 files)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 04:39:43
  Author: felixonmars
Revision: 981371

archrelease: copy trunk to community-staging-x86_64

Added:
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 981370, pandoc-crossref/trunk/PKGBUILD)

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

Copied: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
981370, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 04:39:43 UTC (rev 981371)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=pandoc-crossref
+pkgver=0.3.12.0
+pkgrel=15
+pkgdesc="Pandoc filter for cross-references"
+url="https://hackage.haskell.org/package/${pkgname};
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-data-default' 'haskell-gitrev' 'haskell-microlens'
+ 'haskell-microlens-mtl' 'haskell-microlens-th' 'haskell-open-browser'
+ 'haskell-optparse-applicative' 'pandoc' 'haskell-pandoc-types' 
'haskell-roman-numerals'
+ 'haskell-syb' 'haskell-utility-ht')
+makedepends=('ghc' 'haskell-hspec')
+conflicts=('haskell-pandoc-crossref')
+replaces=('haskell-pandoc-crossref')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/lierdakil/pandoc-crossref/archive/v$pkgver.tar.gz;)
+sha512sums=('5e2dbd5d63d0a6b295da9efc97273d3d2c9a08f50ddda3df3f1df31b112be082233011e632c551be34043d50114f7d2373219ef68ffa1fa59a9fb4d31b9351d5')
+
+build() {
+cd $pkgname-$pkgver
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+   -f-enable_flaky_tests
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in pandoc-crossref/trunk (PKGBUILD)

2021-07-20 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 04:39:30
  Author: felixonmars
Revision: 981370

upgpkg: pandoc-crossref 0.3.12.0-15: rebuild with citeproc 0.4.1, doctemplates 
0.10, pandoc 2.14.1, skylighting 0.11, skylighting-core 0.11

Modified:
  pandoc-crossref/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 04:38:56 UTC (rev 981369)
+++ PKGBUILD2021-07-21 04:39:30 UTC (rev 981370)
@@ -3,7 +3,7 @@
 
 pkgname=pandoc-crossref
 pkgver=0.3.12.0
-pkgrel=14
+pkgrel=15
 pkgdesc="Pandoc filter for cross-references"
 url="https://hackage.haskell.org/package/${pkgname};
 license=("GPL2")



[arch-commits] Commit in spdlog/repos/community-staging-x86_64 (PKGBUILD PKGBUILD)

2021-07-20 Thread Brett Cornwall via arch-commits
Date: Wednesday, July 21, 2021 @ 04:38:56
  Author: ainola
Revision: 981369

archrelease: copy trunk to community-staging-x86_64

Added:
  spdlog/repos/community-staging-x86_64/PKGBUILD
(from rev 981368, spdlog/trunk/PKGBUILD)
Deleted:
  spdlog/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  102 ++---
 1 file changed, 44 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-07-21 04:38:16 UTC (rev 981368)
+++ PKGBUILD2021-07-21 04:38:56 UTC (rev 981369)
@@ -1,58 +0,0 @@
-# Maintainer: Brett Cornwall 
-# Contributor: Luca Weiss
-# Contributor: Michael Yang
-
-pkgname=spdlog
-pkgver=1.8.5
-pkgrel=3
-pkgdesc='Very fast, header-only/compiled, C++ logging library'
-arch=('x86_64')
-url='https://github.com/gabime/spdlog'
-license=('MIT')
-depends=('libfmt.so')
-makedepends=('cmake')
-source=(
-
"$pkgname-$pkgver.tar.gz::https://github.com/gabime/spdlog/archive/v$pkgver.tar.gz;
-
"https://github.com/gabime/spdlog/commit/8bf718671a9eac5517c27a5ffe72089b7f426d8c.patch;
-
"https://github.com/gabime/spdlog/commit/5887744d8b6ddaa3044d1c59f06e2cf24b8e0349.patch;
-
"https://github.com/gabime/spdlog/commit/7b14a65b2b8cbdca3c6bd1d36fe5b271389c1d07.patch;
-)
-provides=(
-'libspdlog.so'
-)
-sha256sums=('944d0bd7c763ac721398dca2bb0f3b5ed16f67cef36810ede5061f35a543b4b8'
-'8f6e53406139312d9302ca88e666c6a28409ba9de01e84ac3bae357beca31e32'
-'31882318089ed5b8875268c75e1256e971fe1d0d1894f50bc37e151cfb4e7daa'
-'5efa9e3b8d4dc4de351dc0e1d2516b2a6e141854e055ae420446785df85d9574')
-
-prepare() {
-  cd "$pkgname-$pkgver"
-  patch -Np1 -i ../8bf718671a9eac5517c27a5ffe72089b7f426d8c.patch
-  patch -Np1 -i ../5887744d8b6ddaa3044d1c59f06e2cf24b8e0349.patch
-  patch -Np1 -i ../7b14a65b2b8cbdca3c6bd1d36fe5b271389c1d07.patch
-  find -type f -name *.orig -delete
-}
-
-build() {
-export CFLAGS+=" ${CPPFLAGS}"
-export CXXFLAGS+=" ${CPPFLAGS}"
-cmake -B build -S "$pkgname-$pkgver" \
--DSPDLOG_BUILD_BENCH=OFF \
--DSPDLOG_FMT_EXTERNAL=ON \
--DSPDLOG_BUILD_SHARED=ON \
--DSPDLOG_BUILD_TESTS=ON \
--DCMAKE_BUILD_TYPE=None \
--DCMAKE_INSTALL_PREFIX=/usr \
--DCMAKE_INSTALL_LIBDIR=lib \
--Wno-dev
-make -C build
-}
-
-check() {
-make -C build test
-}
-
-package() {
-make -C build DESTDIR="$pkgdir" install
-install -Dm644 "$pkgname-$pkgver/LICENSE" -t 
"$pkgdir/usr/share/licenses/$pkgname/"
-}

Copied: spdlog/repos/community-staging-x86_64/PKGBUILD (from rev 981368, 
spdlog/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-07-21 04:38:56 UTC (rev 981369)
@@ -0,0 +1,44 @@
+# Maintainer: Brett Cornwall 
+# Contributor: Luca Weiss
+# Contributor: Michael Yang
+
+pkgname=spdlog
+pkgver=1.9.0
+pkgrel=1
+pkgdesc='Very fast, header-only/compiled, C++ logging library'
+arch=('x86_64')
+url='https://github.com/gabime/spdlog'
+license=('MIT')
+depends=('libfmt.so')
+makedepends=('cmake')
+source=(
+
"$pkgname-$pkgver.tar.gz::https://github.com/gabime/spdlog/archive/v$pkgver.tar.gz;
+)
+provides=(
+'libspdlog.so'
+)
+sha256sums=('9ad181d75aaedbf47c8881e7b947a47cac3d306997e39de24dba60db633e70a7')
+
+build() {
+export CFLAGS+=" ${CPPFLAGS}"
+export CXXFLAGS+=" ${CPPFLAGS}"
+cmake -B build -S "$pkgname-$pkgver" \
+-DSPDLOG_BUILD_BENCH=OFF \
+-DSPDLOG_FMT_EXTERNAL=ON \
+-DSPDLOG_BUILD_SHARED=ON \
+-DSPDLOG_BUILD_TESTS=ON \
+-DCMAKE_BUILD_TYPE=None \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_INSTALL_LIBDIR=lib \
+-Wno-dev
+make -C build
+}
+
+check() {
+make -C build test
+}
+
+package() {
+make -C build DESTDIR="$pkgdir" install
+install -Dm644 "$pkgname-$pkgver/LICENSE" -t 
"$pkgdir/usr/share/licenses/$pkgname/"
+}



[arch-commits] Commit in spdlog/trunk (PKGBUILD)

2021-07-20 Thread Brett Cornwall via arch-commits
Date: Wednesday, July 21, 2021 @ 04:38:16
  Author: ainola
Revision: 981368

upgpkg: spdlog 1.9.0-1

Modified:
  spdlog/trunk/PKGBUILD

--+
 PKGBUILD |   20 +++-
 1 file changed, 3 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-21 04:38:03 UTC (rev 981367)
+++ PKGBUILD2021-07-21 04:38:16 UTC (rev 981368)
@@ -3,8 +3,8 @@
 # Contributor: Michael Yang
 
 pkgname=spdlog
-pkgver=1.8.5
-pkgrel=3
+pkgver=1.9.0
+pkgrel=1
 pkgdesc='Very fast, header-only/compiled, C++ logging library'
 arch=('x86_64')
 url='https://github.com/gabime/spdlog'
@@ -13,26 +13,12 @@
 makedepends=('cmake')
 source=(
 
"$pkgname-$pkgver.tar.gz::https://github.com/gabime/spdlog/archive/v$pkgver.tar.gz;
-
"https://github.com/gabime/spdlog/commit/8bf718671a9eac5517c27a5ffe72089b7f426d8c.patch;
-
"https://github.com/gabime/spdlog/commit/5887744d8b6ddaa3044d1c59f06e2cf24b8e0349.patch;
-
"https://github.com/gabime/spdlog/commit/7b14a65b2b8cbdca3c6bd1d36fe5b271389c1d07.patch;
 )
 provides=(
 'libspdlog.so'
 )
-sha256sums=('944d0bd7c763ac721398dca2bb0f3b5ed16f67cef36810ede5061f35a543b4b8'
-'8f6e53406139312d9302ca88e666c6a28409ba9de01e84ac3bae357beca31e32'
-'31882318089ed5b8875268c75e1256e971fe1d0d1894f50bc37e151cfb4e7daa'
-'5efa9e3b8d4dc4de351dc0e1d2516b2a6e141854e055ae420446785df85d9574')
+sha256sums=('9ad181d75aaedbf47c8881e7b947a47cac3d306997e39de24dba60db633e70a7')
 
-prepare() {
-  cd "$pkgname-$pkgver"
-  patch -Np1 -i ../8bf718671a9eac5517c27a5ffe72089b7f426d8c.patch
-  patch -Np1 -i ../5887744d8b6ddaa3044d1c59f06e2cf24b8e0349.patch
-  patch -Np1 -i ../7b14a65b2b8cbdca3c6bd1d36fe5b271389c1d07.patch
-  find -type f -name *.orig -delete
-}
-
 build() {
 export CFLAGS+=" ${CPPFLAGS}"
 export CXXFLAGS+=" ${CPPFLAGS}"



  1   2   3   4   5   6   7   8   9   10   >