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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:59:38
  Author: felixonmars
Revision: 982913

upgpkg: haskell-hasql 1.4.5.1-29: rebuild with unliftio 0.2.19

Modified:
  haskell-hasql/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 05:57:32 UTC (rev 982912)
+++ PKGBUILD2021-07-22 05:59:38 UTC (rev 982913)
@@ -4,7 +4,7 @@
 _hkgname=hasql
 pkgname=haskell-hasql
 pkgver=1.4.5.1
-pkgrel=28
+pkgrel=29
 pkgdesc="An efficient PostgreSQL driver and a flexible mapping API"
 url="https://github.com/nikita-volkov/hasql;
 license=('MIT')



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:57:32
  Author: felixonmars
Revision: 982912

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-postgresql-binary/repos/community-staging-x86_64/
  haskell-postgresql-binary/repos/community-staging-x86_64/PKGBUILD
(from rev 982911, haskell-postgresql-binary/trunk/PKGBUILD)

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

Copied: haskell-postgresql-binary/repos/community-staging-x86_64/PKGBUILD (from 
rev 982911, haskell-postgresql-binary/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 05:57:32 UTC (rev 982912)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=postgresql-binary
+pkgname=haskell-postgresql-binary
+pkgver=0.12.4
+pkgrel=35
+pkgdesc="Encoders and decoders for the PostgreSQL's binary format"
+url="https://github.com/nikita-volkov/postgresql-binary;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-binary-parser' 
'haskell-bytestring-strict-builder'
+ 'haskell-network-ip' 'haskell-scientific' 
'haskell-unordered-containers'
+ 'haskell-uuid' 'haskell-vector')
+makedepends=('ghc' 'haskell-postgresql-libpq' 'haskell-tasty' 
'haskell-tasty-quickcheck'
+ 'haskell-tasty-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-instances'
+ 'haskell-json-ast' 'haskell-conversion' 
'haskell-conversion-bytestring'
+ 'haskell-conversion-text' 'haskell-rerebase' 'pifpaf' 
'postgresql')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('dab0c03a232d8d934f7415b8da6085eb7b31d912dc26c68a6284ed10e10bba22486b0e856eb97a1562edb6d57094535e5af41db28ea279e9a22ccaf1ea1cbb2e')
+
+prepare() {
+cd $_hkgname-$pkgver
+# Do not use default postgres port
+sed -i 's/5432/9824/' tasty/Main/DB.hs
+}
+
+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
+
+eval $(pifpaf run postgresql --host 127.0.0.1)
+createuser -s postgres
+runhaskell Setup test --show-details=direct
+pifpaf_stop
+}
+
+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-postgresql-binary/trunk (PKGBUILD)

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:57:19
  Author: felixonmars
Revision: 982911

upgpkg: haskell-postgresql-binary 0.12.4-35: rebuild with unliftio 0.2.19

Modified:
  haskell-postgresql-binary/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 05:54:10 UTC (rev 982910)
+++ PKGBUILD2021-07-22 05:57:19 UTC (rev 982911)
@@ -4,7 +4,7 @@
 _hkgname=postgresql-binary
 pkgname=haskell-postgresql-binary
 pkgver=0.12.4
-pkgrel=34
+pkgrel=35
 pkgdesc="Encoders and decoders for the PostgreSQL's binary format"
 url="https://github.com/nikita-volkov/postgresql-binary;
 license=("MIT")



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:54:10
  Author: felixonmars
Revision: 982910

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-binary-parser/repos/community-staging-x86_64/
  haskell-binary-parser/repos/community-staging-x86_64/PKGBUILD
(from rev 982909, haskell-binary-parser/trunk/PKGBUILD)

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

Copied: haskell-binary-parser/repos/community-staging-x86_64/PKGBUILD (from rev 
982909, haskell-binary-parser/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 05:54:10 UTC (rev 982910)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=binary-parser
+pkgname=haskell-binary-parser
+pkgver=0.5.7
+pkgrel=35
+pkgdesc="A highly-efficient but limited parser API specialised for bytestrings"
+url="https://github.com/nikita-volkov/binary-parser;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('35d19a95947124260ef67b23929c4028e71e4eed772b708b802ae5aa65fabb56716d3c9a12e63032b5942c7e3eb91a38d847e97b1e1c8cf104662d943be3d7f6')
+
+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-binary-parser/trunk (PKGBUILD)

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:53:58
  Author: felixonmars
Revision: 982909

upgpkg: haskell-binary-parser 0.5.7-35: rebuild with unliftio 0.2.19

Modified:
  haskell-binary-parser/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 05:52:59 UTC (rev 982908)
+++ PKGBUILD2021-07-22 05:53:58 UTC (rev 982909)
@@ -4,7 +4,7 @@
 _hkgname=binary-parser
 pkgname=haskell-binary-parser
 pkgver=0.5.7
-pkgrel=34
+pkgrel=35
 pkgdesc="A highly-efficient but limited parser API specialised for bytestrings"
 url="https://github.com/nikita-volkov/binary-parser;
 license=("MIT")



[arch-commits] Commit in haskell-bytestring-strict-builder/repos (2 files)

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:52:59
  Author: felixonmars
Revision: 982908

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-bytestring-strict-builder/repos/community-staging-x86_64/
  haskell-bytestring-strict-builder/repos/community-staging-x86_64/PKGBUILD
(from rev 982907, haskell-bytestring-strict-builder/trunk/PKGBUILD)

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

Copied: 
haskell-bytestring-strict-builder/repos/community-staging-x86_64/PKGBUILD (from 
rev 982907, haskell-bytestring-strict-builder/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 05:52:59 UTC (rev 982908)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=bytestring-strict-builder
+pkgname=haskell-bytestring-strict-builder
+pkgver=0.4.5.4
+pkgrel=36
+pkgdesc="An efficient strict bytestring builder"
+url="https://github.com/nikita-volkov/bytestring-strict-builder;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-quickcheck'
+ 'haskell-tasty-hunit' 'haskell-quickcheck-instances' 
'haskell-rerebase')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('2593ea377a191e7ab4009345dbc15e17cb72f3c23abc399c3b5da493c745ca343a41bc1f9bc15b434b5e9288f4538c9600e32e0ec0c92d21bc837e85be55a8e1')
+
+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-bytestring-strict-builder/trunk (PKGBUILD)

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:52:47
  Author: felixonmars
Revision: 982907

upgpkg: haskell-bytestring-strict-builder 0.4.5.4-36: rebuild with unliftio 
0.2.19

Modified:
  haskell-bytestring-strict-builder/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 05:51:52 UTC (rev 982906)
+++ PKGBUILD2021-07-22 05:52:47 UTC (rev 982907)
@@ -3,7 +3,7 @@
 _hkgname=bytestring-strict-builder
 pkgname=haskell-bytestring-strict-builder
 pkgver=0.4.5.4
-pkgrel=35
+pkgrel=36
 pkgdesc="An efficient strict bytestring builder"
 url="https://github.com/nikita-volkov/bytestring-strict-builder;
 license=('MIT')



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:51:52
  Author: felixonmars
Revision: 982906

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-text-builder/repos/community-staging-x86_64/
  haskell-text-builder/repos/community-staging-x86_64/PKGBUILD
(from rev 982905, haskell-text-builder/trunk/PKGBUILD)

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

Copied: haskell-text-builder/repos/community-staging-x86_64/PKGBUILD (from rev 
982905, haskell-text-builder/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 05:51:52 UTC (rev 982906)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=text-builder
+pkgname=haskell-text-builder
+pkgver=0.6.6.2
+pkgrel=37
+pkgdesc="An efficient strict text builder"
+url="https://github.com/nikita-volkov/text-builder;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-prelude' 'haskell-deferred-folds')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b197304410b2cd1150bde718d2ed20ac30fc8ddf89e39880264309826ee5a0b12d700c5de19b7133273fbd037f80c2fc575d69fbb8ab4a6e7d95018dd9f03763')
+
+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-text-builder/trunk (PKGBUILD)

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:51:40
  Author: felixonmars
Revision: 982905

upgpkg: haskell-text-builder 0.6.6.2-37: rebuild with unliftio 0.2.19

Modified:
  haskell-text-builder/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 05:50:33 UTC (rev 982904)
+++ PKGBUILD2021-07-22 05:51:40 UTC (rev 982905)
@@ -3,7 +3,7 @@
 _hkgname=text-builder
 pkgname=haskell-text-builder
 pkgver=0.6.6.2
-pkgrel=36
+pkgrel=37
 pkgdesc="An efficient strict text builder"
 url="https://github.com/nikita-volkov/text-builder;
 license=('MIT')



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:50:33
  Author: felixonmars
Revision: 982904

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-deferred-folds/repos/community-staging-x86_64/
  haskell-deferred-folds/repos/community-staging-x86_64/PKGBUILD
(from rev 982903, haskell-deferred-folds/trunk/PKGBUILD)

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

Copied: haskell-deferred-folds/repos/community-staging-x86_64/PKGBUILD (from 
rev 982903, haskell-deferred-folds/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 05:50:33 UTC (rev 982904)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=deferred-folds
+pkgname=haskell-deferred-folds
+pkgver=0.9.17
+pkgrel=48
+pkgdesc="Abstractions over deferred folds"
+url="https://github.com/metrix-ai/deferred-folds;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-foldl' 'haskell-hashable' 'haskell-primitive'
+ 'haskell-unordered-containers' 'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('474d2491427d875c1de927f29b2d494985a42b5755b6ae3147c1823aab0270e580dd28ff2e7d3a0d0c3beee2837b2b0037b1de278c6a8f4d7cbc14a96b67deae')
+
+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-deferred-folds/trunk (PKGBUILD)

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:50:20
  Author: felixonmars
Revision: 982903

upgpkg: haskell-deferred-folds 0.9.17-48: rebuild with unliftio 0.2.19

Modified:
  haskell-deferred-folds/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 05:49:19 UTC (rev 982902)
+++ PKGBUILD2021-07-22 05:50:20 UTC (rev 982903)
@@ -3,7 +3,7 @@
 _hkgname=deferred-folds
 pkgname=haskell-deferred-folds
 pkgver=0.9.17
-pkgrel=47
+pkgrel=48
 pkgdesc="Abstractions over deferred folds"
 url="https://github.com/metrix-ai/deferred-folds;
 license=('MIT')



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:49:19
  Author: felixonmars
Revision: 982902

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-vector-builder/repos/community-staging-x86_64/
  haskell-vector-builder/repos/community-staging-x86_64/PKGBUILD
(from rev 982901, haskell-vector-builder/trunk/PKGBUILD)

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

Copied: haskell-vector-builder/repos/community-staging-x86_64/PKGBUILD (from 
rev 982901, haskell-vector-builder/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 05:49:19 UTC (rev 982902)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=vector-builder
+pkgname=haskell-vector-builder
+pkgver=0.3.8.2
+pkgrel=4
+pkgdesc="Vector builder"
+url="https://github.com/nikita-volkov/vector-builder;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-attoparsec' 
'haskell-quickcheck-instances'
+ 'haskell-rerebase' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('7ad6c01f21ef38445f81389ffac6d8a12de95e36dfbb4d83f011586c35a5c569e58c827d27a6e60a18b0dff9d0dc56f2ab6927c1dc49d5cc2bd2663726b909f0')
+
+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-vector-builder/trunk (PKGBUILD)

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:49:06
  Author: felixonmars
Revision: 982901

upgpkg: haskell-vector-builder 0.3.8.2-4: rebuild with unliftio 0.2.19

Modified:
  haskell-vector-builder/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 05:48:05 UTC (rev 982900)
+++ PKGBUILD2021-07-22 05:49:06 UTC (rev 982901)
@@ -4,7 +4,7 @@
 _hkgname=vector-builder
 pkgname=haskell-vector-builder
 pkgver=0.3.8.2
-pkgrel=3
+pkgrel=4
 pkgdesc="Vector builder"
 url="https://github.com/nikita-volkov/vector-builder;
 license=("MIT")



[arch-commits] Commit in dhall-bash/repos (2 files)

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:48:05
  Author: felixonmars
Revision: 982900

archrelease: copy trunk to community-staging-x86_64

Added:
  dhall-bash/repos/community-staging-x86_64/
  dhall-bash/repos/community-staging-x86_64/PKGBUILD
(from rev 982899, dhall-bash/trunk/PKGBUILD)

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

Copied: dhall-bash/repos/community-staging-x86_64/PKGBUILD (from rev 982899, 
dhall-bash/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 05:48:05 UTC (rev 982900)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+pkgname=dhall-bash
+pkgver=1.0.37
+pkgrel=15
+pkgdesc='Compile Dhall to Bash'
+url='https://dhall-lang.org'
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'dhall' 'haskell-neat-interpolation' 'haskell-shell-escape'
+ 'haskell-optparse-generic')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('c24a9b0862dc6ca5a6c7d8ed919e279e0ce76470991d672e8d1a5e3d3c2bb99cfc01581d4da26873e58019125ff583092ae2f18a8962c3ba1466ad1af132bc02')
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$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 $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}"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:47:53
  Author: felixonmars
Revision: 982899

upgpkg: dhall-bash 1.0.37-15: rebuild with unliftio 0.2.19

Modified:
  dhall-bash/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 05:46:45 UTC (rev 982898)
+++ PKGBUILD2021-07-22 05:47:53 UTC (rev 982899)
@@ -2,7 +2,7 @@
 
 pkgname=dhall-bash
 pkgver=1.0.37
-pkgrel=14
+pkgrel=15
 pkgdesc='Compile Dhall to Bash'
 url='https://dhall-lang.org'
 license=('BSD')



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:46:45
  Author: felixonmars
Revision: 982898

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-neat-interpolation/repos/community-staging-x86_64/
  haskell-neat-interpolation/repos/community-staging-x86_64/PKGBUILD
(from rev 982897, haskell-neat-interpolation/trunk/PKGBUILD)

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

Copied: haskell-neat-interpolation/repos/community-staging-x86_64/PKGBUILD 
(from rev 982897, haskell-neat-interpolation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 05:46:45 UTC (rev 982898)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=neat-interpolation
+pkgname=haskell-neat-interpolation
+pkgver=0.5.1.2
+pkgrel=141
+pkgdesc="A quasiquoter for neat and simple multiline text interpolation"
+url="https://github.com/nikita-volkov/neat-interpolation;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-megaparsec')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('147bfca831dccc4646cce7c91635d3885049c67c93c3da83a774eaf1c7f485fba14e695efa173fd3a125380c13d70fe3ca017c2179e161d8e53d60278bb0b7a8')
+
+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-neat-interpolation/trunk (PKGBUILD)

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:46:32
  Author: felixonmars
Revision: 982897

upgpkg: haskell-neat-interpolation 0.5.1.2-141: rebuild with unliftio 0.2.19

Modified:
  haskell-neat-interpolation/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 05:45:34 UTC (rev 982896)
+++ PKGBUILD2021-07-22 05:46:32 UTC (rev 982897)
@@ -4,7 +4,7 @@
 _hkgname=neat-interpolation
 pkgname=haskell-neat-interpolation
 pkgver=0.5.1.2
-pkgrel=140
+pkgrel=141
 pkgdesc="A quasiquoter for neat and simple multiline text interpolation"
 url="https://github.com/nikita-volkov/neat-interpolation;
 license=("MIT")



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:45:34
  Author: felixonmars
Revision: 982896

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-butcher/repos/community-staging-x86_64/PKGBUILD (from rev 
982895, haskell-butcher/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 05:45:34 UTC (rev 982896)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=butcher
+pkgname=haskell-butcher
+pkgver=1.3.3.2
+pkgrel=109
+pkgdesc="Chops a command or program invocation into digestable pieces."
+url="https://github.com/lspitzner/butcher/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-bifunctors' 'haskell-deque' 'haskell-extra' 
'haskell-free'
+ 'haskell-microlens' 'haskell-microlens-th' 'haskell-multistate' 
'haskell-unsafe'
+ 'haskell-void')
+makedepends=('ghc' 'uusi' 'haskell-hspec')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('1d0f8e8e498b012c4a859671eebf34a6e965e8ed99b3c90d3aad1d8898c40f1b')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u base $_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 --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_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 -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:45:22
  Author: felixonmars
Revision: 982895

upgpkg: haskell-butcher 1.3.3.2-109: rebuild with unliftio 0.2.19

Modified:
  haskell-butcher/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 05:43:46 UTC (rev 982894)
+++ PKGBUILD2021-07-22 05:45:22 UTC (rev 982895)
@@ -3,7 +3,7 @@
 _hkgname=butcher
 pkgname=haskell-butcher
 pkgver=1.3.3.2
-pkgrel=108
+pkgrel=109
 pkgdesc="Chops a command or program invocation into digestable pieces."
 url="https://github.com/lspitzner/butcher/;
 license=("BSD")



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:43:46
  Author: felixonmars
Revision: 982894

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-deque/repos/community-staging-x86_64/PKGBUILD (from rev 982893, 
haskell-deque/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 05:43:46 UTC (rev 982894)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=deque
+pkgname=haskell-deque
+pkgver=0.4.3
+pkgrel=103
+pkgdesc="Double-ended queues"
+url="https://github.com/nikita-volkov/deque;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-strict-list')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b76a0e7d8a5f3b12ca8cf5a583f3e8e4333c7860f56b1e921a3fdfe959e557a5')
+
+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 \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_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 -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:43:34
  Author: felixonmars
Revision: 982893

upgpkg: haskell-deque 0.4.3-103: rebuild with unliftio 0.2.19

Modified:
  haskell-deque/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 05:42:20 UTC (rev 982892)
+++ PKGBUILD2021-07-22 05:43:34 UTC (rev 982893)
@@ -3,7 +3,7 @@
 _hkgname=deque
 pkgname=haskell-deque
 pkgver=0.4.3
-pkgrel=102
+pkgrel=103
 pkgdesc="Double-ended queues"
 url="https://github.com/nikita-volkov/deque;
 license=("MIT")



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:42:20
  Author: felixonmars
Revision: 982892

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-strict-list/repos/community-staging-x86_64/
  haskell-strict-list/repos/community-staging-x86_64/PKGBUILD
(from rev 982891, haskell-strict-list/trunk/PKGBUILD)

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

Copied: haskell-strict-list/repos/community-staging-x86_64/PKGBUILD (from rev 
982891, haskell-strict-list/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 05:42:20 UTC (rev 982892)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=strict-list
+pkgname=haskell-strict-list
+pkgver=0.1.5
+pkgrel=125
+pkgdesc="Strict linked list"
+url="https://github.com/nikita-volkov/strict-list;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-semigroupoids')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('ba7338766ba5fbb4069b748e5bdce12866379c32f1ab1c6015d45dbd1010bb1a')
+
+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 \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_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 -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:42:07
  Author: felixonmars
Revision: 982891

upgpkg: haskell-strict-list 0.1.5-125: rebuild with unliftio 0.2.19

Modified:
  haskell-strict-list/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 05:41:02 UTC (rev 982890)
+++ PKGBUILD2021-07-22 05:42:07 UTC (rev 982891)
@@ -3,7 +3,7 @@
 _hkgname=strict-list
 pkgname=haskell-strict-list
 pkgver=0.1.5
-pkgrel=124
+pkgrel=125
 pkgdesc="Strict linked list"
 url="https://github.com/nikita-volkov/strict-list;
 license=("MIT")



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:41:02
  Author: felixonmars
Revision: 982890

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rerebase/repos/community-staging-x86_64/PKGBUILD (from rev 
982889, haskell-rerebase/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 05:41:02 UTC (rev 982890)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=rerebase
+pkgname=haskell-rerebase
+pkgver=1.13.0.1
+pkgrel=8
+pkgdesc='Reexports from "base" with a bunch of other standard libraries'
+url="https://github.com/nikita-volkov/rerebase;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-rebase')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('3e59d4961a6722d53a81431b4667700da77be6b52cd84e0d45316df04b0517f4bafab69fa532d1094219a48f1e8bda5821044d66b8de8d5a72766e8aeb2bffa0')
+
+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-rerebase/trunk (PKGBUILD)

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:40:50
  Author: felixonmars
Revision: 982889

upgpkg: haskell-rerebase 1.13.0.1-8: rebuild with unliftio 0.2.19

Modified:
  haskell-rerebase/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 05:39:46 UTC (rev 982888)
+++ PKGBUILD2021-07-22 05:40:50 UTC (rev 982889)
@@ -4,7 +4,7 @@
 _hkgname=rerebase
 pkgname=haskell-rerebase
 pkgver=1.13.0.1
-pkgrel=7
+pkgrel=8
 pkgdesc='Reexports from "base" with a bunch of other standard libraries'
 url="https://github.com/nikita-volkov/rerebase;
 license=("MIT")



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:39:46
  Author: felixonmars
Revision: 982888

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rebase/repos/community-staging-x86_64/PKGBUILD (from rev 
982887, haskell-rebase/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 05:39:46 UTC (rev 982888)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=rebase
+pkgname=haskell-rebase
+pkgver=1.13.0.1
+pkgrel=8
+pkgdesc='A more progressive alternative to the "base" package'
+url="https://github.com/nikita-volkov/rebase;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-bifunctors' 'haskell-contravariant' 
'haskell-comonad' 'haskell-dlist'
+ 'haskell-either' 'haskell-hashable' 'haskell-hashable-time' 
'haskell-profunctors'
+ 'haskell-scientific' 'haskell-selective' 'haskell-semigroupoids'
+ 'haskell-unordered-containers' 'haskell-uuid-types' 'haskell-vector'
+ 'haskell-vector-instances' 'haskell-void')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f0ac2c2f0b0596b01a7f2961566232b8966ce128acf8029f1d9ddcef67b44d955d6364d06b1127128a60cd947a4b0431da89e43e260da0b2eda300f2fc592e7a')
+
+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-rebase/trunk (PKGBUILD)

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:39:33
  Author: felixonmars
Revision: 982887

upgpkg: haskell-rebase 1.13.0.1-8: rebuild with unliftio 0.2.19

Modified:
  haskell-rebase/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 05:38:20 UTC (rev 982886)
+++ PKGBUILD2021-07-22 05:39:33 UTC (rev 982887)
@@ -4,7 +4,7 @@
 _hkgname=rebase
 pkgname=haskell-rebase
 pkgver=1.13.0.1
-pkgrel=7
+pkgrel=8
 pkgdesc='A more progressive alternative to the "base" package'
 url="https://github.com/nikita-volkov/rebase;
 license=("MIT")



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:38:20
  Author: felixonmars
Revision: 982886

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-lsp0-types/repos/community-staging-x86_64/
  haskell-lsp0-types/repos/community-staging-x86_64/PKGBUILD
(from rev 982885, haskell-lsp0-types/trunk/PKGBUILD)

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

Copied: haskell-lsp0-types/repos/community-staging-x86_64/PKGBUILD (from rev 
982885, haskell-lsp0-types/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 05:38:20 UTC (rev 982886)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=haskell-lsp-types
+pkgname=haskell-lsp0-types
+pkgver=0.24.0.0
+pkgrel=35
+pkgdesc="Haskell library for the Microsoft Language Server Protocol, data 
types (Legacy 0.x version)"
+url="https://github.com/alanz/haskell-lsp;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-data-default' 'haskell-hashable' 
'haskell-lens'
+ 'haskell-network-uri' 'haskell-scientific' 
'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('736bf29157aed1ef5d075c8fdb5cd06a356b53ef5e87c88173c265c2b59d757c8af48ec0ef2b42681e27861c9d8e969a204ca563d643fb7e7d5638522e203584')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u base $_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 --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+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-lsp0-types/trunk (PKGBUILD)

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:38:08
  Author: felixonmars
Revision: 982885

upgpkg: haskell-lsp0-types 0.24.0.0-35: rebuild with unliftio 0.2.19

Modified:
  haskell-lsp0-types/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 05:34:28 UTC (rev 982884)
+++ PKGBUILD2021-07-22 05:38:08 UTC (rev 982885)
@@ -3,7 +3,7 @@
 _hkgname=haskell-lsp-types
 pkgname=haskell-lsp0-types
 pkgver=0.24.0.0
-pkgrel=34
+pkgrel=35
 pkgdesc="Haskell library for the Microsoft Language Server Protocol, data 
types (Legacy 0.x version)"
 url="https://github.com/alanz/haskell-lsp;
 license=("MIT")



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:34:28
  Author: felixonmars
Revision: 982884

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hspec-wai-json/repos/community-staging-x86_64/PKGBUILD (from 
rev 982883, haskell-hspec-wai-json/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 05:34:28 UTC (rev 982884)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=hspec-wai-json
+pkgname=haskell-hspec-wai-json
+pkgver=0.11.0
+pkgrel=153
+pkgdesc="Testing JSON APIs with hspec-wai"
+url="https://github.com/hspec/hspec-wai;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-qq' 
'haskell-case-insensitive'
+ 'haskell-hspec-wai')
+makedepends=('ghc' 'uusi' 'haskell-hspec')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('db14622fd95bfb9f52a48da4e8fa345c9fdd7014aeec1cb10d75573738f8020f36d97f7085373b9b2e865a9874f377d5532e29c1f31e27f41bf5c6c89fe68546')
+
+prepare() {
+uusi -u hspec-wai $_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 --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-hspec-wai-json/trunk (PKGBUILD)

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:34:16
  Author: felixonmars
Revision: 982883

upgpkg: haskell-hspec-wai-json 0.11.0-153: rebuild with unliftio 0.2.19

Modified:
  haskell-hspec-wai-json/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 05:33:16 UTC (rev 982882)
+++ PKGBUILD2021-07-22 05:34:16 UTC (rev 982883)
@@ -4,7 +4,7 @@
 _hkgname=hspec-wai-json
 pkgname=haskell-hspec-wai-json
 pkgver=0.11.0
-pkgrel=152
+pkgrel=153
 pkgdesc="Testing JSON APIs with hspec-wai"
 url="https://github.com/hspec/hspec-wai;
 license=("MIT")



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:33:16
  Author: felixonmars
Revision: 982882

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-aeson-qq/repos/community-staging-x86_64/
  haskell-aeson-qq/repos/community-staging-x86_64/PKGBUILD
(from rev 982881, haskell-aeson-qq/trunk/PKGBUILD)

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

Copied: haskell-aeson-qq/repos/community-staging-x86_64/PKGBUILD (from rev 
982881, haskell-aeson-qq/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 05:33:16 UTC (rev 982882)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aeson-qq
+pkgname=haskell-aeson-qq
+pkgver=0.8.3
+pkgrel=201
+pkgdesc="JSON quasiquoter for Haskell"
+url="https://github.com/sol/aeson-qq;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 'haskell-base-compat' 
'haskell-src-meta'
+ 'haskell-scientific' 'haskell-vector')
+makedepends=('ghc' 'haskell-hspec')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f7ef90529b4c9661ffc54ab8ebfc73c9966e6338591b871678be2a6e63ecf30089fd33279a074bd8d1905d71c8198ea5cc24c828d6e940e7af7585ba826a0c29')
+
+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-aeson-qq/trunk (PKGBUILD)

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:33:04
  Author: felixonmars
Revision: 982881

upgpkg: haskell-aeson-qq 0.8.3-201: rebuild with unliftio 0.2.19

Modified:
  haskell-aeson-qq/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 05:31:52 UTC (rev 982880)
+++ PKGBUILD2021-07-22 05:33:04 UTC (rev 982881)
@@ -4,7 +4,7 @@
 _hkgname=aeson-qq
 pkgname=haskell-aeson-qq
 pkgver=0.8.3
-pkgrel=200
+pkgrel=201
 pkgdesc="JSON quasiquoter for Haskell"
 url="https://github.com/sol/aeson-qq;
 license=("MIT")



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:31:52
  Author: felixonmars
Revision: 982880

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-postgresql-simple/repos/community-staging-x86_64/
  haskell-postgresql-simple/repos/community-staging-x86_64/PKGBUILD
(from rev 982879, haskell-postgresql-simple/trunk/PKGBUILD)

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

Copied: haskell-postgresql-simple/repos/community-staging-x86_64/PKGBUILD (from 
rev 982879, haskell-postgresql-simple/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 05:31:52 UTC (rev 982880)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=postgresql-simple
+pkgname=haskell-postgresql-simple
+pkgver=0.6.4
+pkgrel=21
+pkgdesc="Mid-Level PostgreSQL client library"
+url="http://github.com/haskellari/postgresql-simple;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-only' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-case-insensitive'
+ 'haskell-hashable' 'haskell-postgresql-libpq' 'haskell-scientific' 
'haskell-time-compat'
+ 'haskell-uuid-types' 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-hunit' 'haskell-base16-bytestring' 
'haskell-cryptohash-md5'
+ 'haskell-inspection-testing' 'haskell-tasty' 
'haskell-tasty-golden'
+ 'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('6d90394203ea3aa27cae4492569ab14bf175cd2d30112e565ffb92dbe95ce267')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u attoparsec -u base -u template-haskell -d bytestring-builder 
$_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 --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_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 -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:31:40
  Author: felixonmars
Revision: 982879

upgpkg: haskell-postgresql-simple 0.6.4-21: rebuild with unliftio 0.2.19

Modified:
  haskell-postgresql-simple/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 05:29:04 UTC (rev 982878)
+++ PKGBUILD2021-07-22 05:31:40 UTC (rev 982879)
@@ -3,7 +3,7 @@
 _hkgname=postgresql-simple
 pkgname=haskell-postgresql-simple
 pkgver=0.6.4
-pkgrel=20
+pkgrel=21
 pkgdesc="Mid-Level PostgreSQL client library"
 url="http://github.com/haskellari/postgresql-simple;
 license=("BSD")



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:29:04
  Author: felixonmars
Revision: 982878

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hackage-db/repos/community-staging-x86_64/
  haskell-hackage-db/repos/community-staging-x86_64/PKGBUILD
(from rev 982877, haskell-hackage-db/trunk/PKGBUILD)

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

Copied: haskell-hackage-db/repos/community-staging-x86_64/PKGBUILD (from rev 
982877, haskell-hackage-db/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 05:29:04 UTC (rev 982878)
@@ -0,0 +1,40 @@
+# Maintainer: berberman 
+
+_hkgname=hackage-db
+pkgname=haskell-hackage-db
+pkgver=2.1.2
+pkgrel=3
+pkgdesc="Access cabal-install's Hackage database via Data.Map"
+url="https://github.com/NixOS/hackage-db#readme;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-tar' 'haskell-utf8-string')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('59f9b13edfec6a3e489b41b7eb7521551b9b2d741765e3a1dc0b023c4078d431470967058503d7dc72ddd05d00494d810cc94bbca6986ea8e369c9271fd2b8f0')
+
+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 \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+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-hackage-db/trunk (PKGBUILD)

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:28:49
  Author: felixonmars
Revision: 982877

upgpkg: haskell-hackage-db 2.1.2-3: rebuild with unliftio 0.2.19

Modified:
  haskell-hackage-db/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 05:27:47 UTC (rev 982876)
+++ PKGBUILD2021-07-22 05:28:49 UTC (rev 982877)
@@ -3,7 +3,7 @@
 _hkgname=hackage-db
 pkgname=haskell-hackage-db
 pkgver=2.1.2
-pkgrel=2
+pkgrel=3
 pkgdesc="Access cabal-install's Hackage database via Data.Map"
 url="https://github.com/NixOS/hackage-db#readme;
 license=("BSD")



[arch-commits] Commit in haskell-mustache/repos (3 files)

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:27:47
  Author: felixonmars
Revision: 982876

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-mustache/repos/community-staging-x86_64/
  haskell-mustache/repos/community-staging-x86_64/PKGBUILD
(from rev 982875, haskell-mustache/trunk/PKGBUILD)
  haskell-mustache/repos/community-staging-x86_64/ghc9.patch
(from rev 982875, haskell-mustache/trunk/ghc9.patch)

+
 PKGBUILD   |   50 ++
 ghc9.patch |   40 
 2 files changed, 90 insertions(+)

Copied: haskell-mustache/repos/community-staging-x86_64/PKGBUILD (from rev 
982875, haskell-mustache/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 05:27:47 UTC (rev 982876)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+
+_hkgname=mustache
+pkgname=haskell-mustache
+pkgver=2.3.1
+pkgrel=341
+pkgdesc="A mustache template parser library."
+url="https://github.com/JustusAdam/mustache;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-either' 
'haskell-unordered-containers' 'haskell-vector'
+ 'haskell-scientific' 'haskell-th-lift' 'haskell-cmdargs' 
'haskell-yaml')
+makedepends=('ghc' 'haskell-hspec' 'haskell-base-unicode-symbols' 
'haskell-wreq' 'haskell-zlib'
+ 'haskell-tar' 'haskell-lens' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+ghc9.patch)
+sha512sums=('162360cb635d40086721d4dd350036884207679b240d30420b9fc71eebef847e542bd143275931a22a42c583d513d0c906a6b112d780824dc189ad07e3027aa3'
+
'bb1a1df1ce2972998b65014a020dcab8467a89325a332df4b842881f11f3263f9720167c958b4164061443db44ea2bea82de07fcc57be90120e75d0eaca0c649')
+
+prepare() {
+patch -d $_hkgname-$pkgver -p1 < ghc9.patch
+}
+
+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
+}

Copied: haskell-mustache/repos/community-staging-x86_64/ghc9.patch (from rev 
982875, haskell-mustache/trunk/ghc9.patch)
===
--- community-staging-x86_64/ghc9.patch (rev 0)
+++ community-staging-x86_64/ghc9.patch 2021-07-22 05:27:47 UTC (rev 982876)
@@ -0,0 +1,40 @@
+diff --git a/src/Text/Mustache/Internal/Types.hs 
b/src/Text/Mustache/Internal/Types.hs
+index d824ba7..1552d09 100644
+--- a/src/Text/Mustache/Internal/Types.hs
 b/src/Text/Mustache/Internal/Types.hs
+@@ -24,7 +24,8 @@ import   Data.Text
+ import   Data.Text
+ import qualified Data.Text.Lazy   as LT
+ import qualified Data.Vector  as V
+-import   Language.Haskell.TH.Lift (Lift (lift), deriveLift)
++import   Language.Haskell.TH.Lift (deriveLift)
++import Language.Haskell.TH.Syntax
+
+
+ -- | Type of errors we may encounter during substitution.
+@@ -380,16 +381,20 @@ data Template = Template
+   , partials :: TemplateCache
+   } deriving (Show)
+
++
++deriveLift ''DataIdentifier
++deriveLift ''Node
++deriveLift ''Template
++
+ instance Lift TemplateCache where
++#if MIN_VERSION_template_haskell(2,16,0)
++  liftTyped m = [|| HM.fromList $$(liftTyped $ HM.toList m) ||]
++#else
+   lift m = [| HM.fromList $(lift $ HM.toList m) |]
++#endif
+
+ --Data.Text 1.2.4.0 introduces its own Lift Text instance
+ #if !MIN_VERSION_text(1,2,4)
+ instance Lift Text where
+   lift = lift . unpack
+ #endif
+-
+-deriveLift ''DataIdentifier
+-deriveLift ''Node
+-deriveLift ''Template
+-



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:27:31
  Author: felixonmars
Revision: 982875

upgpkg: haskell-mustache 2.3.1-341: rebuild with unliftio 0.2.19

Modified:
  haskell-mustache/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 05:25:45 UTC (rev 982874)
+++ PKGBUILD2021-07-22 05:27:31 UTC (rev 982875)
@@ -3,7 +3,7 @@
 _hkgname=mustache
 pkgname=haskell-mustache
 pkgver=2.3.1
-pkgrel=340
+pkgrel=341
 pkgdesc="A mustache template parser library."
 url="https://github.com/JustusAdam/mustache;
 license=('BSD')



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:25:45
  Author: felixonmars
Revision: 982874

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-wreq/repos/community-staging-x86_64/PKGBUILD (from rev 982873, 
haskell-wreq/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 05:25:45 UTC (rev 982874)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=wreq
+pkgname=haskell-wreq
+pkgver=0.5.3.3
+pkgrel=71
+pkgdesc="An easy-to-use HTTP client library."
+url="https://github.com/bos/wreq;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-authenticate-oauth'
+ 'haskell-base16-bytestring' 'haskell-case-insensitive' 
'haskell-cryptonite'
+ 'haskell-hashable' 'haskell-http-client' 'haskell-http-client-tls'
+ 'haskell-http-types' 'haskell-lens' 'haskell-lens-aeson' 
'haskell-memory'
+ 'haskell-mime-types' 'haskell-psqueues' 'haskell-time-locale-compat'
+ 'haskell-unordered-containers' 'haskell-aeson-pretty' 
'haskell-base64-bytestring'
+ 'haskell-snap-core' 'haskell-snap-server' 'haskell-unix-compat' 
'haskell-uuid')
+makedepends=('ghc' 'haskell-cabal-doctest' 'haskell-doctest' 'haskell-hunit' 
'haskell-quickcheck'
+ 'haskell-network-info' 'haskell-temporary' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-vector')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('f074790cf3370d9356efbf5aeabb7421d59299471e02d93010453bb6f4e8daee517fcdf6891245272a9b08a35bc7b1b2233b75825ec377f6403c99cf91041f2e')
+
+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 \
+-fdoctest -f-aws -fhttpbin -f-developer
+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.md 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:25:32
  Author: felixonmars
Revision: 982873

upgpkg: haskell-wreq 0.5.3.3-71: rebuild with unliftio 0.2.19

Modified:
  haskell-wreq/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 05:21:49 UTC (rev 982872)
+++ PKGBUILD2021-07-22 05:25:32 UTC (rev 982873)
@@ -3,7 +3,7 @@
 _hkgname=wreq
 pkgname=haskell-wreq
 pkgver=0.5.3.3
-pkgrel=70
+pkgrel=71
 pkgdesc="An easy-to-use HTTP client library."
 url="https://github.com/bos/wreq;
 license=('BSD')



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:21:49
  Author: felixonmars
Revision: 982872

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-servant-swagger/repos/community-staging-x86_64/
  haskell-servant-swagger/repos/community-staging-x86_64/PKGBUILD
(from rev 982871, haskell-servant-swagger/trunk/PKGBUILD)

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

Copied: haskell-servant-swagger/repos/community-staging-x86_64/PKGBUILD (from 
rev 982871, haskell-servant-swagger/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 05:21:49 UTC (rev 982872)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=servant-swagger
+pkgname=haskell-servant-swagger
+pkgver=1.1.10
+pkgrel=165
+pkgdesc="Generate Swagger specification for your servant API."
+url="https://github.com/haskell-servant/servant-swagger;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 'haskell-http-media'
+ 'haskell-insert-ordered-containers' 'haskell-lens' 'haskell-servant'
+ 'haskell-singleton-bool' 'haskell-swagger2' 
'haskell-unordered-containers'
+ 'haskell-hspec' 'haskell-quickcheck')
+makedepends=('ghc' 'uusi' 'haskell-base-compat' 'haskell-cabal-doctest' 
'haskell-doctest'
+ 'haskell-hspec-discover' 'haskell-lens-aeson' 
'haskell-utf8-string' 'haskell-vector')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;
+
$_hkgname-fragment-instance.patch::https://github.com/haskell-servant/servant-swagger/commit/cce6bf064e01ade21a7a8f283beca41595792446.patch)
+sha512sums=('df3b397ce03dbb4c852598d4d188bcddde40fd9bd762eac53c837267420876ba3aa4d07fb638ffe0d0fa60c9cf080ad483508bf0359b45120f807ed65331f3bc'
+
'96bd6acdd78a9ff777c81c0e1d507167dc9ea4d27c905bc41afecc9c5fef75ca293e9e5621efe5e62319b2fb96b39bc690682dd841839b87240acdd7f588f34a')
+
+prepare() {
+cd $_hkgname-$pkgver
+# https://github.com/haskell-servant/servant-swagger/issues/129
+patch -p1 -i ../$_hkgname-fragment-instance.patch
+uusi -u base -u doctest -u lens -u hspec $_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 --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
+# json ordering issue
+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-servant-swagger/trunk (PKGBUILD)

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:21:36
  Author: felixonmars
Revision: 982871

upgpkg: haskell-servant-swagger 1.1.10-165: rebuild with unliftio 0.2.19

Modified:
  haskell-servant-swagger/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 05:19:49 UTC (rev 982870)
+++ PKGBUILD2021-07-22 05:21:36 UTC (rev 982871)
@@ -4,7 +4,7 @@
 _hkgname=servant-swagger
 pkgname=haskell-servant-swagger
 pkgver=1.1.10
-pkgrel=164
+pkgrel=165
 pkgdesc="Generate Swagger specification for your servant API."
 url="https://github.com/haskell-servant/servant-swagger;
 license=("BSD")



[arch-commits] Commit in man-pages/repos (testing-any testing-any/PKGBUILD)

2021-07-21 Thread Andreas Radke via arch-commits
Date: Thursday, July 22, 2021 @ 05:21:03
  Author: andyrtr
Revision: 420275

archrelease: copy trunk to testing-any

Added:
  man-pages/repos/testing-any/
  man-pages/repos/testing-any/PKGBUILD
(from rev 420274, man-pages/trunk/PKGBUILD)

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

Copied: man-pages/repos/testing-any/PKGBUILD (from rev 420274, 
man-pages/trunk/PKGBUILD)
===
--- testing-any/PKGBUILD(rev 0)
+++ testing-any/PKGBUILD2021-07-22 05:21:03 UTC (rev 420275)
@@ -0,0 +1,49 @@
+# Maintainer: Andreas Radke 
+
+pkgname=man-pages
+pkgver=5.12
+_posixver=2017-a
+pkgrel=2
+pkgdesc="Linux man pages"
+arch=('any')
+license=('GPL' 'custom')
+url="https://www.kernel.org/doc/man-pages/;
+makedepends=('man2html')
+source=(https://www.kernel.org/pub/linux/docs/man-pages/$pkgname-$pkgver.tar.{xz,sign}
+
https://www.kernel.org/pub/linux/docs/man-pages/man-pages-posix/$pkgname-posix-${_posixver}.tar.{xz,sign})
+# https://www.kernel.org/pub/linux/docs/man-pages/sha256sums.asc
+sha256sums=('7af5c960a05a7fac56813fe5bfa564a1c280e934363ae03911b67b0b8e23371e'
+'SKIP'
+'ce67bb25b5048b20dad772e405a83f4bc70faf051afa289361c81f9660318bc3'
+'SKIP')
+validpgpkeys=('E522595B52EDA4E6BFCCCB5E856199113A35CE5E') # Michael Kerrisk 
(Linux man-pages maintainer) 
+
+prepare() {
+  cd "${srcdir}"/$pkgname-$pkgver
+  
+  sed -i "s|prefix := /usr/local|prefix := /usr|g" Makefile
+
+  # included in shadow
+  rm man5/passwd.5
+  rm man3/getspnam.3
+  # included in tzdata
+  rm man5/tzfile.5 man8/{tzselect,zdump,zic}.8
+  # included in libxcrypt
+  rm man3/crypt*.3
+}
+
+package() {
+  cd "${srcdir}"/$pkgname-$pkgver
+
+  # install man-pages
+  make DESTDIR="${pkgdir}" install 
+
+  # install posix pages
+  pushd "${srcdir}"/$pkgname-posix-${_posixver%-*}
+  make DESTDIR="${pkgdir}" install 
+  popd
+  
+  # posix pages have a custom license
+  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -m644 "${srcdir}"/$pkgname-posix-${_posixver%-*}/POSIX-COPYRIGHT 
"${pkgdir}/usr/share/licenses/${pkgname}/POSIX-COPYRIGHT"
+}



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

2021-07-21 Thread Andreas Radke via arch-commits
Date: Thursday, July 22, 2021 @ 05:20:43
  Author: andyrtr
Revision: 420274

upgpkg: man-pages 5.12-2: add back bpf-helpers that's no more part of bpf - 
FS#71572

Modified:
  man-pages/trunk/PKGBUILD

--+
 PKGBUILD |4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 03:50:20 UTC (rev 420273)
+++ PKGBUILD2021-07-22 05:20:43 UTC (rev 420274)
@@ -3,7 +3,7 @@
 pkgname=man-pages
 pkgver=5.12
 _posixver=2017-a
-pkgrel=1
+pkgrel=2
 pkgdesc="Linux man pages"
 arch=('any')
 license=('GPL' 'custom')
@@ -28,8 +28,6 @@
   rm man3/getspnam.3
   # included in tzdata
   rm man5/tzfile.5 man8/{tzselect,zdump,zic}.8
-  # included in bpf
-  rm man7/bpf-helpers.7
   # included in libxcrypt
   rm man3/crypt*.3
 }



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:19:49
  Author: felixonmars
Revision: 982870

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-lens-aeson/repos/community-staging-x86_64/
  haskell-lens-aeson/repos/community-staging-x86_64/PKGBUILD
(from rev 982869, haskell-lens-aeson/trunk/PKGBUILD)

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

Copied: haskell-lens-aeson/repos/community-staging-x86_64/PKGBUILD (from rev 
982869, haskell-lens-aeson/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 05:19:49 UTC (rev 982870)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=lens-aeson
+pkgname=haskell-lens-aeson
+pkgver=1.1.1
+pkgrel=39
+pkgdesc="Law-abiding lenses for aeson"
+url="https://github.com/lens/lens-aeson/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 'haskell-lens' 
'haskell-scientific'
+ 'haskell-unordered-containers' 'haskell-vector')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a72cd51a51dcb9b686909caac83f8f7ba69b0e33ba90bf8a55937f198f898a7e19dff24bec9a4b921b170f34c5511bd58df5ba1dea3751f37e374bb7193d388c')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u attoparsec $_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-test-doctests
+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-lens-aeson/trunk (PKGBUILD)

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:19:35
  Author: felixonmars
Revision: 982869

upgpkg: haskell-lens-aeson 1.1.1-39: rebuild with unliftio 0.2.19

Modified:
  haskell-lens-aeson/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 05:18:28 UTC (rev 982868)
+++ PKGBUILD2021-07-22 05:19:35 UTC (rev 982869)
@@ -3,7 +3,7 @@
 _hkgname=lens-aeson
 pkgname=haskell-lens-aeson
 pkgver=1.1.1
-pkgrel=38
+pkgrel=39
 pkgdesc="Law-abiding lenses for aeson"
 url="https://github.com/lens/lens-aeson/;
 license=('MIT')



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:18:28
  Author: felixonmars
Revision: 982868

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-jose/repos/community-staging-x86_64/PKGBUILD (from rev 982867, 
haskell-jose/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 05:18:28 UTC (rev 982868)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=jose
+pkgname=haskell-jose
+pkgver=0.8.4
+pkgrel=138
+pkgdesc="Javascript Object Signing and Encryption and JSON Web Token library"
+url="https://github.com/frasertweedale/hs-jose;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-base64-bytestring' 
'haskell-concise'
+ 'haskell-cryptonite' 'haskell-lens' 'haskell-memory' 
'haskell-monad-time'
+ 'haskell-safe' 'haskell-aeson' 'haskell-unordered-containers' 
'haskell-network-uri'
+ 'haskell-quickcheck' 'haskell-quickcheck-instances' 'haskell-x509' 
'haskell-vector')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('4141e8f48b97b0d801fab576c3098b95dc1cc9b7c98815cff6bd62324aa2c6d5a4648734d14a00ef08aa36c523befdc6cb7dfdadb9d92d0dce2b434ef8165882')
+
+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"
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:18:14
  Author: felixonmars
Revision: 982867

upgpkg: haskell-jose 0.8.4-138: rebuild with unliftio 0.2.19

Modified:
  haskell-jose/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 05:16:31 UTC (rev 982866)
+++ PKGBUILD2021-07-22 05:18:14 UTC (rev 982867)
@@ -4,7 +4,7 @@
 _hkgname=jose
 pkgname=haskell-jose
 pkgver=0.8.4
-pkgrel=137
+pkgrel=138
 pkgdesc="Javascript Object Signing and Encryption and JSON Web Token library"
 url="https://github.com/frasertweedale/hs-jose;
 license=("Apache")



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:16:31
  Author: felixonmars
Revision: 982866

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-git-lfs/repos/community-staging-x86_64/
  haskell-git-lfs/repos/community-staging-x86_64/PKGBUILD
(from rev 982865, haskell-git-lfs/trunk/PKGBUILD)

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

Copied: haskell-git-lfs/repos/community-staging-x86_64/PKGBUILD (from rev 
982865, haskell-git-lfs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 05:16:31 UTC (rev 982866)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=git-lfs
+pkgname=haskell-git-lfs
+pkgver=1.1.1
+pkgrel=105
+pkgdesc="An implementation of the git-lfs protocol"
+url="https://hackage.haskell.org/package/git-lfs;
+license=('AGPL3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-case-insensitive' 
'haskell-http-client'
+ 'haskell-http-types' 'haskell-network-uri')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4c45441038d220738b154ee93ce9a108044d85ac1c7d892f9001ed3781264ab0a3854f7ecbdef517b05604ea57f96761ca44b026a39e9bd7fccab84b5cd3c779')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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"
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:16:18
  Author: felixonmars
Revision: 982865

upgpkg: haskell-git-lfs 1.1.1-105: rebuild with unliftio 0.2.19

Modified:
  haskell-git-lfs/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 05:14:35 UTC (rev 982864)
+++ PKGBUILD2021-07-22 05:16:18 UTC (rev 982865)
@@ -3,7 +3,7 @@
 _hkgname=git-lfs
 pkgname=haskell-git-lfs
 pkgver=1.1.1
-pkgrel=104
+pkgrel=105
 pkgdesc="An implementation of the git-lfs protocol"
 url="https://hackage.haskell.org/package/git-lfs;
 license=('AGPL3')



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:14:35
  Author: felixonmars
Revision: 982864

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-aeson-compat/repos/community-staging-x86_64/
  haskell-aeson-compat/repos/community-staging-x86_64/PKGBUILD
(from rev 982863, haskell-aeson-compat/trunk/PKGBUILD)

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

Copied: haskell-aeson-compat/repos/community-staging-x86_64/PKGBUILD (from rev 
982863, haskell-aeson-compat/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 05:14:35 UTC (rev 982864)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aeson-compat
+pkgname=haskell-aeson-compat
+pkgver=0.3.9
+pkgrel=228
+pkgdesc="Compatibility layer for aeson"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-attoparsec-iso8601'
+ 'haskell-base-compat' 'haskell-hashable' 'haskell-scientific'
+ 'haskell-tagged' 'haskell-time-locale-compat' 
'haskell-unordered-containers'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-base-orphans' 'haskell-quickcheck' 
'haskell-quickcheck-instances'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('84da7cbace32527d0e20d32415ba770d14417ad4dd9ca0f86e8b5f100449af8a51a7b32c7dfdd7b3557764bd7dfc9ae4aa0a95999bc34b074f49d243a4f4bc46')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u QuickCheck -u aeson -u attoparsec -u base -u base-compat -u 
hashable -u tasty -u time $_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 --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-aeson-compat/trunk (PKGBUILD)

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:14:22
  Author: felixonmars
Revision: 982863

upgpkg: haskell-aeson-compat 0.3.9-228: rebuild with unliftio 0.2.19

Modified:
  haskell-aeson-compat/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 05:13:16 UTC (rev 982862)
+++ PKGBUILD2021-07-22 05:14:22 UTC (rev 982863)
@@ -4,7 +4,7 @@
 _hkgname=aeson-compat
 pkgname=haskell-aeson-compat
 pkgver=0.3.9
-pkgrel=227
+pkgrel=228
 pkgdesc="Compatibility layer for aeson"
 url="https://hackage.haskell.org/package/${_hkgname};
 license=("BSD")



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:13:16
  Author: felixonmars
Revision: 982862

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-arithmoi/repos/community-staging-x86_64/PKGBUILD (from rev 
982861, haskell-arithmoi/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 05:13:16 UTC (rev 982862)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=arithmoi
+pkgname=haskell-arithmoi
+pkgver=0.12.0.0
+pkgrel=4
+pkgdesc="Efficient basic number-theoretic functions."
+url="https://github.com/Bodigrim/arithmoi;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-chimera' 'haskell-constraints' 'haskell-exact-pi'
+ 'haskell-integer-logarithms' 'haskell-integer-roots' 'haskell-mod' 
'haskell-random'
+ 'haskell-semirings' 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-quickcheck-classes' 
'haskell-smallcheck'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-rerun'
+ 'haskell-tasty-smallcheck' 'haskell-vector-sized')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('6ef092fe87feab2a0f5a80d15e302ed9c0085fbbe124d490740a6ef1497ef0d1')
+
+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 \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_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 -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}
\ No newline at end of file



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:13:03
  Author: felixonmars
Revision: 982861

upgpkg: haskell-arithmoi 0.12.0.0-4: rebuild with unliftio 0.2.19

Modified:
  haskell-arithmoi/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 05:09:03 UTC (rev 982860)
+++ PKGBUILD2021-07-22 05:13:03 UTC (rev 982861)
@@ -3,7 +3,7 @@
 _hkgname=arithmoi
 pkgname=haskell-arithmoi
 pkgver=0.12.0.0
-pkgrel=3
+pkgrel=4
 pkgdesc="Efficient basic number-theoretic functions."
 url="https://github.com/Bodigrim/arithmoi;
 license=("MIT")



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:09:03
  Author: felixonmars
Revision: 982860

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-mod/repos/community-staging-x86_64/PKGBUILD (from rev 982859, 
haskell-mod/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 05:09:03 UTC (rev 982860)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=mod
+pkgname=haskell-mod
+pkgver=0.1.2.2
+pkgrel=3
+pkgdesc="Fast type-safe modular arithmetic"
+url="https://github.com/Bodigrim/mod;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-primitive' 'haskell-semirings' 'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck-classes' 
'haskell-quickcheck-classes-base' 'haskell-tasty'
+ 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('db98ad817c45e89984428cae6b5f88074220955035520cafe552ce2146f32255')
+
+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 \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_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 -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}
\ No newline at end of file



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:08:51
  Author: felixonmars
Revision: 982859

upgpkg: haskell-mod 0.1.2.2-3: rebuild with unliftio 0.2.19

Modified:
  haskell-mod/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 05:07:20 UTC (rev 982858)
+++ PKGBUILD2021-07-22 05:08:51 UTC (rev 982859)
@@ -3,7 +3,7 @@
 _hkgname=mod
 pkgname=haskell-mod
 pkgver=0.1.2.2
-pkgrel=2
+pkgrel=3
 pkgdesc="Fast type-safe modular arithmetic"
 url="https://github.com/Bodigrim/mod;
 license=("MIT")



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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-quickcheck-classes/repos/community-staging-x86_64/PKGBUILD 
(from rev 982857, haskell-quickcheck-classes/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 05:07:20 UTC (rev 982858)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=quickcheck-classes
+pkgname=haskell-quickcheck-classes
+pkgver=0.6.5.0
+pkgrel=3
+pkgdesc="QuickCheck common typeclasses"
+url="https://github.com/andrewthad/quickcheck-classes#readme;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-aeson' 'haskell-primitive'
+ 'haskell-primitive-addr' 'haskell-quickcheck-classes-base' 
'haskell-semigroupoids'
+ 'haskell-semirings' 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-base-orphans' 'haskell-tagged' 
'haskell-tasty'
+ 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('62e32ad01c194798ebfb1a39ea9c06ccd54bd6d21cf726e9d0fc9db56b093ca6')
+
+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 \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_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 -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}
\ No newline at end of file



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:07:06
  Author: felixonmars
Revision: 982857

upgpkg: haskell-quickcheck-classes 0.6.5.0-3: rebuild with unliftio 0.2.19

Modified:
  haskell-quickcheck-classes/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 05:04:56 UTC (rev 982856)
+++ PKGBUILD2021-07-22 05:07:06 UTC (rev 982857)
@@ -3,7 +3,7 @@
 _hkgname=quickcheck-classes
 pkgname=haskell-quickcheck-classes
 pkgver=0.6.5.0
-pkgrel=2
+pkgrel=3
 pkgdesc="QuickCheck common typeclasses"
 url="https://github.com/andrewthad/quickcheck-classes#readme;
 license=("BSD")



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:04:56
  Author: felixonmars
Revision: 982856

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-dependent-map/repos/community-staging-x86_64/
  haskell-dependent-map/repos/community-staging-x86_64/PKGBUILD
(from rev 982855, haskell-dependent-map/trunk/PKGBUILD)

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

Copied: haskell-dependent-map/repos/community-staging-x86_64/PKGBUILD (from rev 
982855, haskell-dependent-map/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 05:04:56 UTC (rev 982856)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=dependent-map
+pkgname=haskell-dependent-map
+pkgver=0.4.0.0
+pkgrel=33
+pkgdesc="Dependent finite maps (partial dependent products)"
+url="https://github.com/obsidiansystems/dependent-map;
+license=("custom")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-constraints-extras' 'haskell-dependent-sum')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('53ce0b52d8be1b85fc6489fb27656f16d837bee4fbe0ddf39c844e3ea8871f2c')
+
+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 \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+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 -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:04:43
  Author: felixonmars
Revision: 982855

upgpkg: haskell-dependent-map 0.4.0.0-33: rebuild with unliftio 0.2.19

Modified:
  haskell-dependent-map/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 05:03:52 UTC (rev 982854)
+++ PKGBUILD2021-07-22 05:04:43 UTC (rev 982855)
@@ -3,7 +3,7 @@
 _hkgname=dependent-map
 pkgname=haskell-dependent-map
 pkgver=0.4.0.0
-pkgrel=32
+pkgrel=33
 pkgdesc="Dependent finite maps (partial dependent products)"
 url="https://github.com/obsidiansystems/dependent-map;
 license=("custom")



[arch-commits] Commit in haskell-dependent-sum-template/repos (3 files)

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:03:52
  Author: felixonmars
Revision: 982854

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-dependent-sum-template/repos/community-staging-x86_64/
  haskell-dependent-sum-template/repos/community-staging-x86_64/PKGBUILD
(from rev 982853, haskell-dependent-sum-template/trunk/PKGBUILD)
  haskell-dependent-sum-template/repos/community-staging-x86_64/ghc9.patch
(from rev 982853, haskell-dependent-sum-template/trunk/ghc9.patch)

+
 PKGBUILD   |   50 +
 ghc9.patch |   88 +++
 2 files changed, 138 insertions(+)

Copied: haskell-dependent-sum-template/repos/community-staging-x86_64/PKGBUILD 
(from rev 982853, haskell-dependent-sum-template/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 05:03:52 UTC (rev 982854)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+
+_hkgname=dependent-sum-template
+pkgname=haskell-dependent-sum-template
+pkgver=0.1.0.3
+pkgrel=33
+pkgdesc="Template Haskell code to generate instances of classes in 
dependent-sum package"
+url="https://github.com/obsidiansystems/dependent-sum;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-dependent-sum' 'haskell-th-extras')
+makedepends=('ghc' 'haskell-constraints-extras')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;
+ghc9.patch)
+sha256sums=('c8eb17d3fa9966182e041836abefce2e7e42e30d3b01463a254fb7cf806ca4df'
+'59a2d3b292148ff515dafa7987b3b2533e971884a016d79fbfede894be726f0e')
+
+prepare() {
+  patch -d $_hkgname-$pkgver -p2 < ghc9.patch
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  # Tests are broken: 
https://github.com/obsidiansystems/dependent-sum/pull/57#issuecomment-865277051
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --disable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_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"
+}

Copied: 
haskell-dependent-sum-template/repos/community-staging-x86_64/ghc9.patch (from 
rev 982853, haskell-dependent-sum-template/trunk/ghc9.patch)
===
--- community-staging-x86_64/ghc9.patch (rev 0)
+++ community-staging-x86_64/ghc9.patch 2021-07-22 05:03:52 UTC (rev 982854)
@@ -0,0 +1,88 @@
+From 8cf4c7fbc3bfa2be475a17bb7c94a1e1e9a830b5 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20K=C3=A4llberg?= 
+Date: Mon, 29 Mar 2021 20:51:46 +0800
+Subject: [PATCH] Add support for GHC-9.0.1
+
+---
+ .../dependent-sum-template.cabal   |  6 --
+ .../src/Data/Dependent/Sum/TH/Internal.hs  | 18 +-
+ 2 files changed, 17 insertions(+), 7 deletions(-)
+
+diff --git a/dependent-sum-template/dependent-sum-template.cabal 
b/dependent-sum-template/dependent-sum-template.cabal
+index 1d2d17f..4b7f1c7 100644
+--- a/dependent-sum-template/dependent-sum-template.cabal
 b/dependent-sum-template/dependent-sum-template.cabal
+@@ -18,7 +18,8 @@ tested-with:GHC == 8.0.2,
+ GHC == 8.2.2,
+ GHC == 8.4.4,
+ GHC == 8.6.5,
+-GHC == 8.8.3
++GHC == 8.8.3,
++GHC == 9.0.1
+ 
+ extra-source-files: ChangeLog.md
+ 
+@@ -36,7 +37,8 @@ Library
+   build-depends:base >= 3 && <5,
+ dependent-sum >= 0.4.1 && < 0.8,
+ template-haskell,
+-th-extras >= 0.0.0.2
++th-extras >= 0.0.0.2,
++th-abstraction
+ 
+ test-suite test
+   if impl(ghc < 8.0)
+diff --git a/dependent-sum-template/src/Data/Dependent/Sum/TH/Internal.hs 
b/dependent-sum-template/src/Data/Dependent/Sum/TH/Internal.hs
+index 0bf5afd..16ed953 100644
+--- a/dependent-sum-template/src/Data/Dependent/Sum/TH/Internal.hs
 b/dependent-sum-template/src/Data/Dependent/Sum/TH/Internal.hs
+@@ -10,6 +10,7 @@ module 

[arch-commits] Commit in haskell-dependent-sum-template/trunk (PKGBUILD)

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:03:37
  Author: felixonmars
Revision: 982853

upgpkg: haskell-dependent-sum-template 0.1.0.3-33: rebuild with unliftio 0.2.19

Modified:
  haskell-dependent-sum-template/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 05:02:44 UTC (rev 982852)
+++ PKGBUILD2021-07-22 05:03:37 UTC (rev 982853)
@@ -3,7 +3,7 @@
 _hkgname=dependent-sum-template
 pkgname=haskell-dependent-sum-template
 pkgver=0.1.0.3
-pkgrel=32
+pkgrel=33
 pkgdesc="Template Haskell code to generate instances of classes in 
dependent-sum package"
 url="https://github.com/obsidiansystems/dependent-sum;
 license=("custom:PublicDomain")



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:02:44
  Author: felixonmars
Revision: 982852

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-dependent-sum/repos/community-staging-x86_64/
  haskell-dependent-sum/repos/community-staging-x86_64/PKGBUILD
(from rev 982851, haskell-dependent-sum/trunk/PKGBUILD)

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

Copied: haskell-dependent-sum/repos/community-staging-x86_64/PKGBUILD (from rev 
982851, haskell-dependent-sum/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 05:02:44 UTC (rev 982852)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=dependent-sum
+pkgname=haskell-dependent-sum
+pkgver=0.7.1.0
+pkgrel=33
+pkgdesc="Dependent sum type"
+url="https://github.com/obsidiansystems/dependent-sum;
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-constraints-extras' 'haskell-some')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('81cb55907f321f62bea095ae72e9711095c4cb7378fa66fbabc483a9f61b462a')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u some $_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 --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+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"
+}



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:02:31
  Author: felixonmars
Revision: 982851

upgpkg: haskell-dependent-sum 0.7.1.0-33: rebuild with unliftio 0.2.19

Modified:
  haskell-dependent-sum/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 05:01:39 UTC (rev 982850)
+++ PKGBUILD2021-07-22 05:02:31 UTC (rev 982851)
@@ -3,7 +3,7 @@
 _hkgname=dependent-sum
 pkgname=haskell-dependent-sum
 pkgver=0.7.1.0
-pkgrel=32
+pkgrel=33
 pkgdesc="Dependent sum type"
 url="https://github.com/obsidiansystems/dependent-sum;
 license=("custom:PublicDomain")



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:01:39
  Author: felixonmars
Revision: 982850

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-constraints-extras/repos/community-staging-x86_64/
  haskell-constraints-extras/repos/community-staging-x86_64/PKGBUILD
(from rev 982849, haskell-constraints-extras/trunk/PKGBUILD)

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

Copied: haskell-constraints-extras/repos/community-staging-x86_64/PKGBUILD 
(from rev 982849, haskell-constraints-extras/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 05:01:39 UTC (rev 982850)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=constraints-extras
+pkgname=haskell-constraints-extras
+pkgver=0.3.1.0
+pkgrel=25
+pkgdesc="Utility package for constraints"
+url="https://github.com/obsidiansystems/constraints-extras;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-constraints')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('0d58e3985ca15c32315854f838e89a7e3e4bb9741f0cd05b3ea68052f8a3da335b65001a8a53d796936c6cc561a63f52054d673801e12dde85c73abe04e43895')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u constraints $_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 --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+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 -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:01:26
  Author: felixonmars
Revision: 982849

upgpkg: haskell-constraints-extras 0.3.1.0-25: rebuild with unliftio 0.2.19

Modified:
  haskell-constraints-extras/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 05:00:33 UTC (rev 982848)
+++ PKGBUILD2021-07-22 05:01:26 UTC (rev 982849)
@@ -3,7 +3,7 @@
 _hkgname=constraints-extras
 pkgname=haskell-constraints-extras
 pkgver=0.3.1.0
-pkgrel=24
+pkgrel=25
 pkgdesc="Utility package for constraints"
 url="https://github.com/obsidiansystems/constraints-extras;
 license=("BSD")



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:00:33
  Author: felixonmars
Revision: 982848

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-criterion/repos/community-staging-x86_64/PKGBUILD (from rev 
982847, haskell-criterion/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 05:00:33 UTC (rev 982848)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=criterion
+pkgname=haskell-criterion
+pkgver=1.5.9.0
+pkgrel=99
+pkgdesc="Robust, reliable performance measurement and analysis"
+url="http://www.serpentine.com/criterion;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-wl-pprint' 
'haskell-base-compat-batteries'
+ 'haskell-binary-orphans' 'haskell-cassava' 'haskell-code-page'
+ 'haskell-criterion-measurement' 'haskell-glob' 'haskell-js-chart'
+ 'haskell-microstache' 'haskell-mwc-random' 
'haskell-optparse-applicative'
+ 'haskell-statistics' 'haskell-transformers-compat' 'haskell-vector'
+ 'haskell-vector-algorithms')
+makedepends=('ghc' 'haskell-base-compat' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-tasty'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('ba8550073977ac829d35e327bc976a6a914694d2e9eb29f25c40811ec4064249dba746ac7a3df1b21532ca64c62375d9b35c201c7e259801f21ccde883647ca8')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir="$pkgname" 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-fast -f-embed-data-files
+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-criterion/trunk (PKGBUILD)

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 05:00:21
  Author: felixonmars
Revision: 982847

upgpkg: haskell-criterion 1.5.9.0-99: rebuild with unliftio 0.2.19

Modified:
  haskell-criterion/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 04:57:40 UTC (rev 982846)
+++ PKGBUILD2021-07-22 05:00:21 UTC (rev 982847)
@@ -4,7 +4,7 @@
 _hkgname=criterion
 pkgname=haskell-criterion
 pkgver=1.5.9.0
-pkgrel=98
+pkgrel=99
 pkgdesc="Robust, reliable performance measurement and analysis"
 url="http://www.serpentine.com/criterion;
 license=("BSD")



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 04:57:40
  Author: felixonmars
Revision: 982846

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-criterion-measurement/repos/community-staging-x86_64/
  haskell-criterion-measurement/repos/community-staging-x86_64/PKGBUILD
(from rev 982845, haskell-criterion-measurement/trunk/PKGBUILD)

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

Copied: haskell-criterion-measurement/repos/community-staging-x86_64/PKGBUILD 
(from rev 982845, haskell-criterion-measurement/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 04:57:40 UTC (rev 982846)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan 
+
+_hkgname=criterion-measurement
+pkgname=haskell-criterion-measurement
+pkgver=0.1.3.0
+pkgrel=4
+pkgdesc="Criterion measurement functionality and associated types"
+url="https://github.com/haskell/criterion;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat' 'haskell-vector')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('f693ef3e8986eba70e4d0268ef16b9644aa4a99eb7d13c356ddfcb9af031a053bce81c272a561dd99f6be1eb18b862ee74cdf0fa3eeecc99d0083d35650b1d19')
+
+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-criterion-measurement/trunk (PKGBUILD)

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 04:57:27
  Author: felixonmars
Revision: 982845

upgpkg: haskell-criterion-measurement 0.1.3.0-4: rebuild with unliftio 0.2.19

Modified:
  haskell-criterion-measurement/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 04:56:24 UTC (rev 982844)
+++ PKGBUILD2021-07-22 04:57:27 UTC (rev 982845)
@@ -3,7 +3,7 @@
 _hkgname=criterion-measurement
 pkgname=haskell-criterion-measurement
 pkgver=0.1.3.0
-pkgrel=3
+pkgrel=4
 pkgdesc="Criterion measurement functionality and associated types"
 url="https://github.com/haskell/criterion;
 license=('MIT')



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 04:56:24
  Author: felixonmars
Revision: 982844

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-swagger2/repos/community-staging-x86_64/PKGBUILD (from rev 
982843, haskell-swagger2/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 04:56:24 UTC (rev 982844)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=swagger2
+pkgname=haskell-swagger2
+pkgver=2.6.1
+_commit=44ad73cd0f49c0cd17ad9f9ec4a9fdb3d4e7e776
+pkgrel=4
+pkgdesc="Swagger 2.0 data model"
+url="https://github.com/GetShopTV/swagger2;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 
'haskell-base-compat-batteries'
+ 'haskell-cookie' 'haskell-hashable' 'haskell-generics-sop' 
'haskell-http-media'
+ 'haskell-insert-ordered-containers' 'haskell-lens' 'haskell-network' 
'haskell-optics-core'
+ 'haskell-optics-th' 'haskell-quickcheck' 'haskell-scientific'
+ 'haskell-unordered-containers' 'haskell-vector' 'haskell-uuid-types')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-hunit' 
'haskell-quickcheck-instances'
+ 'haskell-hspec-discover' 'haskell-doctest' 
'haskell-cabal-doctest' 'haskell-glob'
+ 'haskell-utf8-string')
+source=("https://github.com/GetShopTV/swagger2/archive/$_commit/$pkgname-$_commit.tar.gz;)
+#source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('2e2ba7f08b217533cbcf6d0d59e0f4da94645dc9ea6805cf7eebc3188f5d9ff5bb55471588ebd55bf13ade8c1ac5ff249dac58da7b5cc827dc8e4fcff65bec35')
+
+prepare() {
+cd $_hkgname-$_commit
+uusi -u aeson -u base -u hspec -u lens -u optics-core -u optics-th -u 
template-haskell $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$_commit
+
+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-$_commit
+# https://github.com/GetShopTV/swagger2/issues/222
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$_commit
+
+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-swagger2/trunk (PKGBUILD)

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 04:56:11
  Author: felixonmars
Revision: 982843

upgpkg: haskell-swagger2 2.6.1-4: rebuild with unliftio 0.2.19

Modified:
  haskell-swagger2/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 04:50:29 UTC (rev 982842)
+++ PKGBUILD2021-07-22 04:56:11 UTC (rev 982843)
@@ -5,7 +5,7 @@
 pkgname=haskell-swagger2
 pkgver=2.6.1
 _commit=44ad73cd0f49c0cd17ad9f9ec4a9fdb3d4e7e776
-pkgrel=3
+pkgrel=4
 pkgdesc="Swagger 2.0 data model"
 url="https://github.com/GetShopTV/swagger2;
 license=("BSD")



[arch-commits] Commit in dhall-json/repos (2 files)

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 04:50:29
  Author: felixonmars
Revision: 982842

archrelease: copy trunk to community-staging-x86_64

Added:
  dhall-json/repos/community-staging-x86_64/
  dhall-json/repos/community-staging-x86_64/PKGBUILD
(from rev 982841, dhall-json/trunk/PKGBUILD)

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

Copied: dhall-json/repos/community-staging-x86_64/PKGBUILD (from rev 982841, 
dhall-json/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 04:50:29 UTC (rev 982842)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+pkgname=dhall-json
+pkgver=1.7.7
+pkgrel=14
+pkgdesc='Convert between Dhall and JSON or YAML'
+url='https://dhall-lang.org'
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 
'haskell-aeson-yaml' 'dhall'
+ 'haskell-lens-family-core' 'haskell-optparse-applicative' 
'haskell-prettyprinter'
+ 'haskell-scientific' 'haskell-unordered-containers' 
'haskell-prettyprinter-ansi-terminal')
+makedepends=('ghc' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-silver')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('b7760742e59d449e278b097cd82a536c997cd46e53ee92f5019fb1ab1d4389c18a549b39053ba9bd74de598b5118aa2037dbd9a4bd33c4e2c1b2ec9d55871540')
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$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 $pkgname-$pkgver
+# https://github.com/dhall-lang/dhall-haskell/issues/2151
+runhaskell Setup test || echo "Tests failed"
+}
+
+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}"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 04:50:16
  Author: felixonmars
Revision: 982841

upgpkg: dhall-json 1.7.7-14: rebuild with unliftio 0.2.19

Modified:
  dhall-json/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 04:48:40 UTC (rev 982840)
+++ PKGBUILD2021-07-22 04:50:16 UTC (rev 982841)
@@ -2,7 +2,7 @@
 
 pkgname=dhall-json
 pkgver=1.7.7
-pkgrel=13
+pkgrel=14
 pkgdesc='Convert between Dhall and JSON or YAML'
 url='https://dhall-lang.org'
 license=('BSD')



[arch-commits] Commit in dhall-docs/repos (2 files)

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 04:48:40
  Author: felixonmars
Revision: 982840

archrelease: copy trunk to community-staging-x86_64

Added:
  dhall-docs/repos/community-staging-x86_64/
  dhall-docs/repos/community-staging-x86_64/PKGBUILD
(from rev 982839, dhall-docs/trunk/PKGBUILD)

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

Copied: dhall-docs/repos/community-staging-x86_64/PKGBUILD (from rev 982839, 
dhall-docs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 04:48:40 UTC (rev 982840)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+pkgname=dhall-docs
+pkgver=1.0.6
+pkgrel=18
+pkgdesc="Generate HTML docs from a dhall package"
+url="https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-docs;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cryptonite' 'dhall' 'haskell-file-embed' 
'haskell-lens-family-core'
+ 'haskell-lucid' 'haskell-megaparsec' 'haskell-memory' 'haskell-mmark'
+ 'haskell-optparse-applicative' 'haskell-path' 'haskell-path-io' 
'haskell-prettyprinter')
+makedepends=('ghc' 'uusi' 'haskell-doctest' 'haskell-foldl' 'haskell-hashable' 
'haskell-tasty'
+ 'haskell-tasty-hunit' 'haskell-tasty-silver' 'haskell-turtle')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha512sums=('d02c687404833bad6ad41110e52454216b5d0fd113ef2741d98e13c26dd00265032d0e8c1e65e6d8e6e11157567854467761b836f27d2c3d1f0d761a24ac87e8')
+
+prepare() {
+  cd $pkgname-$pkgver
+  uusi -u hashable -u megaparsec -u path $pkgname.cabal
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir="$pkgname" 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $pkgname-$pkgver
+  # https://github.com/dhall-lang/dhall-haskell/issues/2179
+  runhaskell Setup test || echo "Tests failed"
+}
+
+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"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 04:48:28
  Author: felixonmars
Revision: 982839

upgpkg: dhall-docs 1.0.6-18: rebuild with unliftio 0.2.19

Modified:
  dhall-docs/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 04:46:18 UTC (rev 982838)
+++ PKGBUILD2021-07-22 04:48:28 UTC (rev 982839)
@@ -2,7 +2,7 @@
 
 pkgname=dhall-docs
 pkgver=1.0.6
-pkgrel=17
+pkgrel=18
 pkgdesc="Generate HTML docs from a dhall package"
 url="https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-docs;
 license=("BSD")



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 04:46:18
  Author: felixonmars
Revision: 982838

archrelease: copy trunk to community-staging-x86_64

Added:
  dhall/repos/community-staging-x86_64/
  dhall/repos/community-staging-x86_64/PKGBUILD
(from rev 982837, dhall/trunk/PKGBUILD)

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

Copied: dhall/repos/community-staging-x86_64/PKGBUILD (from rev 982837, 
dhall/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 04:46:18 UTC (rev 982838)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+
+pkgname=dhall
+pkgver=1.39.0
+pkgrel=14
+pkgdesc='A configuration language guaranteed to terminate'
+url='https://dhall-lang.org'
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 
'haskell-ansi-terminal'
+ 'haskell-atomic-write' 'haskell-case-insensitive' 'haskell-cborg' 
'haskell-cborg-json'
+ 'haskell-contravariant' 'haskell-data-fix' 'haskell-diff' 
'haskell-dotgen'
+ 'haskell-either' 'haskell-half' 'haskell-hashable' 
'haskell-lens-family-core'
+ 'haskell-megaparsec' 'haskell-memory' 'haskell-mmorph' 
'haskell-network-uri'
+ 'haskell-optparse-applicative' 'haskell-parsers' 
'haskell-parser-combinators'
+ 'haskell-prettyprinter' 'haskell-prettyprinter-ansi-terminal' 
'haskell-pretty-simple'
+ 'haskell-profunctors' 'haskell-repline' 'haskell-serialise' 
'haskell-scientific'
+ 'haskell-text-manipulate' 'haskell-th-lift-instances' 
'haskell-transformers-compat'
+ 'haskell-unordered-containers' 'haskell-uri-encode' 'haskell-vector' 
'haskell-cryptonite'
+ 'haskell-http-types' 'haskell-http-client' 'haskell-http-client-tls')
+makedepends=('ghc' 'uusi' 'haskell-foldl' 'haskell-generic-random' 
'haskell-mockery' 'haskell-quickcheck'
+ 'haskell-quickcheck-instances' 'haskell-special-values' 
'haskell-spoon'
+ 'haskell-tasty' 'haskell-tasty-expected-failure' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck' 'haskell-tasty-silver' 
'haskell-turtle' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('d6a2198e7569623c372ac8cfec00db714cefde683bcb8d8c30acc89c6f536d3dfa7f79f3e61e0080eb0312ca67580d86c079396046e5eb39aea592a93211b52b')
+
+prepare() {
+cd $pkgname-$pkgver
+uusi -u generic-random -u megaparsec -u mmorph $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$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 $pkgname-$pkgver
+runhaskell Setup test --show-details=direct || echo "Tests failed"
+}
+
+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}"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 04:46:05
  Author: felixonmars
Revision: 982837

upgpkg: dhall 1.39.0-14: rebuild with unliftio 0.2.19

Modified:
  dhall/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 04:38:50 UTC (rev 982836)
+++ PKGBUILD2021-07-22 04:46:05 UTC (rev 982837)
@@ -2,7 +2,7 @@
 
 pkgname=dhall
 pkgver=1.39.0
-pkgrel=13
+pkgrel=14
 pkgdesc='A configuration language guaranteed to terminate'
 url='https://dhall-lang.org'
 license=('BSD')



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 04:38:50
  Author: felixonmars
Revision: 982836

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-cborg-json/repos/community-staging-x86_64/
  haskell-cborg-json/repos/community-staging-x86_64/PKGBUILD
(from rev 982835, haskell-cborg-json/trunk/PKGBUILD)

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

Copied: haskell-cborg-json/repos/community-staging-x86_64/PKGBUILD (from rev 
982835, haskell-cborg-json/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 04:38:50 UTC (rev 982836)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=cborg-json
+pkgname=haskell-cborg-json
+pkgver=0.2.2.0
+pkgrel=159
+pkgdesc="A library for encoding JSON as CBOR"
+url="https://github.com/well-typed/cborg-json;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 'haskell-cborg' 
'haskell-scientific'
+ 'haskell-unordered-containers' 'haskell-vector')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('d42a7af4bf91ddac496c6e7273aebe4c9062504fa10bcdbb17f9ece851daa343aff5d8790113514fd5833513c56fa4a465ee0734adf71a1540af4b8045dd7c93')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/< *4.14/<5/;s/< *1.5/<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 --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.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.txt
+}



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 04:38:38
  Author: felixonmars
Revision: 982835

upgpkg: haskell-cborg-json 0.2.2.0-159: rebuild with unliftio 0.2.19

Modified:
  haskell-cborg-json/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 04:37:48 UTC (rev 982834)
+++ PKGBUILD2021-07-22 04:38:38 UTC (rev 982835)
@@ -3,7 +3,7 @@
 _hkgname=cborg-json
 pkgname=haskell-cborg-json
 pkgver=0.2.2.0
-pkgrel=158
+pkgrel=159
 pkgdesc="A library for encoding JSON as CBOR"
 url="https://github.com/well-typed/cborg-json;
 license=('BSD')



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 04:37:48
  Author: felixonmars
Revision: 982834

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-floskell/repos/community-staging-x86_64/PKGBUILD (from rev 
982833, haskell-floskell/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 04:37:48 UTC (rev 982834)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=floskell
+pkgname=haskell-floskell
+pkgver=0.10.5
+pkgrel=108
+pkgdesc="A flexible Haskell source code pretty printer"
+url="https://github.com/ennocramer/floskell;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 'haskell-attoparsec'
+ 'haskell-data-default' 'haskell-src-exts' 'haskell-monad-dijkstra'
+ 'haskell-optparse-applicative' 'haskell-unordered-containers' 
'haskell-utf8-string')
+makedepends=('ghc' 'uusi' 'haskell-hspec')
+source=("https://github.com/ennocramer/floskell/archive/floskell-$pkgver.tar.gz;)
+sha256sums=('91aa7caa269d1df60c7b21226721e0bd0e8595308b0d3f56dfd5e775b2d1f9ab')
+
+prepare() {
+  cd $_hkgname-floskell-$pkgver
+  uusi -u attoparsec -u base -u ghc-prim -u hspec $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-floskell-$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 \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-floskell-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-floskell-$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-floskell/trunk (PKGBUILD)

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 04:37:35
  Author: felixonmars
Revision: 982833

upgpkg: haskell-floskell 0.10.5-108: rebuild with unliftio 0.2.19

Modified:
  haskell-floskell/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 04:34:35 UTC (rev 982832)
+++ PKGBUILD2021-07-22 04:37:35 UTC (rev 982833)
@@ -3,7 +3,7 @@
 _hkgname=floskell
 pkgname=haskell-floskell
 pkgver=0.10.5
-pkgrel=107
+pkgrel=108
 pkgdesc="A flexible Haskell source code pretty printer"
 url="https://github.com/ennocramer/floskell;
 license=("BSD")



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 04:34:35
  Author: felixonmars
Revision: 982832

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-graph/repos/community-staging-x86_64/
  haskell-hls-graph/repos/community-staging-x86_64/PKGBUILD
(from rev 982831, haskell-hls-graph/trunk/PKGBUILD)

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

Copied: haskell-hls-graph/repos/community-staging-x86_64/PKGBUILD (from rev 
982831, haskell-hls-graph/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 04:34:35 UTC (rev 982832)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-graph
+pkgname=haskell-hls-graph
+pkgver=1.4.0.0
+pkgrel=12
+pkgdesc="Haskell Language Server internal graph API"
+url="https://github.com/haskell/haskell-language-server#readme;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-shake' 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('8ee3bf2a7f11f15741c94a9d40560aa2fe35af3c8fce40166796233322a5a474')
+
+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 \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+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 -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 04:34:22
  Author: felixonmars
Revision: 982831

upgpkg: haskell-hls-graph 1.4.0.0-12: rebuild with unliftio 0.2.19

Modified:
  haskell-hls-graph/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 04:33:29 UTC (rev 982830)
+++ PKGBUILD2021-07-22 04:34:22 UTC (rev 982831)
@@ -3,7 +3,7 @@
 _hkgname=hls-graph
 pkgname=haskell-hls-graph
 pkgver=1.4.0.0
-pkgrel=11
+pkgrel=12
 pkgdesc="Haskell Language Server internal graph API"
 url="https://github.com/haskell/haskell-language-server#readme;
 license=("Apache")



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 04:33:29
  Author: felixonmars
Revision: 982830

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-shake/repos/community-staging-x86_64/PKGBUILD (from rev 982829, 
haskell-shake/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 04:33:29 UTC (rev 982830)
@@ -0,0 +1,60 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=shake
+pkgname=haskell-shake
+pkgver=0.19.5
+pkgrel=7
+pkgdesc="Build system library, like Make, but more accurate dependencies."
+url="https://shakebuild.com;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-extra' 'haskell-filepattern' 'haskell-hashable'
+ 'haskell-heaps' 'haskell-js-dgtable' 'haskell-js-flot' 
'haskell-js-jquery'
+ 'haskell-primitive' 'haskell-random' 'haskell-unordered-containers' 
'haskell-utf8-string')
+makedepends=('ghc' 'haskell-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('655c146102ca6479d5a1de11040e7c6b5f18c5386f9bb93d5305c837bc405e6bd3dd9f2e9daec74fb59de6a91272485f83bb708028cd55d9771afb39ff3b9f64')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/ghc --make/ghc -dynamic --make/' 
src/Test/{Command.hs,CloseFileHandles.hs}
+sed -e 's/ghc -package=Cabal/ghc -package=Cabal -dynamic/' \
+-e 's/ghc -fno-code/ghc -dynamic -fno-code/' \
+-e 
's/"configure",/"configure","--enable-executable-dynamic","--disable-library-vanilla",/'
 \
+-i src/Test/Docs.hs
+sed -i 's/cmd "ghc" flags/cmd "ghc" "-dynamic" flags/' src/Test/Self.hs 
src/Test/SelfMake.hs
+sed -i 's/ghc --make/ghc -dynamic --make/' docs/manual/build.sh
+
+# Not sure about this one:
+sed -i 's/at cmd, called at/at want, called at/' src/Test/Errors.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir="$pkgname" 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-portable -f-cloud -f-embed-files
+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-shake/trunk (PKGBUILD)

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 04:33:17
  Author: felixonmars
Revision: 982829

upgpkg: haskell-shake 0.19.5-7: rebuild with unliftio 0.2.19

Modified:
  haskell-shake/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 04:27:01 UTC (rev 982828)
+++ PKGBUILD2021-07-22 04:33:17 UTC (rev 982829)
@@ -4,7 +4,7 @@
 _hkgname=shake
 pkgname=haskell-shake
 pkgver=0.19.5
-pkgrel=6
+pkgrel=7
 pkgdesc="Build system library, like Make, but more accurate dependencies."
 url="https://shakebuild.com;
 license=("BSD")



[arch-commits] Commit in npm/repos/community-any (PKGBUILD PKGBUILD)

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 04:27:01
  Author: felixonmars
Revision: 982828

archrelease: copy trunk to community-any

Added:
  npm/repos/community-any/PKGBUILD
(from rev 982827, npm/trunk/PKGBUILD)
Deleted:
  npm/repos/community-any/PKGBUILD

--+
 PKGBUILD |  128 ++---
 1 file changed, 64 insertions(+), 64 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-07-22 04:26:45 UTC (rev 982827)
+++ PKGBUILD2021-07-22 04:27:01 UTC (rev 982828)
@@ -1,64 +0,0 @@
-# Maintainer: Felix Yan 
-
-pkgname=npm
-pkgver=7.17.0
-pkgrel=1
-pkgdesc='A package manager for javascript'
-arch=('any')
-url='https://www.npmjs.com/'
-license=('custom:Artistic')
-depends=('nodejs' 'node-gyp' 'nodejs-nopt' 'semver')
-# libgl: TODO
-# libvips: for sharp (doc build) (disabled as current version of gatsby 
imports a broken sharp)
-# libxi: for cwebp (doc build)
-makedepends=('libgl' 'libxi' 'marked' 'marked-man' 'procps-ng' 'python')
-options=('!emptydirs')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/npm/cli/archive/v$pkgver.tar.gz;)
-sha512sums=('01349884845e84b4cf79162624425ed838552b3e0cf248d5f2bad87cadc10c304a3107fdac3a14d60b177a1aa8816227c8b0fbf0e7fde8d27ab391f5ccbe5246')
-
-prepare() {
-  cd cli-$pkgver
-  mkdir -p node_modules/.bin
-  ln -sf /usr/bin/marked{,-man} node_modules/.bin/
-
-  # Use local marked/marked-man
-  sed -i 's|node bin/npm-cli.js install marked|true |' Makefile
-
-  # Don't build twice
-  sed -i 's/install: all/install:/' Makefile
-
-  mkdir -p man/man1
-}
-
-build() {
-  cd cli-$pkgver
-  NODE_PATH=/usr/lib/node_modules make
-}
-
-package() {
-  cd cli-$pkgver
-  node bin/npm-cli.js install -g -f --prefix="$pkgdir/usr" $(node 
bin/npm-cli.js pack | tail -1)
-
-  # Non-deterministic race in npm gives 777 permissions to random directories.
-  # See https://github.com/npm/npm/issues/9359 for details.
-  chmod -R u=rwX,go=rX "$pkgdir"
-
-  # npm installs package.json owned by build user
-  # https://bugs.archlinux.org/task/63396
-  chown -R root:root "$pkgdir"
-
-  # Experimental dedup
-  _npmdir="$pkgdir"/usr/lib/node_modules/$pkgname
-  rm -r "$_npmdir"/node_modules/{,.bin/}semver
-  rm -r "$_npmdir"/node_modules/{,.bin/}node-gyp
-  rm -r "$_npmdir"/node_modules/{,.bin/}nopt
-  sed -i 
's|../../node_modules/node-gyp/bin/node-gyp.js|../../../node-gyp/bin/node-gyp.js|'
 \
-"$_npmdir"/bin/node-gyp-bin/node-gyp
-
-  install -dm755 "$pkgdir"/usr/share/bash-completion/completions
-  node "$srcdir"/cli-$pkgver/bin/npm-cli.js completion > 
"$pkgdir"/usr/share/bash-completion/completions/npm
-
-  mv "$pkgdir"/usr/lib/node_modules/npm/man "$pkgdir"/usr/share/
-
-  install -Dm644 "$srcdir"/cli-$pkgver/LICENSE 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: npm/repos/community-any/PKGBUILD (from rev 982827, npm/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-07-22 04:27:01 UTC (rev 982828)
@@ -0,0 +1,64 @@
+# Maintainer: Felix Yan 
+
+pkgname=npm
+pkgver=7.18.0
+pkgrel=1
+pkgdesc='A package manager for javascript'
+arch=('any')
+url='https://www.npmjs.com/'
+license=('custom:Artistic')
+depends=('nodejs' 'node-gyp' 'nodejs-nopt' 'semver')
+# libgl: TODO
+# libvips: for sharp (doc build) (disabled as current version of gatsby 
imports a broken sharp)
+# libxi: for cwebp (doc build)
+makedepends=('libgl' 'libxi' 'marked' 'marked-man' 'procps-ng' 'python')
+options=('!emptydirs')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/npm/cli/archive/v$pkgver.tar.gz;)
+sha512sums=('d898423ac708e7679cbda8dd835562841a7042a41c365e488389962602d50da27576d314513d0257843e448fe914b752c0b0d3674919114605b159a9bb550779')
+
+prepare() {
+  cd cli-$pkgver
+  mkdir -p node_modules/.bin
+  ln -sf /usr/bin/marked{,-man} node_modules/.bin/
+
+  # Use local marked/marked-man
+  sed -i 's|node bin/npm-cli.js install marked|true |' Makefile
+
+  # Don't build twice
+  sed -i 's/install: all/install:/' Makefile
+
+  mkdir -p man/man1
+}
+
+build() {
+  cd cli-$pkgver
+  NODE_PATH=/usr/lib/node_modules make
+}
+
+package() {
+  cd cli-$pkgver
+  node bin/npm-cli.js install -g -f --prefix="$pkgdir/usr" $(node 
bin/npm-cli.js pack | tail -1)
+
+  # Non-deterministic race in npm gives 777 permissions to random directories.
+  # See https://github.com/npm/npm/issues/9359 for details.
+  chmod -R u=rwX,go=rX "$pkgdir"
+
+  # npm installs package.json owned by build user
+  # https://bugs.archlinux.org/task/63396
+  chown -R root:root "$pkgdir"
+
+  # Experimental dedup
+  _npmdir="$pkgdir"/usr/lib/node_modules/$pkgname
+  rm -r "$_npmdir"/node_modules/{,.bin/}semver
+  rm -r "$_npmdir"/node_modules/{,.bin/}node-gyp
+  rm -r "$_npmdir"/node_modules/{,.bin/}nopt
+  sed -i 
's|../../node_modules/node-gyp/bin/node-gyp.js|../../../node-gyp/bin/node-gyp.js|'
 \
+

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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 04:26:45
  Author: felixonmars
Revision: 982827

upgpkg: npm 7.18.0-1

Modified:
  npm/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 04:23:07 UTC (rev 982826)
+++ PKGBUILD2021-07-22 04:26:45 UTC (rev 982827)
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=npm
-pkgver=7.17.0
+pkgver=7.18.0
 pkgrel=1
 pkgdesc='A package manager for javascript'
 arch=('any')
@@ -14,7 +14,7 @@
 makedepends=('libgl' 'libxi' 'marked' 'marked-man' 'procps-ng' 'python')
 options=('!emptydirs')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/npm/cli/archive/v$pkgver.tar.gz;)
-sha512sums=('01349884845e84b4cf79162624425ed838552b3e0cf248d5f2bad87cadc10c304a3107fdac3a14d60b177a1aa8816227c8b0fbf0e7fde8d27ab391f5ccbe5246')
+sha512sums=('d898423ac708e7679cbda8dd835562841a7042a41c365e488389962602d50da27576d314513d0257843e448fe914b752c0b0d3674919114605b159a9bb550779')
 
 prepare() {
   cd cli-$pkgver



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 04:23:07
  Author: felixonmars
Revision: 982826

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-js-jquery/repos/community-staging-x86_64/
  haskell-js-jquery/repos/community-staging-x86_64/PKGBUILD
(from rev 982825, haskell-js-jquery/trunk/PKGBUILD)

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

Copied: haskell-js-jquery/repos/community-staging-x86_64/PKGBUILD (from rev 
982825, haskell-js-jquery/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 04:23:07 UTC (rev 982826)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=js-jquery
+pkgname=haskell-js-jquery
+pkgver=3.3.1
+pkgrel=669
+pkgdesc="Obtain minified jQuery code"
+url="https://github.com/ndmitchell/js-jquery#readme;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-http')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('359a4342bc5156d5360385a478e235def04db0381cc48f342baac5018e91350dce760adb9b9ada796bc6341d5629f807672f629ee127faefe521801d62bb')
+
+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 haskell-js-jquery/trunk (PKGBUILD)

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 04:22:55
  Author: felixonmars
Revision: 982825

upgpkg: haskell-js-jquery 3.3.1-669: rebuild with unliftio 0.2.19

Modified:
  haskell-js-jquery/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 04:22:09 UTC (rev 982824)
+++ PKGBUILD2021-07-22 04:22:55 UTC (rev 982825)
@@ -4,7 +4,7 @@
 _hkgname=js-jquery
 pkgname=haskell-js-jquery
 pkgver=3.3.1
-pkgrel=668
+pkgrel=669
 pkgdesc="Obtain minified jQuery code"
 url="https://github.com/ndmitchell/js-jquery#readme;
 license=("MIT")



[arch-commits] Commit in haskell-implicit-hie-cradle/repos (2 files)

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 04:22:09
  Author: felixonmars
Revision: 982824

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-implicit-hie-cradle/repos/community-staging-x86_64/
  haskell-implicit-hie-cradle/repos/community-staging-x86_64/PKGBUILD
(from rev 982823, haskell-implicit-hie-cradle/trunk/PKGBUILD)

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

Copied: haskell-implicit-hie-cradle/repos/community-staging-x86_64/PKGBUILD 
(from rev 982823, haskell-implicit-hie-cradle/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 04:22:09 UTC (rev 982824)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=implicit-hie-cradle
+pkgname=haskell-implicit-hie-cradle
+pkgver=0.3.0.5
+pkgrel=4
+pkgdesc="Auto generate hie-bios cradles"
+url="https://github.com/Avi-D-coder/implicit-hie-cradle#readme;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base16-bytestring' 'haskell-extra' 
'haskell-hie-bios'
+ 'haskell-hslogger' 'haskell-implicit-hie' 'haskell-temporary' 
'haskell-unix-compat'
+ 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('692534bce4513e039e8f7fe162f8ceb88ef42ced0f314ba01a4d07e2a2f5bb5be60f64a04674498e45c0766fe801aba7102763704aa857695f770318dc3e')
+
+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 \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_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 -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-implicit-hie-cradle/trunk (PKGBUILD)

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 04:21:56
  Author: felixonmars
Revision: 982823

upgpkg: haskell-implicit-hie-cradle 0.3.0.5-4: rebuild with unliftio 0.2.19

Modified:
  haskell-implicit-hie-cradle/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 04:20:57 UTC (rev 982822)
+++ PKGBUILD2021-07-22 04:21:56 UTC (rev 982823)
@@ -3,7 +3,7 @@
 _hkgname=implicit-hie-cradle
 pkgname=haskell-implicit-hie-cradle
 pkgver=0.3.0.5
-pkgrel=3
+pkgrel=4
 pkgdesc="Auto generate hie-bios cradles"
 url="https://github.com/Avi-D-coder/implicit-hie-cradle#readme;
 license=("BSD")



[arch-commits] Commit in haskell-hie-bios/repos (3 files)

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 04:20:57
  Author: felixonmars
Revision: 982822

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hie-bios/repos/community-staging-x86_64/
  haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD
(from rev 982821, haskell-hie-bios/trunk/PKGBUILD)
  haskell-hie-bios/repos/community-staging-x86_64/ghc9.patch
(from rev 982821, haskell-hie-bios/trunk/ghc9.patch)

+
 PKGBUILD   |   66 +
 ghc9.patch |  761 +++
 2 files changed, 827 insertions(+)

Copied: haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 
982821, haskell-hie-bios/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 04:20:57 UTC (rev 982822)
@@ -0,0 +1,66 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hie-bios
+pkgname=haskell-hie-bios
+pkgver=0.7.5
+pkgrel=38
+pkgdesc="Set up a GHC API session"
+url="https://github.com/mpickering/hie-bios;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 
'haskell-conduit'
+ 'haskell-conduit-extra' 'haskell-cryptohash-sha1' 
'haskell-exceptions' 'haskell-extra'
+ 'haskell-file-embed' 'haskell-ghc-api-compat' 'haskell-hslogger'
+ 'haskell-optparse-applicative' 'haskell-temporary' 
'haskell-unix-compat'
+ 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml')
+makedepends=('ghc' 'uusi' 'haskell-hspec-expectations' 'haskell-tasty' 
'haskell-tasty-expected-failure'
+ 'haskell-tasty-hunit')
+checkdepends=('cabal-install')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;
+ghc9.patch)
+sha512sums=('decc7d47a5b44a041a43779d26a2db07d09754d3d1b40a90ee031f09487237890f9509256638aec9ec29fd92dcd37332c7bf36852586e2589b274eb42d5d9262'
+
'2863a6f77523446c025e28bfff0f1fff82c29a5cb513ea3687c84d18f7bb841cc5ca90d60be6d17f895d6f57a9466dc0217d430e5da5115cbb62d4b7b065717b')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  patch -p1 -i ../ghc9.patch
+
+  # Additional fixes for dynamic ghc
+  sed -i 's/updateWays \.//' src/HIE/Bios/Environment.hs
+  uusi -r tasty-expected-failure:tasty-expected-failure,ghc-api-compat 
$_hkgname.cabal
+
+  # https://github.com/mpickering/hie-bios/issues/290
+  chmod +x tests/projects/*/*.sh
+}
+
+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 \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  cabal update  # Generate cabal config for tests
+  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 -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}

Copied: haskell-hie-bios/repos/community-staging-x86_64/ghc9.patch (from rev 
982821, haskell-hie-bios/trunk/ghc9.patch)
===
--- community-staging-x86_64/ghc9.patch (rev 0)
+++ community-staging-x86_64/ghc9.patch 2021-07-22 04:20:57 UTC (rev 982822)
@@ -0,0 +1,761 @@
+From a2783dc0c55ccbe5647fe87c422c9a65354fc3ef Mon Sep 17 00:00:00 2001
+From: Fendor 
+Date: Sat, 5 Sep 2020 13:50:09 +0200
+Subject: [PATCH 01/10] Make hie-bios compile with GHC-HEAD
+
+---
+ hie-bios.cabal  |   3 +-
+ src/HIE/Bios/Environment.hs |  19 +++---
+ src/HIE/Bios/Ghc/Api.hs |   3 +-
+ src/HIE/Bios/Ghc/Check.hs   |   2 +-
+ src/HIE/Bios/Ghc/Doc.hs |  10 +++-
+ src/HIE/Bios/Ghc/Gap.hs | 113 ++--
+ src/HIE/Bios/Ghc/Load.hs|   6 +-
+ src/HIE/Bios/Ghc/Logger.hs  |  23 +---
+ 8 files changed, 145 insertions(+), 34 deletions(-)
+
+diff --git a/hie-bios.cabal b/hie-bios.cabal
+index 1ee5a8c0..735efe34 100644
+--- a/hie-bios.cabal
 b/hie-bios.cabal
+@@ -156,8 +156,9 @@ Library
+ filepath >= 1.4.1 && < 1.5,
+ time >= 1.8.0 && < 1.12,
+ extra>= 1.6.14 && < 1.8,
++exceptions,
+  

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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 04:20:41
  Author: felixonmars
Revision: 982821

upgpkg: haskell-hie-bios 0.7.5-38: rebuild with unliftio 0.2.19

Modified:
  haskell-hie-bios/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 04:17:10 UTC (rev 982820)
+++ PKGBUILD2021-07-22 04:20:41 UTC (rev 982821)
@@ -3,7 +3,7 @@
 _hkgname=hie-bios
 pkgname=haskell-hie-bios
 pkgver=0.7.5
-pkgrel=37
+pkgrel=38
 pkgdesc="Set up a GHC API session"
 url="https://github.com/mpickering/hie-bios;
 license=("BSD")



[arch-commits] Commit in cabal-install/repos (3 files)

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 04:17:10
  Author: felixonmars
Revision: 982820

archrelease: copy trunk to community-staging-x86_64

Added:
  cabal-install/repos/community-staging-x86_64/
  cabal-install/repos/community-staging-x86_64/PKGBUILD
(from rev 982819, cabal-install/trunk/PKGBUILD)
  
cabal-install/repos/community-staging-x86_64/cabal-install-base16-bytestring1.0.patch
(from rev 982819, 
cabal-install/trunk/cabal-install-base16-bytestring1.0.patch)

--+
 PKGBUILD |   46 +
 cabal-install-base16-bytestring1.0.patch |   78 +
 2 files changed, 124 insertions(+)

Copied: cabal-install/repos/community-staging-x86_64/PKGBUILD (from rev 982819, 
cabal-install/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 04:17:10 UTC (rev 982820)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+# Contributor: Vesa Kaihlavirta 
+# Contributor: Arch Haskell Team 
+
+pkgname=cabal-install
+pkgver=3.4.0.0
+pkgrel=9
+pkgdesc="The command-line interface for Cabal and Hackage."
+url="https://hackage.haskell.org/package/cabal-install;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-async' 'haskell-base16-bytestring' 
'haskell-cryptohash-sha256'
+ 'haskell-echo' 'haskell-edit-distance' 'haskell-hackage-security' 
'haskell-hashable'
+ 'haskell-http' 'haskell-network-uri' 'haskell-random' 
'haskell-regex-base'
+ 'haskell-regex-posix' 'haskell-resolv' 'haskell-tar' 'haskell-zlib' 
'haskell-lukko')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/package/cabal-install-${pkgver}/cabal-install-${pkgver}.tar.gz;
+$pkgname-base16-bytestring1.0.patch)
+sha512sums=('0fd93c86c59e3c626341be3c67e69a1502f1ce1413b4a456cd930d5449cabdaeb033ac5f47673db0e708fc194aadf8ab0aa2904b6b0f195b57907c5b40588323'
+
'966e2f0e3fd1cff3d673cb91f73b2a42049653e39a3025cdbbf86ec8ebfbd49bad278c8d01f521bbe580369bd11baf2aa7f8195e0ae450efd8ae615d13aa2300')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p2 -i ../$pkgname-base16-bytestring1.0.patch
+uusi -u base $pkgname.cabal
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  runhaskell Setup configure -O --prefix=/usr --enable-executable-dynamic 
--disable-library-vanilla \
+--docdir="/usr/share/doc/${pkgname}"
+  runhaskell Setup build $MAKEFLAGS
+}
+
+package() {
+  cd $pkgname-$pkgver
+  runhaskell Setup copy --destdir="${pkgdir}"
+
+  install -Dm644 LICENSE \
+"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+  install -Dm644 bash-completion/cabal \
+"${pkgdir}/usr/share/bash-completion/completions/cabal"
+}

Copied: 
cabal-install/repos/community-staging-x86_64/cabal-install-base16-bytestring1.0.patch
 (from rev 982819, cabal-install/trunk/cabal-install-base16-bytestring1.0.patch)
===
--- community-staging-x86_64/cabal-install-base16-bytestring1.0.patch   
(rev 0)
+++ community-staging-x86_64/cabal-install-base16-bytestring1.0.patch   
2021-07-22 04:17:10 UTC (rev 982820)
@@ -0,0 +1,78 @@
+diff --git a/cabal-install/Distribution/Client/HashValue.hs 
b/cabal-install/Distribution/Client/HashValue.hs
+index 54b8aee9e..11e647c1c 100644
+--- a/cabal-install/Distribution/Client/HashValue.hs
 b/cabal-install/Distribution/Client/HashValue.hs
+@@ -1,3 +1,4 @@
++{-# LANGUAGE CPP  #-}
+ {-# LANGUAGE DeriveDataTypeable #-}
+ {-# LANGUAGE DeriveGeneric  #-}
+ module Distribution.Client.HashValue (
+@@ -72,10 +73,14 @@ hashFromTUF (Sec.Hash hashstr) =
+ --TODO: [code cleanup] either we should get TUF to use raw bytestrings or
+ -- perhaps we should also just use a base16 string as the internal rep.
+ case Base16.decode (BS.pack hashstr) of
++#if MIN_VERSION_base16_bytestring(1,0,0)
++  Right hash -> HashValue hash
++  Left _ -> error "hashFromTUF: cannot decode base16"
++#else
+   (hash, trailing) | not (BS.null hash) && BS.null trailing
+ -> HashValue hash
+   _ -> error "hashFromTUF: cannot decode base16 hash"
+-
++#endif
+ 
+ -- | Truncate a 32 byte SHA256 hash to
+ --
+diff --git a/cabal-install/src/Distribution/Client/HttpUtils.hs 
b/cabal-install/src/Distribution/Client/HttpUtils.hs
+index 9b8a8ecb844..0c334bec44a 100644
+--- a/cabal-install/Distribution/Client/HttpUtils.hs
 b/cabal-install/Distribution/Client/HttpUtils.hs
+@@ -1,4 +1,5 @@
+ {-# LANGUAGE BangPatterns #-}
++{-# LANGUAGE CPP  #-}
+ -
+ -- | Separate module for HTTP actions, using a proxy server if one exists.
+ -
+@@ -182,7 +183,11 @@ downloadURI transport 

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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 04:16:47
  Author: felixonmars
Revision: 982819

upgpkg: cabal-install 3.4.0.0-9: rebuild with unliftio 0.2.19

Modified:
  cabal-install/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 04:13:10 UTC (rev 982818)
+++ PKGBUILD2021-07-22 04:16:47 UTC (rev 982819)
@@ -5,7 +5,7 @@
 
 pkgname=cabal-install
 pkgver=3.4.0.0
-pkgrel=8
+pkgrel=9
 pkgdesc="The command-line interface for Cabal and Hackage."
 url="https://hackage.haskell.org/package/cabal-install;
 license=('BSD')



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 04:13:10
  Author: felixonmars
Revision: 982818

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-http/repos/community-staging-x86_64/PKGBUILD (from rev 982817, 
haskell-http/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 04:13:10 UTC (rev 982818)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=HTTP
+pkgname=haskell-http
+pkgver=4000.3.16
+pkgrel=44
+pkgdesc="A library for client-side HTTP"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'haskell-hunit' 'haskell-httpd-shed' 'haskell-puremd5' 
'haskell-split'
+ 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-case-insensitive'
+ 'haskell-http-types' 'haskell-wai' 'haskell-warp' 
'haskell-conduit'
+ 'haskell-conduit-extra')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('b5136b55967d4db7569a0269b429c8e419878acc548d962af94efa5aa0ddbb8a6ab22bc3096ce3d78b61dc708996c408d4bfa55c6c7fb6c0d915389503cbd755')
+
+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-mtl1 -f-warn-as-error -f-conduit10 -fwarp-tests -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
+}
+
+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-http/trunk (PKGBUILD)

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 04:12:58
  Author: felixonmars
Revision: 982817

upgpkg: haskell-http 4000.3.16-44: rebuild with unliftio 0.2.19

Modified:
  haskell-http/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-22 04:11:24 UTC (rev 982816)
+++ PKGBUILD2021-07-22 04:12:58 UTC (rev 982817)
@@ -4,7 +4,7 @@
 _hkgname=HTTP
 pkgname=haskell-http
 pkgver=4000.3.16
-pkgrel=43
+pkgrel=44
 pkgdesc="A library for client-side HTTP"
 url="https://hackage.haskell.org/package/${_hkgname};
 license=('BSD')



[arch-commits] Commit in haskell-wai-handler-launch/repos (2 files)

2021-07-21 Thread Felix Yan via arch-commits
Date: Thursday, July 22, 2021 @ 04:11:24
  Author: felixonmars
Revision: 982816

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-wai-handler-launch/repos/community-staging-x86_64/
  haskell-wai-handler-launch/repos/community-staging-x86_64/PKGBUILD
(from rev 982815, haskell-wai-handler-launch/trunk/PKGBUILD)

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

Copied: haskell-wai-handler-launch/repos/community-staging-x86_64/PKGBUILD 
(from rev 982815, haskell-wai-handler-launch/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-22 04:11:24 UTC (rev 982816)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=wai-handler-launch
+pkgname=haskell-wai-handler-launch
+pkgver=3.0.3.1
+pkgrel=286
+pkgdesc="Launch a web app in the default browser."
+url="https://github.com/yesodweb/wai;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-wai' 'haskell-warp' 'haskell-http-types' 
'haskell-streaming-commons'
+ 'haskell-async')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('12505691dae45d743f739785cc4a32851e0bca55a7f3513d973de24722704eb5c62a8034f7bcddd8eb756ccf2a2fd9ab92986fec6e56d34d9e7a3fa900355c02')
+
+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
+}



  1   2   3   4   5   6   7   8   9   10   >