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

2021-12-19 Thread NicoHood via arch-commits
Date: Monday, December 20, 2021 @ 07:54:57
  Author: nicohood
Revision: 1079655

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-12-20 07:54:44 UTC (rev 1079654)
+++ PKGBUILD2021-12-20 07:54:57 UTC (rev 1079655)
@@ -1,39 +0,0 @@
-# Maintainer: NicoHood 
-# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161
-# Contributor: Morgenstern 
-
-pkgname=cherrytree
-pkgver=0.99.42
-pkgrel=1
-pkgdesc="Hierarchical note-taking application"
-arch=('x86_64')
-url="https://www.giuspen.com/cherrytree/;
-license=('GPL3')
-depends=('fmt' 'gspell' 'gtksourceviewmm' 'libxml++2.6' 'uchardet')
-makedepends=('cmake' 'python' 'spdlog')
-checkdepends=('xorg-server-xvfb')
-source=("${pkgname}-${pkgver}.tar.xz::https://www.giuspen.com/software/${pkgname}_${pkgver}.tar.xz;
-
"${pkgname}-${pkgver}.tar.xz.asc::https://www.giuspen.com/software/${pkgname}_${pkgver}.tar.xz.asc;)
-sha512sums=('c45d683aa38d6f05c80b1f76569babc92b21d59e742a47624b92b883190baee93ada210ace0809939d0d9e549dbbea2271d3ebb18bc8b348f3a346685d0bfc05'
-'SKIP')
-validpgpkeys=('C7BF38CE0BD442C2369AA984049128A20CE0648D') # Giuseppe Penone 

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

Copied: cherrytree/repos/community-x86_64/PKGBUILD (from rev 1079654, 
cherrytree/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-12-20 07:54:57 UTC (rev 1079655)
@@ -0,0 +1,39 @@
+# Maintainer: NicoHood 
+# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161
+# Contributor: Morgenstern 
+
+pkgname=cherrytree
+pkgver=0.99.44
+pkgrel=1
+pkgdesc="Hierarchical note-taking application"
+arch=('x86_64')
+url="https://www.giuspen.com/cherrytree/;
+license=('GPL3')
+depends=('fmt' 'gspell' 'gtksourceviewmm' 'libxml++2.6' 'uchardet')
+makedepends=('cmake' 'python' 'spdlog')
+checkdepends=('xorg-server-xvfb')
+source=("${pkgname}-${pkgver}.tar.xz::https://www.giuspen.com/software/${pkgname}_${pkgver}.tar.xz;
+
"${pkgname}-${pkgver}.tar.xz.asc::https://www.giuspen.com/software/${pkgname}_${pkgver}.tar.xz.asc;)
+sha512sums=('cc690b7d3324bec48fb569dd205009064777cd256a90facbd5037b989657edd1add5e3e0e00da0d2f9d511366cd1a3bbaf3de7a1a42102779544ad1175a0f996'
+'SKIP')
+validpgpkeys=('C7BF38CE0BD442C2369AA984049128A20CE0648D') # Giuseppe Penone 

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



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

2021-12-19 Thread NicoHood via arch-commits
Date: Monday, December 20, 2021 @ 07:54:44
  Author: nicohood
Revision: 1079654

upgpkg: cherrytree 0.99.44-1

Modified:
  cherrytree/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 07:53:23 UTC (rev 1079653)
+++ PKGBUILD2021-12-20 07:54:44 UTC (rev 1079654)
@@ -3,7 +3,7 @@
 # Contributor: Morgenstern 
 
 pkgname=cherrytree
-pkgver=0.99.42
+pkgver=0.99.44
 pkgrel=1
 pkgdesc="Hierarchical note-taking application"
 arch=('x86_64')
@@ -14,7 +14,7 @@
 checkdepends=('xorg-server-xvfb')
 
source=("${pkgname}-${pkgver}.tar.xz::https://www.giuspen.com/software/${pkgname}_${pkgver}.tar.xz;
 
"${pkgname}-${pkgver}.tar.xz.asc::https://www.giuspen.com/software/${pkgname}_${pkgver}.tar.xz.asc;)
-sha512sums=('c45d683aa38d6f05c80b1f76569babc92b21d59e742a47624b92b883190baee93ada210ace0809939d0d9e549dbbea2271d3ebb18bc8b348f3a346685d0bfc05'
+sha512sums=('cc690b7d3324bec48fb569dd205009064777cd256a90facbd5037b989657edd1add5e3e0e00da0d2f9d511366cd1a3bbaf3de7a1a42102779544ad1175a0f996'
 'SKIP')
 validpgpkeys=('C7BF38CE0BD442C2369AA984049128A20CE0648D') # Giuseppe Penone 

 



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 07:53:23
  Author: felixonmars
Revision: 1079653

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-casa-client/repos/community-staging-x86_64/
  haskell-casa-client/repos/community-staging-x86_64/PKGBUILD
(from rev 1079652, haskell-casa-client/trunk/PKGBUILD)

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

Copied: haskell-casa-client/repos/community-staging-x86_64/PKGBUILD (from rev 
1079652, haskell-casa-client/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 07:53:23 UTC (rev 1079653)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=casa-client
+pkgname=haskell-casa-client
+pkgver=0.0.1
+pkgrel=354
+pkgdesc="Content Addressable Storage Archive client"
+url="https://github.com/fpco/casa;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-base16-bytestring'
+ 'haskell-casa-types' 'haskell-conduit' 'haskell-conduit-extra' 
'haskell-cryptonite'
+ 'haskell-http-conduit' 'haskell-http-types' 'haskell-memory'
+ 'haskell-network-uri' 'haskell-resourcet' 'haskell-th-lift' 
'haskell-unliftio-core'
+ 'haskell-unordered-containers')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2df03a0b1c2e01f2d24728e96fe446a25b630f5495c4e9995bcbde1ee9da530df1c6b40dde954cfaf6de2af6036fa6cfda7d9957b22106316557cc57d64114fa')
+
+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 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-casa-client/trunk (PKGBUILD)

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 07:53:15
  Author: felixonmars
Revision: 1079652

upgpkg: haskell-casa-client 0.0.1-354: rebuild with attoparsec 0.14.2

Modified:
  haskell-casa-client/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 07:52:36 UTC (rev 1079651)
+++ PKGBUILD2021-12-20 07:53:15 UTC (rev 1079652)
@@ -3,7 +3,7 @@
 _hkgname=casa-client
 pkgname=haskell-casa-client
 pkgver=0.0.1
-pkgrel=353
+pkgrel=354
 pkgdesc="Content Addressable Storage Archive client"
 url="https://github.com/fpco/casa;
 license=('MIT')



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 07:52:36
  Author: felixonmars
Revision: 1079651

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-aws/repos/community-staging-x86_64/PKGBUILD (from rev 1079650, 
haskell-aws/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 07:52:36 UTC (rev 1079651)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aws
+pkgname=haskell-aws
+pkgver=0.22
+pkgrel=340
+pkgdesc="Amazon Web Services (AWS) for Haskell"
+url="https://github.com/aristidb/aws;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-base16-bytestring'
+ 'haskell-base64-bytestring' 'haskell-blaze-builder' 'haskell-byteable'
+ 'haskell-case-insensitive' 'haskell-cereal' 'haskell-conduit' 
'haskell-conduit-extra'
+ 'haskell-cryptonite' 'haskell-data-default' 'haskell-http-conduit'
+ 'haskell-http-client-tls' 'haskell-http-types' 'haskell-lifted-base' 
'haskell-memory'
+ 'haskell-monad-control' 'haskell-network' 'haskell-network-bsd' 
'haskell-old-locale'
+ 'haskell-resourcet' 'haskell-safe' 'haskell-scientific' 
'haskell-tagged'
+ 'haskell-unordered-containers' 'haskell-utf8-string' 'haskell-vector' 
'haskell-xml-conduit')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-errors' 
'haskell-http-client'
+ 'haskell-http-client-tls' 'haskell-quickcheck-instances' 
'haskell-tasty'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-transformers-base')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e7ff376c47a7ca7a65c8f10f19e591d4a4b4d2cfa333b4727f88f0b170d7acb0aff402617f2d617c522fe5d16ce92b249a23f1fb0a8bfe5bbefaef2931b786bd')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u attoparsec -u base16-bytestring -u base64-bytestring -u 
http-client $_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=-fllvm \
+-f-examples
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test || echo "Requires AWS credentials to test"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 07:50:27
  Author: felixonmars
Revision: 1079649

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 1079648, haskell-shake/trunk/PKGBUILD)

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

Copied: haskell-shake/repos/community-staging-x86_64/PKGBUILD (from rev 
1079648, haskell-shake/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 07:50:27 UTC (rev 1079649)
@@ -0,0 +1,60 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=shake
+pkgname=haskell-shake
+pkgver=0.19.5
+pkgrel=61
+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 
--ghc-option=-fllvm \
+-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-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 07:50:19
  Author: felixonmars
Revision: 1079648

upgpkg: haskell-shake 0.19.5-61: rebuild with attoparsec 0.14.2

Modified:
  haskell-shake/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 07:42:01 UTC (rev 1079647)
+++ PKGBUILD2021-12-20 07:50:19 UTC (rev 1079648)
@@ -4,7 +4,7 @@
 _hkgname=shake
 pkgname=haskell-shake
 pkgver=0.19.5
-pkgrel=60
+pkgrel=61
 pkgdesc="Build system library, like Make, but more accurate dependencies."
 url="https://shakebuild.com;
 license=("BSD")



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 07:42:01
  Author: felixonmars
Revision: 1079647

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 1079646, haskell-hie-bios/trunk/PKGBUILD)

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

Copied: haskell-hie-bios/repos/community-staging-x86_64/PKGBUILD (from rev 
1079646, haskell-hie-bios/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 07:42:01 UTC (rev 1079647)
@@ -0,0 +1,65 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hie-bios
+pkgname=haskell-hie-bios
+pkgver=0.7.6
+pkgrel=19
+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;)
+sha512sums=('33ffb37f5f39ebd9e4000de298d2645c15426818704f1d806b5f186d0d0d82bfd22df70aed181a9eab9d3b2581055a1e9c0925051fa05d97f38f4c8c7c7d0d14')
+
+prepare() {
+  cd $_hkgname-$pkgver
+
+  # It is broken only in the hackage tarball
+  sed -i 's/FilePah/FilePath/' tests/ParserTests.hs
+
+  # Additional fixes for dynamic ghc
+  sed -i 's/updateWays \.//' src/HIE/Bios/Environment.hs
+
+  # 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=-fllvm \
+--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
+}



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 07:41:53
  Author: felixonmars
Revision: 1079646

upgpkg: haskell-hie-bios 0.7.6-19: rebuild with attoparsec 0.14.2

Modified:
  haskell-hie-bios/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 07:40:07 UTC (rev 1079645)
+++ PKGBUILD2021-12-20 07:41:53 UTC (rev 1079646)
@@ -3,7 +3,7 @@
 _hkgname=hie-bios
 pkgname=haskell-hie-bios
 pkgver=0.7.6
-pkgrel=18
+pkgrel=19
 pkgdesc="Set up a GHC API session"
 url="https://github.com/mpickering/hie-bios;
 license=("BSD")



[arch-commits] Commit in haskell-cabal-install-parsers/repos (2 files)

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 07:40:07
  Author: felixonmars
Revision: 1079645

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-cabal-install-parsers/repos/community-staging-x86_64/
  haskell-cabal-install-parsers/repos/community-staging-x86_64/PKGBUILD
(from rev 1079644, haskell-cabal-install-parsers/trunk/PKGBUILD)

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

Copied: haskell-cabal-install-parsers/repos/community-staging-x86_64/PKGBUILD 
(from rev 1079644, haskell-cabal-install-parsers/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 07:40:07 UTC (rev 1079645)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=cabal-install-parsers
+pkgname=haskell-cabal-install-parsers
+pkgver=0.4.2
+pkgrel=50
+pkgdesc="Utilities to work with cabal-install files"
+url="https://haskell-ci.rtfd.org/;
+license=("GPL" "BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 
'haskell-binary-instances'
+ 'haskell-cryptohash-sha256' 'haskell-lukko' 'haskell-network-uri' 
'haskell-tar')
+makedepends=('ghc' 'uusi' 'haskell-ansi-terminal' 'haskell-tasty' 
'haskell-tasty-golden'
+ 'haskell-tasty-hunit' 'haskell-tree-diff')
+checkdepends=('cabal-install')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('f41dd0fe65994330aca0b372f96e370eeaf5b7f9909682aa7d394244e4144358b70e482b2d4cd54ba78068b202155fb6dacd38b81eadeaa877c6bc5bbf2ba8fb')
+
+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=-fllvm \
+--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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 07:40:00
  Author: felixonmars
Revision: 1079644

upgpkg: haskell-cabal-install-parsers 0.4.2-50: rebuild with attoparsec 0.14.2

Modified:
  haskell-cabal-install-parsers/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 07:38:20 UTC (rev 1079643)
+++ PKGBUILD2021-12-20 07:40:00 UTC (rev 1079644)
@@ -3,7 +3,7 @@
 _hkgname=cabal-install-parsers
 pkgname=haskell-cabal-install-parsers
 pkgver=0.4.2
-pkgrel=49
+pkgrel=50
 pkgdesc="Utilities to work with cabal-install files"
 url="https://haskell-ci.rtfd.org/;
 license=("GPL" "BSD")



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 07:38:20
  Author: felixonmars
Revision: 1079643

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hasql-pool/repos/community-staging-x86_64/
  haskell-hasql-pool/repos/community-staging-x86_64/PKGBUILD
(from rev 1079642, haskell-hasql-pool/trunk/PKGBUILD)

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

Copied: haskell-hasql-pool/repos/community-staging-x86_64/PKGBUILD (from rev 
1079642, haskell-hasql-pool/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 07:38:20 UTC (rev 1079643)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hasql-pool
+pkgname=haskell-hasql-pool
+pkgver=0.5.2
+pkgrel=265
+pkgdesc="A pool of connections for Hasql"
+url="https://github.com/nikita-volkov/hasql-pool;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-prelude' 'haskell-hasql' 
'haskell-resource-pool')
+makedepends=('ghc' 'haskell-hspec')
+checkdepends=('pifpaf' 'postgresql')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('5609f05134a259826e17a7391d3324f1d2b474cd83082e4f67175086da1e481a1a75b336932a97371b32e7427e869498bb87af3f7c6246225698e8ceef1aa372')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/5432/9824/' test/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+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=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+
+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-hasql-pool/trunk (PKGBUILD)

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 07:38:13
  Author: felixonmars
Revision: 1079642

upgpkg: haskell-hasql-pool 0.5.2-265: rebuild with attoparsec 0.14.2

Modified:
  haskell-hasql-pool/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 07:37:32 UTC (rev 1079641)
+++ PKGBUILD2021-12-20 07:38:13 UTC (rev 1079642)
@@ -4,7 +4,7 @@
 _hkgname=hasql-pool
 pkgname=haskell-hasql-pool
 pkgver=0.5.2
-pkgrel=264
+pkgrel=265
 pkgdesc="A pool of connections for Hasql"
 url="https://github.com/nikita-volkov/hasql-pool;
 license=('MIT')



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 07:37:32
  Author: felixonmars
Revision: 1079641

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hasql-transaction/repos/community-staging-x86_64/
  haskell-hasql-transaction/repos/community-staging-x86_64/PKGBUILD
(from rev 1079640, haskell-hasql-transaction/trunk/PKGBUILD)

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

Copied: haskell-hasql-transaction/repos/community-staging-x86_64/PKGBUILD (from 
rev 1079640, haskell-hasql-transaction/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 07:37:32 UTC (rev 1079641)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hasql-transaction
+pkgname=haskell-hasql-transaction
+pkgver=1.0.1
+pkgrel=52
+pkgdesc="A composable abstraction over the retryable transactions for Hasql"
+url="https://github.com/nikita-volkov/hasql-transaction;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-bytestring-tree-builder' 'haskell-contravariant'
+ 'haskell-contravariant-extras' 'haskell-hasql')
+makedepends=('ghc' 'uusi' 'haskell-async' 'haskell-rerebase')
+checkdepends=('postgresql' 'pifpaf')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('92689f9ffd443e9fcce5c024871492774687c98a7b906040af4f175e268f77e9dfa5520e8d95b056bd0ed264a63e5d38d0aa8759ec7e0ba9ebd697262428b8f4')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/5432/9824/' conflicts-test/Main.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 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+
+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-hasql-transaction/trunk (PKGBUILD)

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 07:37:24
  Author: felixonmars
Revision: 1079640

upgpkg: haskell-hasql-transaction 1.0.1-52: rebuild with attoparsec 0.14.2

Modified:
  haskell-hasql-transaction/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 07:36:26 UTC (rev 1079639)
+++ PKGBUILD2021-12-20 07:37:24 UTC (rev 1079640)
@@ -3,7 +3,7 @@
 _hkgname=hasql-transaction
 pkgname=haskell-hasql-transaction
 pkgver=1.0.1
-pkgrel=51
+pkgrel=52
 pkgdesc="A composable abstraction over the retryable transactions for Hasql"
 url="https://github.com/nikita-volkov/hasql-transaction;
 license=('MIT')



[arch-commits] Commit in prometheus/repos/extra-x86_64 (8 files)

2021-12-19 Thread Jelle van der Waa via arch-commits
Date: Monday, December 20, 2021 @ 07:37:05
  Author: jelle
Revision: 432808

archrelease: copy trunk to extra-x86_64

Added:
  prometheus/repos/extra-x86_64/PKGBUILD
(from rev 432807, prometheus/trunk/PKGBUILD)
  prometheus/repos/extra-x86_64/prometheus.conf
(from rev 432807, prometheus/trunk/prometheus.conf)
  prometheus/repos/extra-x86_64/prometheus.service
(from rev 432807, prometheus/trunk/prometheus.service)
  prometheus/repos/extra-x86_64/prometheus.sysusers
(from rev 432807, prometheus/trunk/prometheus.sysusers)
Deleted:
  prometheus/repos/extra-x86_64/PKGBUILD
  prometheus/repos/extra-x86_64/prometheus.conf
  prometheus/repos/extra-x86_64/prometheus.service
  prometheus/repos/extra-x86_64/prometheus.sysusers

-+
 PKGBUILD|  184 +-
 prometheus.conf |2 
 prometheus.service  |   60 
 prometheus.sysusers |2 
 4 files changed, 124 insertions(+), 124 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-12-20 07:36:57 UTC (rev 432807)
+++ PKGBUILD2021-12-20 07:37:05 UTC (rev 432808)
@@ -1,92 +0,0 @@
-# Maintainer: Johannes Löthberg 
-
-pkgname=prometheus
-pkgver=2.32.0
-pkgrel=1
-
-pkgdesc='An open-source systems monitoring and alerting toolkit'
-url='https://prometheus.io'
-arch=('x86_64')
-license=('Apache')
-
-depends=('glibc')
-makedepends=('go' 'git' 'npm' 'nodejs' 'yamllint')
-
-backup=('etc/prometheus/prometheus.yml' 'etc/conf.d/prometheus')
-
-source=("prometheus-v$pkgver.tar.gz::https://github.com/prometheus/prometheus/archive/v$pkgver.tar.gz;
-prometheus.service
-prometheus.sysusers
-prometheus.conf)
-
-sha256sums=('1af3b29a19439d2cb70eeff9589b5ea0ef9b8fa8522be4ad7b4972e5a0794883'
-'f358986865bd3d06dc47a265aeb3b5ef64aa644e831f07731c2fc7af64d9e98f'
-'2747fabb4e56b808361eb7dd7acf9729ab8973d1ebe2f857dd56f6c71f71e45f'
-'6d32deb125381cbebac11b6953a7d9a65eb7e50f209dc1e22c63facf678a3070')
-
-build() {
-  cd prometheus-$pkgver
-
-  LDFLAGS="-extldflags $LDFLAGS \
--X github.com/prometheus/common/version.Version=$pkgver \
--X github.com/prometheus/common/version.Revision=$pkgver \
--X github.com/prometheus/common/version.Branch=tarball \
--X github.com/prometheus/common/version.BuildUser=someone@builder \
--X github.com/prometheus/common/version.BuildDate=$(date -u 
'+%Y%m%d-%H:%M:%S' --date=@${SOURCE_DATE_EPOCH})"
-
-  # The makefile seems to not be able to execute npm properly, so run the make 
assets target manually
-  cd web/ui/module/codemirror-promql
-  npm install
-  npm run build
-
-  cd $srcdir/prometheus-$pkgver/web/ui
-  GOOS= GOARCH= go generate -x -v
-
-  cd $srcdir/prometheus-$pkgver
-  # Build the react app, normally a part of the assets target
-#make web/ui/static/react
-  make ui-install
-  make ui-build
-
-  go build \
--trimpath \
--buildmode=pie \
--mod=readonly \
--modcacherw \
--ldflags "-linkmode external $LDFLAGS" \
-./cmd/prometheus
-  go build \
--trimpath \
--buildmode=pie \
--mod=readonly \
--modcacherw \
--ldflags "-linkmode external $LDFLAGS" \
-./cmd/promtool
-}
-
-check() {
-  cd prometheus-$pkgver
-
-  go test -short ./...
-}
-
-package() {
-  install -Dm644 prometheus.service 
"$pkgdir"/usr/lib/systemd/system/prometheus.service
-  install -Dm644 prometheus.sysusers 
"$pkgdir"/usr/lib/sysusers.d/prometheus.conf
-  install -Dm644 prometheus.conf "${pkgdir}"/etc/conf.d/prometheus
-
-  cd prometheus-$pkgver
-
-  install -Dm755 -t "$pkgdir"/usr/bin prometheus promtool
-  install -Dm640 -g210 -t "$pkgdir"/etc/prometheus 
documentation/examples/prometheus.yml
-  install -dm750 -o210 -g210 "$pkgdir"/var/lib/prometheus
-
-  # Web
-  install -dm755 "$pkgdir"/usr/share/prometheus/web/ui
-  cp -R web/ui/{static,templates} "$pkgdir"/usr/share/prometheus/web/ui/
-
-  # Examples
-  install -Dm644 -t "$pkgdir"/usr/share/doc/prometheus/examples 
documentation/examples/prometheus*.yml
-  cp -R consoles console_libraries "$pkgdir"/usr/share/doc/prometheus/examples
-
-}

Copied: prometheus/repos/extra-x86_64/PKGBUILD (from rev 432807, 
prometheus/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-12-20 07:37:05 UTC (rev 432808)
@@ -0,0 +1,92 @@
+# Maintainer: Johannes Löthberg 
+
+pkgname=prometheus
+pkgver=2.32.1
+pkgrel=1
+
+pkgdesc='An open-source systems monitoring and alerting toolkit'
+url='https://prometheus.io'
+arch=('x86_64')
+license=('Apache')
+
+depends=('glibc')
+makedepends=('go' 'git' 'npm' 'nodejs' 'yamllint')
+
+backup=('etc/prometheus/prometheus.yml' 'etc/conf.d/prometheus')
+
+source=("prometheus-v$pkgver.tar.gz::https://github.com/prometheus/prometheus/archive/v$pkgver.tar.gz;
+prometheus.service
+prometheus.sysusers
+

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

2021-12-19 Thread Jelle van der Waa via arch-commits
Date: Monday, December 20, 2021 @ 07:36:57
  Author: jelle
Revision: 432807

upgpkg: prometheus 2.32.1-1

Modified:
  prometheus/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 02:15:26 UTC (rev 432806)
+++ PKGBUILD2021-12-20 07:36:57 UTC (rev 432807)
@@ -1,7 +1,7 @@
 # Maintainer: Johannes Löthberg 
 
 pkgname=prometheus
-pkgver=2.32.0
+pkgver=2.32.1
 pkgrel=1
 
 pkgdesc='An open-source systems monitoring and alerting toolkit'
@@ -19,7 +19,7 @@
 prometheus.sysusers
 prometheus.conf)
 
-sha256sums=('1af3b29a19439d2cb70eeff9589b5ea0ef9b8fa8522be4ad7b4972e5a0794883'
+sha256sums=('36665c49bd122f76560b89500c44aae5126edd53c8b57ae126af5e1dfd262ee0'
 'f358986865bd3d06dc47a265aeb3b5ef64aa644e831f07731c2fc7af64d9e98f'
 '2747fabb4e56b808361eb7dd7acf9729ab8973d1ebe2f857dd56f6c71f71e45f'
 '6d32deb125381cbebac11b6953a7d9a65eb7e50f209dc1e22c63facf678a3070')



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 07:36:26
  Author: felixonmars
Revision: 1079639

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hasql-implicits/repos/community-staging-x86_64/
  haskell-hasql-implicits/repos/community-staging-x86_64/PKGBUILD
(from rev 1079638, haskell-hasql-implicits/trunk/PKGBUILD)

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

Copied: haskell-hasql-implicits/repos/community-staging-x86_64/PKGBUILD (from 
rev 1079638, haskell-hasql-implicits/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 07:36:26 UTC (rev 1079639)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hasql-implicits
+pkgname=haskell-hasql-implicits
+pkgver=0.1.0.2
+pkgrel=34
+pkgdesc="Implicit definitions for Hasql, such as default codecs for standard 
types"
+url="https://github.com/nikita-volkov/hasql-implicits;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-hasql' 'haskell-network-ip' 
'haskell-scientific'
+ 'haskell-uuid' 'haskell-vector')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('2788d365dd9d0c4826562472b577ac3715043f3a722ef7c21aaed754f122e74d')
+
+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=-fllvm \
+--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-hasql-implicits/trunk (PKGBUILD)

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 07:36:15
  Author: felixonmars
Revision: 1079638

upgpkg: haskell-hasql-implicits 0.1.0.2-34: rebuild with attoparsec 0.14.2

Modified:
  haskell-hasql-implicits/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 07:34:25 UTC (rev 1079637)
+++ PKGBUILD2021-12-20 07:36:15 UTC (rev 1079638)
@@ -3,7 +3,7 @@
 _hkgname=hasql-implicits
 pkgname=haskell-hasql-implicits
 pkgver=0.1.0.2
-pkgrel=33
+pkgrel=34
 pkgdesc="Implicit definitions for Hasql, such as default codecs for standard 
types"
 url="https://github.com/nikita-volkov/hasql-implicits;
 license=("MIT")



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 07:34:25
  Author: felixonmars
Revision: 1079637

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: dhall-lsp-server/repos/community-staging-x86_64/PKGBUILD (from rev 
1079636, dhall-lsp-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 07:34:25 UTC (rev 1079637)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+pkgname=dhall-lsp-server
+pkgver=1.0.16
+pkgrel=50
+pkgdesc="Language Server Protocol (LSP) server for Dhall"
+url="https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-lsp-server#readme;
+license=("custom:MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 
'haskell-data-default' 'dhall'
+ 'dhall-json' 'haskell-lsp0' 'haskell-hslogger' 'haskell-lens' 
'haskell-lens-family-core'
+ 'haskell-megaparsec' 'haskell-network-uri' 
'haskell-optparse-applicative'
+ 'haskell-prettyprinter' 'haskell-rope-utf16-splay' 
'haskell-unordered-containers'
+ 'haskell-uri-encode')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-doctest' 
'haskell-hspec' 'haskell-lsp0-types'
+ 'haskell-lsp0-test' 'haskell-tasty' 'haskell-tasty-hspec')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha512sums=('caca7b4aaf39f4433a742357a599753c1659ec59c1ace4d57e55c08b9c5b4d64ec53c980d13a22454afdf3595a99643db8de80cf7efbf7fa212d62219bb888e6')
+
+prepare() {
+  cd $pkgname-$pkgver
+  uusi -u megaparsec $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 --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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
+  LD_LIBRARY_PATH="$PWD/dist/build" 
PATH="$PWD/dist/build/dhall-lsp-server:$PATH" 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-lsp-server/trunk (PKGBUILD)

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 07:34:18
  Author: felixonmars
Revision: 1079636

upgpkg: dhall-lsp-server 1.0.16-50: rebuild with attoparsec 0.14.2

Modified:
  dhall-lsp-server/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 07:33:00 UTC (rev 1079635)
+++ PKGBUILD2021-12-20 07:34:18 UTC (rev 1079636)
@@ -2,7 +2,7 @@
 
 pkgname=dhall-lsp-server
 pkgver=1.0.16
-pkgrel=49
+pkgrel=50
 pkgdesc="Language Server Protocol (LSP) server for Dhall"
 
url="https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-lsp-server#readme;
 license=("custom:MIT")



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 07:33:00
  Author: felixonmars
Revision: 1079635

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: dhall-yaml/repos/community-staging-x86_64/PKGBUILD (from rev 1079634, 
dhall-yaml/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 07:33:00 UTC (rev 1079635)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+
+pkgname=dhall-yaml
+pkgver=1.2.8
+pkgrel=49
+pkgdesc="Convert between Dhall and YAML"
+url="https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-yaml;
+license=("GPL3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hsyaml' 'haskell-hsyaml-aeson' 'haskell-aeson' 
'haskell-ansi-terminal'
+ 'dhall' 'dhall-json' 'haskell-optparse-applicative' 
'haskell-prettyprinter'
+ 'haskell-prettyprinter-ansi-terminal' 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-tasty' 'haskell-tasty-expected-failure' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha512sums=('1564a6372e2640ce6bf39ed715d1855c99b1a5fb72636e4135840c4a7d6ed38c52a382e927c75609d158db766392c1c11b0939d259610cf23ad910aa819dfd7a')
+
+prepare() {
+  cd $pkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 07:32:53
  Author: felixonmars
Revision: 1079634

upgpkg: dhall-yaml 1.2.8-49: rebuild with attoparsec 0.14.2

Modified:
  dhall-yaml/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 07:32:00 UTC (rev 1079633)
+++ PKGBUILD2021-12-20 07:32:53 UTC (rev 1079634)
@@ -2,7 +2,7 @@
 
 pkgname=dhall-yaml
 pkgver=1.2.8
-pkgrel=48
+pkgrel=49
 pkgdesc="Convert between Dhall and YAML"
 url="https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-yaml;
 license=("GPL3")



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 07:32:00
  Author: felixonmars
Revision: 1079633

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-yesod-persistent/repos/community-staging-x86_64/
  haskell-yesod-persistent/repos/community-staging-x86_64/PKGBUILD
(from rev 1079632, haskell-yesod-persistent/trunk/PKGBUILD)

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

Copied: haskell-yesod-persistent/repos/community-staging-x86_64/PKGBUILD (from 
rev 1079632, haskell-yesod-persistent/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 07:32:00 UTC (rev 1079633)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod-persistent
+pkgname=haskell-yesod-persistent
+pkgver=1.6.0.7
+pkgrel=95
+pkgdesc="Some helpers for using Persistent from Yesod."
+url="http://www.yesodweb.com/;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-blaze-builder" "haskell-conduit" 
"haskell-persistent"
+ "haskell-resource-pool" "haskell-resourcet" "haskell-yesod-core")
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-wai-extra' 
'haskell-persistent-sqlite')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9312189947a6ba97bec12c057535a54bb024847ee0f08ba50473a78327f7ca25083738f0742c0847d0b329ef0e764412c85ac32aab4ebde2851a29e60e82d337')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d persistent-template $_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=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-yesod-persistent/trunk (PKGBUILD)

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 07:31:52
  Author: felixonmars
Revision: 1079632

upgpkg: haskell-yesod-persistent 1.6.0.7-95: rebuild with attoparsec 0.14.2

Modified:
  haskell-yesod-persistent/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 07:31:03 UTC (rev 1079631)
+++ PKGBUILD2021-12-20 07:31:52 UTC (rev 1079632)
@@ -4,7 +4,7 @@
 _hkgname=yesod-persistent
 pkgname=haskell-yesod-persistent
 pkgver=1.6.0.7
-pkgrel=94
+pkgrel=95
 pkgdesc="Some helpers for using Persistent from Yesod."
 url="http://www.yesodweb.com/;
 license=("MIT")



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 07:31:03
  Author: felixonmars
Revision: 1079631

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-persistent-qq/repos/community-staging-x86_64/PKGBUILD (from rev 
1079630, haskell-persistent-qq/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 07:31:03 UTC (rev 1079631)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+
+_hkgname=persistent-qq
+pkgname=haskell-persistent-qq
+pkgver=2.12.0.1
+pkgrel=72
+pkgdesc="Provides a quasi-quoter for raw SQL for persistent"
+url="https://github.com/yesod-web/persistent;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-src-meta' 'haskell-persistent')
+makedepends=('ghc' 'haskell-aeson' 'haskell-fast-logger' 'haskell-hspec' 
'haskell-hunit'
+ 'haskell-monad-logger' 'haskell-persistent-sqlite' 
'haskell-resourcet'
+ 'haskell-unliftio')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('14a06fd7b2b773a80f0963658bdc74f17755579ddee45f7875208ad4046d7cdee096cbf2fdba41b34baa43bc6fecb901cfdbd65c12845a9381844bf14afd6df6')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-persistent-qq/trunk (PKGBUILD)

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 07:30:56
  Author: felixonmars
Revision: 1079630

upgpkg: haskell-persistent-qq 2.12.0.1-72: rebuild with attoparsec 0.14.2

Modified:
  haskell-persistent-qq/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 07:29:25 UTC (rev 1079629)
+++ PKGBUILD2021-12-20 07:30:56 UTC (rev 1079630)
@@ -3,7 +3,7 @@
 _hkgname=persistent-qq
 pkgname=haskell-persistent-qq
 pkgver=2.12.0.1
-pkgrel=71
+pkgrel=72
 pkgdesc="Provides a quasi-quoter for raw SQL for persistent"
 url="https://github.com/yesod-web/persistent;
 license=('MIT')



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 07:29:25
  Author: felixonmars
Revision: 1079629

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-lsp/repos/community-staging-x86_64/PKGBUILD (from rev 1079628, 
haskell-lsp/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 07:29:25 UTC (rev 1079629)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=lsp
+pkgname=haskell-lsp
+pkgver=1.2.0.1
+pkgrel=18
+pkgdesc="Haskell library for the Microsoft Language Server Protocol"
+url="https://github.com/haskell/lsp;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-async' 'haskell-attoparsec' 
'haskell-data-default'
+ 'haskell-dependent-map' 'haskell-exceptions' 'haskell-hashable' 
'haskell-hslogger'
+ 'haskell-lens' 'haskell-lsp-types' 'haskell-network-uri' 
'haskell-random'
+ 'haskell-scientific' 'haskell-sorted-list' 'haskell-unliftio-core'
+ 'haskell-unordered-containers' 'haskell-uuid' 'haskell-unliftio')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-discover'
+ 'haskell-quickcheck-instances' 'haskell-rope-utf16-splay')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('77c79d06cec9bf5fab707c9c1907ca8428ba15f763cad16c5a4b18fb4ee80a1b04770c2b9579d0f4ba31b16f71c2296501c2bd2d3da2475974b42e3c7daf3838')
+
+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=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' \
+-fdemo
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --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-lsp/trunk (PKGBUILD)

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 07:29:18
  Author: felixonmars
Revision: 1079628

upgpkg: haskell-lsp 1.2.0.1-18: rebuild with attoparsec 0.14.2

Modified:
  haskell-lsp/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 07:27:13 UTC (rev 1079627)
+++ PKGBUILD2021-12-20 07:29:18 UTC (rev 1079628)
@@ -3,7 +3,7 @@
 _hkgname=lsp
 pkgname=haskell-lsp
 pkgver=1.2.0.1
-pkgrel=17
+pkgrel=18
 pkgdesc="Haskell library for the Microsoft Language Server Protocol"
 url="https://github.com/haskell/lsp;
 license=("MIT")



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 07:27:13
  Author: felixonmars
Revision: 1079627

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: pandoc/repos/community-staging-x86_64/PKGBUILD (from rev 1079626, 
pandoc/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 07:27:13 UTC (rev 1079627)
@@ -0,0 +1,68 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=pandoc
+pkgver=2.14.1
+pkgrel=73
+pkgdesc='Conversion between markup formats'
+url='https://pandoc.org'
+license=('GPL')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-http' 'haskell-juicypixels' 'haskell-sha' 
'haskell-aeson'
+ 'haskell-aeson-pretty' 'haskell-attoparsec' 
'haskell-base64-bytestring'
+ 'haskell-blaze-html' 'haskell-blaze-markup' 'haskell-case-insensitive'
+ 'haskell-citeproc' 'haskell-commonmark' 
'haskell-commonmark-extensions'
+ 'haskell-commonmark-pandoc' 'haskell-connection' 
'haskell-data-default'
+ 'haskell-doclayout' 'haskell-doctemplates' 'haskell-emojis' 
'haskell-file-embed'
+ 'haskell-glob' 'haskell-haddock-library' 'haskell-ipynb' 
'haskell-jira-wiki-markup'
+ 'haskell-skylighting' 'haskell-skylighting-core' 'haskell-hslua'
+ 'haskell-hslua-module-path' 'haskell-hslua-module-system' 
'haskell-hslua-module-text'
+ 'haskell-http-client' 'haskell-syb' 'haskell-hsyaml' 
'haskell-http-client-tls'
+ 'haskell-http-types' 'haskell-safe' 'haskell-split' 'haskell-texmath' 
'haskell-network'
+ 'haskell-pandoc-types' 'haskell-random' 'haskell-scientific' 
'haskell-tagsoup'
+ 'haskell-temporary' 'haskell-text-conversions' 'haskell-network-uri'
+ 'haskell-unicode-collation' 'haskell-unicode-transforms' 
'haskell-unordered-containers'
+ 'haskell-zip-archive' 'haskell-xml' 'haskell-xml-conduit' 
'haskell-zlib')
+optdepends=('pandoc-crossref: for numbering figures, equations, tables and 
cross-references to them with pandoc-crossref filter'
+'texlive-core: for pdf output')
+conflicts=('haskell-pandoc')
+replaces=('haskell-pandoc')
+makedepends=('ghc' 'uusi' 'haskell-diff' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-lua'
+ 'haskell-tasty-quickcheck' 'haskell-tasty-golden' 
'haskell-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('5946d1beca186ca6ab3a75ee9d598527c5fe7f220f9b7e741a172e8bba438d2c417d5e712a06e40de3ac945db1b15904d00f9cdf34b24904d721a3c4eb4ab0f3')
+
+prepare() {
+cd $pkgname-$pkgver
+
+# TODO: find a better solution
+sed -i "s|let env' = dynlibEnv ++ |let env' = dynlibEnv ++ 
[(\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ |" test/Tests/Command.hs
+}
+
+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 
--ghc-option=-fllvm \
+-f-trypandoc -f-embed_data_files -f-static
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --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
+LC_CTYPE=en_US.UTF-8 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}"
+rm "${pkgdir}/usr/share/doc/${pkgname}/COPYING.md"
+install -Dm644 man/pandoc.1 -t "${pkgdir}"/usr/share/man/man1/
+}



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 07:27:04
  Author: felixonmars
Revision: 1079626

upgpkg: pandoc 2.14.1-73: rebuild with attoparsec 0.14.2

Modified:
  pandoc/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 07:14:37 UTC (rev 1079625)
+++ PKGBUILD2021-12-20 07:27:04 UTC (rev 1079626)
@@ -3,7 +3,7 @@
 
 pkgname=pandoc
 pkgver=2.14.1
-pkgrel=72
+pkgrel=73
 pkgdesc='Conversion between markup formats'
 url='https://pandoc.org'
 license=('GPL')



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 07:14:37
  Author: felixonmars
Revision: 1079625

archrelease: copy trunk to community-staging-x86_64

Added:
  hledger-ui/repos/community-staging-x86_64/
  hledger-ui/repos/community-staging-x86_64/PKGBUILD
(from rev 1079624, hledger-ui/trunk/PKGBUILD)

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

Copied: hledger-ui/repos/community-staging-x86_64/PKGBUILD (from rev 1079624, 
hledger-ui/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 07:14:37 UTC (rev 1079625)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hledger-ui
+pkgver=1.22.2
+pkgrel=53
+pkgdesc="Curses-style terminal interface for the hledger accounting system"
+url="http://hledger.org;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'hledger' 'haskell-hledger-lib' 'haskell-ansi-terminal' 
'haskell-async'
+ 'haskell-base-compat-batteries' 'haskell-cmdargs' 
'haskell-data-default' 'haskell-extra'
+ 'haskell-fsnotify' 'haskell-microlens' 'haskell-microlens-platform' 
'haskell-megaparsec'
+ 'haskell-safe' 'haskell-split' 'haskell-text-zipper'
+ 'haskell-vector' 'haskell-brick' 'haskell-vty')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('53ca171ed87eae4a3a244fe1e8858f6c24e41d8740232375022ccb78b9fffe797aff43cd783d7a994d98fd3705c4d84f8f5a32857ff4f0d69aad5a84ee97b357')
+
+prepare() {
+cd $pkgname-$pkgver
+uusi -u megaparsec $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+runhaskell Setup configure -O --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/$pkgname" 
--datasubdir="$pkgname" \
+-fthreaded
+runhaskell Setup build $MAKEFLAGS
+}
+
+package() {
+cd $pkgname-$pkgver
+runhaskell Setup copy --destdir="$pkgdir"
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+
+install -Dm644 hledger-ui.1 -t "$pkgdir"/usr/share/man/man1/
+}



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 07:14:29
  Author: felixonmars
Revision: 1079624

upgpkg: hledger-ui 1.22.2-53: rebuild with attoparsec 0.14.2

Modified:
  hledger-ui/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 07:13:29 UTC (rev 1079623)
+++ PKGBUILD2021-12-20 07:14:29 UTC (rev 1079624)
@@ -3,7 +3,7 @@
 
 pkgname=hledger-ui
 pkgver=1.22.2
-pkgrel=52
+pkgrel=53
 pkgdesc="Curses-style terminal interface for the hledger accounting system"
 url="http://hledger.org;
 license=("GPL")



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 07:13:29
  Author: felixonmars
Revision: 1079623

archrelease: copy trunk to community-staging-x86_64

Added:
  idris/repos/community-staging-x86_64/
  idris/repos/community-staging-x86_64/PKGBUILD
(from rev 1079622, idris/trunk/PKGBUILD)

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

Copied: idris/repos/community-staging-x86_64/PKGBUILD (from rev 1079622, 
idris/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 07:13:29 UTC (rev 1079623)
@@ -0,0 +1,63 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=idris
+pkgver=1.3.3
+pkgrel=293
+pkgdesc="Functional Programming Language with Dependent Types"
+url="https://www.idris-lang.org/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-annotated-wl-pprint' 
'haskell-ansi-terminal'
+ 'haskell-ansi-wl-pprint' 'haskell-async' 'haskell-base64-bytestring' 
'haskell-blaze-html'
+ 'haskell-blaze-markup' 'haskell-cheapskate' 'haskell-code-page' 
'haskell-fingertree'
+ 'haskell-fsnotify' 'haskell-ieee754' 'haskell-libffi' 
'haskell-megaparsec'
+ 'haskell-network' 'haskell-optparse-applicative' 
'haskell-parser-combinators'
+ 'haskell-regex-tdfa' 'haskell-safe' 'haskell-split' 
'haskell-terminal-size'
+ 'haskell-uniplate' 'haskell-unordered-containers' 
'haskell-utf8-string' 'haskell-vector'
+ 'haskell-vector-binary-instances' 'haskell-zip-archive')
+makedepends=('ghc' 'uusi' 'haskell-tagged' 'haskell-tasty' 
'haskell-tasty-golden' 'haskell-tasty-rerun'
+ 'nodejs')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/idris-lang/Idris-dev/archive/v$pkgver.tar.gz;
+
idris-haskeline-0.8.patch::https://github.com/idris-lang/Idris-dev/pull/4871.patch)
+sha512sums=('fc5c65847c8021ed691c7968043a04fcffaed3a44a6339f611fed616fddefa1b5bc2da8e7e6662dfa552981688a1c96571eadc197e4e50ba060de3c6ddbd03de'
+
'4400ea44d61ab5080926fb88c3a9195dda6dfcefb794a335ca00dcdbc9df8a1e6cb2a9b5ed1c906c34fedea8019281b395f030a6267708be68676c8cc6e5b6fa')
+
+prepare() {
+cd Idris-dev-$pkgver
+patch -p1 -i ../idris-haskeline-0.8.patch
+sed -i '1ioverride IDRIS := env LD_PRELOAD=$(shell ls 
../../dist/build/libHSidris-*-ghc*.so) $(IDRIS)' \
+libs/*/Makefile
+sed -i 's/Just sline/sline/' src/Idris/Parser/Stack.hs
+uusi idris.cabal
+}
+
+build() {
+cd Idris-dev-$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=-fllvm \
+-fFFI -fGMP -f-release -f-freestanding -f-CI -f-execonly 
--ghc-option='-pie'
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --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 Idris-dev-$pkgver
+# TODO: figure out the tests
+PATH="$PWD/dist/build:$PWD/dist/build/idris:$PATH" 
LD_LIBRARY_PATH="$PWD/dist/build" IDRIS_LIBRARY_PATH="$PWD/libs" runhaskell 
Setup test || echo "Tests failed"
+}
+
+package() {
+cd Idris-dev-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/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 idris/trunk (PKGBUILD)

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 07:13:21
  Author: felixonmars
Revision: 1079622

upgpkg: idris 1.3.3-293: rebuild with attoparsec 0.14.2

Modified:
  idris/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 06:57:00 UTC (rev 1079621)
+++ PKGBUILD2021-12-20 07:13:21 UTC (rev 1079622)
@@ -3,7 +3,7 @@
 
 pkgname=idris
 pkgver=1.3.3
-pkgrel=292
+pkgrel=293
 pkgdesc="Functional Programming Language with Dependent Types"
 url="https://www.idris-lang.org/;
 license=("BSD")



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:57:00
  Author: felixonmars
Revision: 1079621

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-scotty/repos/community-staging-x86_64/PKGBUILD (from rev 
1079620, haskell-scotty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 06:57:00 UTC (rev 1079621)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=scotty
+pkgname=haskell-scotty
+pkgver=0.12
+pkgrel=203
+pkgdesc="Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp"
+url="https://github.com/scotty-web/scotty;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat-batteries' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-data-default-class' 
'haskell-http-types'
+ 'haskell-monad-control' 'haskell-network' 'haskell-regex-compat'
+ 'haskell-transformers-base' 'haskell-transformers-compat' 
'haskell-wai' 'haskell-wai-extra'
+ 'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-discover' 'haskell-hspec-wai'
+ 'haskell-lifted-base')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('e1d77ee05eaa4b1871566b33683da9ab15dda8f7c42875701d62caf7db7defd2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i '/nats/d;/fail/d' $_hkgname.cabal
+  uusi $_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=-fllvm \
+--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-scotty/trunk (PKGBUILD)

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:56:53
  Author: felixonmars
Revision: 1079620

upgpkg: haskell-scotty 0.12-203: rebuild with attoparsec 0.14.2

Modified:
  haskell-scotty/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 06:55:55 UTC (rev 1079619)
+++ PKGBUILD2021-12-20 06:56:53 UTC (rev 1079620)
@@ -3,7 +3,7 @@
 _hkgname=scotty
 pkgname=haskell-scotty
 pkgver=0.12
-pkgrel=202
+pkgrel=203
 pkgdesc="Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp"
 url="https://github.com/scotty-web/scotty;
 license=("BSD")



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:55:55
  Author: felixonmars
Revision: 1079619

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 1079618, 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 1079618, haskell-hspec-wai-json/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 06:55:55 UTC (rev 1079619)
@@ -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=199
+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 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:55:47
  Author: felixonmars
Revision: 1079618

upgpkg: haskell-hspec-wai-json 0.11.0-199: rebuild with attoparsec 0.14.2

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

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 06:55:07 UTC (rev 1079617)
+++ PKGBUILD2021-12-20 06:55:47 UTC (rev 1079618)
@@ -4,7 +4,7 @@
 _hkgname=hspec-wai-json
 pkgname=haskell-hspec-wai-json
 pkgver=0.11.0
-pkgrel=198
+pkgrel=199
 pkgdesc="Testing JSON APIs with hspec-wai"
 url="https://github.com/hspec/hspec-wai;
 license=("MIT")



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:55:07
  Author: felixonmars
Revision: 1079617

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-servant-server/repos/community-staging-x86_64/PKGBUILD (from 
rev 1079616, haskell-servant-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 06:55:07 UTC (rev 1079617)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=servant-server
+pkgname=haskell-servant-server
+pkgver=0.18.3
+pkgrel=59
+pkgdesc="A family of combinators for defining webservices APIs and serving 
them"
+url="https://haskell-servant.readthedocs.org/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-aeson' 
'haskell-base64-bytestring'
+ 'haskell-http-api-data' 'haskell-http-media' 'haskell-http-types'
+ 'haskell-network-uri' 'haskell-monad-control' 'haskell-network' 
'haskell-servant'
+ 'haskell-sop-core' 'haskell-string-conversions' 'haskell-resourcet' 
'haskell-tagged'
+ 'haskell-transformers-base' 'haskell-wai' 'haskell-wai-app-static' 
'haskell-warp'
+ 'haskell-word8')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-wai' 
'haskell-should-not-typecheck'
+ 'haskell-quickcheck' 'haskell-safe' 'haskell-wai-extra' 
'haskell-temporary'
+ 'haskell-transformers-compat')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('c89a676de870cba67b86e818a87f144a316294d6ef786bdcc20017da48089cf0c25fc434ed0b42e81053fae4ad1ac0628443e4d0afb7f17fa53a1b5516272d28')
+
+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=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-servant-server/trunk (PKGBUILD)

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:54:59
  Author: felixonmars
Revision: 1079616

upgpkg: haskell-servant-server 0.18.3-59: rebuild with attoparsec 0.14.2

Modified:
  haskell-servant-server/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 06:53:26 UTC (rev 1079615)
+++ PKGBUILD2021-12-20 06:54:59 UTC (rev 1079616)
@@ -4,7 +4,7 @@
 _hkgname=servant-server
 pkgname=haskell-servant-server
 pkgver=0.18.3
-pkgrel=58
+pkgrel=59
 pkgdesc="A family of combinators for defining webservices APIs and serving 
them"
 url="https://haskell-servant.readthedocs.org/;
 license=("BSD")



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:53:26
  Author: felixonmars
Revision: 1079615

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-http-conduit/repos/community-staging-x86_64/PKGBUILD (from rev 
1079614, haskell-http-conduit/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 06:53:26 UTC (rev 1079615)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=http-conduit
+pkgname=haskell-http-conduit
+pkgver=2.3.8
+pkgrel=104
+pkgdesc="HTTP client package with conduit interface and HTTPS support"
+url="https://www.yesodweb.com/book/http-conduit;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 'haskell-conduit' 
'haskell-conduit-extra'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-resourcet'
+ 'haskell-unliftio-core')
+makedepends=('ghc' 'haskell-blaze-builder' 'haskell-case-insensitive' 
'haskell-connection'
+ 'haskell-cookie' 'haskell-data-default-class' 'haskell-hunit' 
'haskell-hspec'
+ 'haskell-lifted-base' 'haskell-network' 
'haskell-streaming-commons' 'haskell-temporary'
+ 'haskell-unliftio' 'haskell-utf8-string' 'haskell-wai' 
'haskell-wai-conduit'
+ 'haskell-warp' 'haskell-warp-tls')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('44c337f1a0a0ec74a5d6e4e28a3aa5a32609c3a4da9424e99aedc2a8db67fc4684ef10cf82d6bda0761c7ffba4f0222e683946ab6dd8de1ab8225a40cc14cf66')
+
+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=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-http-conduit/trunk (PKGBUILD)

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:53:19
  Author: felixonmars
Revision: 1079614

upgpkg: haskell-http-conduit 2.3.8-104: rebuild with attoparsec 0.14.2

Modified:
  haskell-http-conduit/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 06:52:17 UTC (rev 1079613)
+++ PKGBUILD2021-12-20 06:53:19 UTC (rev 1079614)
@@ -4,7 +4,7 @@
 _hkgname=http-conduit
 pkgname=haskell-http-conduit
 pkgver=2.3.8
-pkgrel=103
+pkgrel=104
 pkgdesc="HTTP client package with conduit interface and HTTPS support"
 url="https://www.yesodweb.com/book/http-conduit;
 license=("BSD")



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:52:17
  Author: felixonmars
Revision: 1079613

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 1079612, haskell-js-jquery/trunk/PKGBUILD)

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

Copied: haskell-js-jquery/repos/community-staging-x86_64/PKGBUILD (from rev 
1079612, haskell-js-jquery/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 06:52:17 UTC (rev 1079613)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=js-jquery
+pkgname=haskell-js-jquery
+pkgver=3.3.1
+pkgrel=720
+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 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:52:10
  Author: felixonmars
Revision: 1079612

upgpkg: haskell-js-jquery 3.3.1-720: rebuild with attoparsec 0.14.2

Modified:
  haskell-js-jquery/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 06:51:37 UTC (rev 1079611)
+++ PKGBUILD2021-12-20 06:52:10 UTC (rev 1079612)
@@ -4,7 +4,7 @@
 _hkgname=js-jquery
 pkgname=haskell-js-jquery
 pkgver=3.3.1
-pkgrel=719
+pkgrel=720
 pkgdesc="Obtain minified jQuery code"
 url="https://github.com/ndmitchell/js-jquery#readme;
 license=("MIT")



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:51:37
  Author: felixonmars
Revision: 1079611

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 1079610, cabal-install/trunk/PKGBUILD)
  
cabal-install/repos/community-staging-x86_64/cabal-install-base16-bytestring1.0.patch
(from rev 1079610, 
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 
1079610, cabal-install/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 06:51:37 UTC (rev 1079611)
@@ -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=62
+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 1079610, 
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-12-20 06:51:37 UTC (rev 1079611)
@@ -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 

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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:51:28
  Author: felixonmars
Revision: 1079610

upgpkg: cabal-install 3.4.0.0-62: rebuild with attoparsec 0.14.2

Modified:
  cabal-install/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 06:49:47 UTC (rev 1079609)
+++ PKGBUILD2021-12-20 06:51:28 UTC (rev 1079610)
@@ -5,7 +5,7 @@
 
 pkgname=cabal-install
 pkgver=3.4.0.0
-pkgrel=61
+pkgrel=62
 pkgdesc="The command-line interface for Cabal and Hackage."
 url="https://hackage.haskell.org/package/cabal-install;
 license=('BSD')



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:49:47
  Author: felixonmars
Revision: 1079609

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hasql/repos/community-staging-x86_64/PKGBUILD (from rev 
1079608, haskell-hasql/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 06:49:47 UTC (rev 1079609)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hasql
+pkgname=haskell-hasql
+pkgver=1.4.5.3
+pkgrel=14
+pkgdesc="An efficient PostgreSQL driver and a flexible mapping API"
+url="https://github.com/nikita-volkov/hasql;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-bytestring-strict-builder' 
'haskell-contravariant'
+ 'haskell-dlist' 'haskell-hashable' 'haskell-hashtables' 
'haskell-postgresql-binary'
+ 'haskell-postgresql-libpq' 'haskell-profunctors' 
'haskell-text-builder' 'haskell-vector')
+makedepends=('ghc' 'haskell-contravariant-extras' 'haskell-tasty' 
'haskell-tasty-quickcheck'
+ 'haskell-tasty-hunit' 'haskell-quickcheck-instances' 
'haskell-quickcheck'
+ 'haskell-rerebase')
+checkdepends=('postgresql' 'pifpaf')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0f5bc7a122a521716ae393a3779b85815e9afe73462294c121be3c430cffd0acef8b566958d60d74e188bec5ac05980e95970d650b96f057440a29fcf9dcf0e1')
+
+prepare() {
+cd $_hkgname-$pkgver
+
+# Do not use default postgres port
+sed -i 's/5432/9824/' tasty/Main/*.hs threads-test/*.hs profiling/*.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 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+
+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-hasql/trunk (PKGBUILD)

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:49:40
  Author: felixonmars
Revision: 1079608

upgpkg: haskell-hasql 1.4.5.3-14: rebuild with attoparsec 0.14.2

Modified:
  haskell-hasql/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 06:48:24 UTC (rev 1079607)
+++ PKGBUILD2021-12-20 06:49:40 UTC (rev 1079608)
@@ -4,7 +4,7 @@
 _hkgname=hasql
 pkgname=haskell-hasql
 pkgver=1.4.5.3
-pkgrel=13
+pkgrel=14
 pkgdesc="An efficient PostgreSQL driver and a flexible mapping API"
 url="https://github.com/nikita-volkov/hasql;
 license=('MIT')



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:48:24
  Author: felixonmars
Revision: 1079607

archrelease: copy trunk to community-staging-x86_64

Added:
  hopenpgp-tools/repos/community-staging-x86_64/
  hopenpgp-tools/repos/community-staging-x86_64/PKGBUILD
(from rev 1079606, hopenpgp-tools/trunk/PKGBUILD)

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

Copied: hopenpgp-tools/repos/community-staging-x86_64/PKGBUILD (from rev 
1079606, hopenpgp-tools/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 06:48:24 UTC (rev 1079607)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hopenpgp-tools
+pkgver=0.23.6
+pkgrel=167
+pkgdesc="hOpenPGP-based command-line tools"
+url="https://salsa.debian.org/clint/hopenpgp-tools;
+license=("AGPL3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 
'haskell-binary-conduit'
+ 'haskell-conduit' 'haskell-conduit-extra' 'haskell-cryptonite' 
'haskell-errors'
+ 'haskell-fgl' 'haskell-graphviz' 'haskell-hopenpgp' 
'haskell-http-client'
+ 'haskell-http-client-tls' 'haskell-http-types' 'haskell-ixset-typed' 
'haskell-lens'
+ 'haskell-memory' 'haskell-monad-loops' 'haskell-openpgp-asciiarmor'
+ 'haskell-optparse-applicative' 'haskell-prettyprinter'
+ 'haskell-prettyprinter-ansi-terminal' 
'haskell-prettyprinter-convert-ansi-wl-pprint'
+ 'haskell-resourcet' 'haskell-time-locale-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-yaml')
+makedepends=('alex' 'happy' 'ghc')
+source=(https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('73c83f939492c66b4ad5782e01acd0af97011a0ae797bce82d9431eb3e9c155ce1b4af1c4b3a5922f10e0e468c1c009cb270b8f15c7ba3236d9d8bf9e0265018')
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --prefix=/usr --enable-executable-dynamic 
--docdir="/usr/share/doc/${pkgname}"
+runhaskell Setup build $MAKEFLAGS
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+rm "$pkgdir/usr/share/doc/hopenpgp-tools/LICENSE"
+rmdir "$pkgdir/usr/share/doc/hopenpgp-tools" "$pkgdir/usr/share/doc" 
"$pkgdir/usr/share"
+}



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:48:16
  Author: felixonmars
Revision: 1079606

upgpkg: hopenpgp-tools 0.23.6-167: rebuild with attoparsec 0.14.2

Modified:
  hopenpgp-tools/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 06:46:47 UTC (rev 1079605)
+++ PKGBUILD2021-12-20 06:48:16 UTC (rev 1079606)
@@ -3,7 +3,7 @@
 
 pkgname=hopenpgp-tools
 pkgver=0.23.6
-pkgrel=166
+pkgrel=167
 pkgdesc="hOpenPGP-based command-line tools"
 url="https://salsa.debian.org/clint/hopenpgp-tools;
 license=("AGPL3")



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:46:47
  Author: felixonmars
Revision: 1079605

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-summoner-tui/repos/community-staging-x86_64/
  haskell-summoner-tui/repos/community-staging-x86_64/PKGBUILD
(from rev 1079604, haskell-summoner-tui/trunk/PKGBUILD)

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

Copied: haskell-summoner-tui/repos/community-staging-x86_64/PKGBUILD (from rev 
1079604, haskell-summoner-tui/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 06:46:47 UTC (rev 1079605)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=summoner-tui
+pkgname=haskell-summoner-tui
+pkgver=2.0.1.1
+pkgrel=256
+pkgdesc="Tool for scaffolding fully configured batteries-included 
production-level Haskell projects using TUI."
+url="https://github.com/kowainik/summoner;
+license=('MPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-brick' 'haskell-colourista' 'haskell-microlens' 
'haskell-microlens-th'
+ 'haskell-relude' 'haskell-summoner' 'haskell-validation-selective' 
'haskell-vty')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('9f840f25d72c54b4b5ed0c5e6755e52ca71e9961759de6bd0046d567bd1f2c27')
+
+prepare(){
+  cd $_hkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+  uusi $_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=-fllvm \
+--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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:46:37
  Author: felixonmars
Revision: 1079604

upgpkg: haskell-summoner-tui 2.0.1.1-256: rebuild with attoparsec 0.14.2

Modified:
  haskell-summoner-tui/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 06:45:41 UTC (rev 1079603)
+++ PKGBUILD2021-12-20 06:46:37 UTC (rev 1079604)
@@ -4,7 +4,7 @@
 _hkgname=summoner-tui
 pkgname=haskell-summoner-tui
 pkgver=2.0.1.1
-pkgrel=255
+pkgrel=256
 pkgdesc="Tool for scaffolding fully configured batteries-included 
production-level Haskell projects using TUI."
 url="https://github.com/kowainik/summoner;
 license=('MPL2')



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:45:41
  Author: felixonmars
Revision: 1079603

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 1079602, haskell-mustache/trunk/PKGBUILD)

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

Copied: haskell-mustache/repos/community-staging-x86_64/PKGBUILD (from rev 
1079602, haskell-mustache/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 06:45:41 UTC (rev 1079603)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=mustache
+pkgname=haskell-mustache
+pkgver=2.3.2
+pkgrel=2
+pkgdesc="A mustache template parser library."
+url="https://github.com/JustusAdam/mustache;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' '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)
+sha512sums=('763ab60bfd99c08b21b291af6b4da17c9265c09659c1c1d14c0b5d5871583f28db5eca4385b66107ed7d9d9c547429a0bbc88048f28d1f6ee80c988cf63fff98')
+
+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=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-mustache/trunk (PKGBUILD)

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:45:33
  Author: felixonmars
Revision: 1079602

upgpkg: haskell-mustache 2.3.2-2: rebuild with attoparsec 0.14.2

Modified:
  haskell-mustache/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 06:44:24 UTC (rev 1079601)
+++ PKGBUILD2021-12-20 06:45:33 UTC (rev 1079602)
@@ -3,7 +3,7 @@
 _hkgname=mustache
 pkgname=haskell-mustache
 pkgver=2.3.2
-pkgrel=1
+pkgrel=2
 pkgdesc="A mustache template parser library."
 url="https://github.com/JustusAdam/mustache;
 license=('BSD')



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:44:24
  Author: felixonmars
Revision: 1079601

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 1079600, dhall-docs/trunk/PKGBUILD)

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

Copied: dhall-docs/repos/community-staging-x86_64/PKGBUILD (from rev 1079600, 
dhall-docs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 06:44:24 UTC (rev 1079601)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+pkgname=dhall-docs
+pkgver=1.0.7
+pkgrel=50
+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=('d8f4eca5add031bebb693a679f536697da0591e7fe0d2cdb50092c352d869cc5c7e8ee51d23629ed70b26302aa36027433ff9ea53f08b65c81a29cf874e041d2')
+
+prepare() {
+  cd $pkgname-$pkgver
+  uusi -u hashable -u megaparsec -u tasty-silver $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=-fllvm \
+--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-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:44:16
  Author: felixonmars
Revision: 1079600

upgpkg: dhall-docs 1.0.7-50: rebuild with attoparsec 0.14.2

Modified:
  dhall-docs/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 06:43:03 UTC (rev 1079599)
+++ PKGBUILD2021-12-20 06:44:16 UTC (rev 1079600)
@@ -2,7 +2,7 @@
 
 pkgname=dhall-docs
 pkgver=1.0.7
-pkgrel=49
+pkgrel=50
 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-json/repos (2 files)

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:43:03
  Author: felixonmars
Revision: 1079599

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 1079598, dhall-json/trunk/PKGBUILD)

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

Copied: dhall-json/repos/community-staging-x86_64/PKGBUILD (from rev 1079598, 
dhall-json/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 06:43:03 UTC (rev 1079599)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+pkgname=dhall-json
+pkgver=1.7.8
+pkgrel=48
+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=('63cbb328809226ffb361c685a3c47659bbb95882347907b9bb7a3c5076ae3e6656dd0237397e96703ef7c7872bad412dde9d9805177f9793bd035c9ee5350421')
+
+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 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $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-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:42:55
  Author: felixonmars
Revision: 1079598

upgpkg: dhall-json 1.7.8-48: rebuild with attoparsec 0.14.2

Modified:
  dhall-json/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 06:41:54 UTC (rev 1079597)
+++ PKGBUILD2021-12-20 06:42:55 UTC (rev 1079598)
@@ -2,7 +2,7 @@
 
 pkgname=dhall-json
 pkgver=1.7.8
-pkgrel=47
+pkgrel=48
 pkgdesc='Convert between Dhall and JSON or YAML'
 url='https://dhall-lang.org'
 license=('BSD')



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:41:54
  Author: felixonmars
Revision: 1079597

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 1079596, dhall-bash/trunk/PKGBUILD)

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

Copied: dhall-bash/repos/community-staging-x86_64/PKGBUILD (from rev 1079596, 
dhall-bash/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 06:41:54 UTC (rev 1079597)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+pkgname=dhall-bash
+pkgver=1.0.38
+pkgrel=47
+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=('8a18c7058c22a530d155fd630fe249f08adafa05d657e10ac9789762c9b1b5b2b29e176972042bf5eee9c18b4a2d2a7a6c90d896563fa60d48f611cf019d3610')
+
+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 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $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-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:41:46
  Author: felixonmars
Revision: 1079596

upgpkg: dhall-bash 1.0.38-47: rebuild with attoparsec 0.14.2

Modified:
  dhall-bash/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 06:40:54 UTC (rev 1079595)
+++ PKGBUILD2021-12-20 06:41:46 UTC (rev 1079596)
@@ -2,7 +2,7 @@
 
 pkgname=dhall-bash
 pkgver=1.0.38
-pkgrel=46
+pkgrel=47
 pkgdesc='Compile Dhall to Bash'
 url='https://dhall-lang.org'
 license=('BSD')



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:40:54
  Author: felixonmars
Revision: 1079595

archrelease: copy trunk to community-staging-x86_64

Added:
  cryptol/repos/community-staging-x86_64/
  cryptol/repos/community-staging-x86_64/PKGBUILD
(from rev 1079594, cryptol/trunk/PKGBUILD)
  cryptol/repos/community-staging-x86_64/ghc9.patch
(from rev 1079594, cryptol/trunk/ghc9.patch)

+
 PKGBUILD   |   51 +++
 ghc9.patch |  841 +++
 2 files changed, 892 insertions(+)

Copied: cryptol/repos/community-staging-x86_64/PKGBUILD (from rev 1079594, 
cryptol/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 06:40:54 UTC (rev 1079595)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+pkgname=cryptol
+pkgver=2.11.0
+pkgrel=98
+pkgdesc="The Language of Cryptography"
+url="https://www.cryptol.net;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'z3' 'haskell-arithmoi' 'haskell-async' 
'haskell-base-compat' 'haskell-bv-sized'
+ 'haskell-cryptohash-sha1' 'haskell-exceptions' 'haskell-extra' 
'haskell-gitrev'
+ 'haskell-graphscc' 'haskell-heredoc' 'haskell-libbf' 
'haskell-memotrie'
+ 'haskell-monad-control' 'haskell-monadlib' 
'haskell-optparse-applicative'
+ 'haskell-parameterized-utils' 'haskell-panic' 'haskell-random' 
'haskell-sbv'
+ 'haskell-simple-smt' 'haskell-strict' 'haskell-temporary' 
'haskell-tf-random'
+ 'haskell-transformers-base' 'haskell-what4' 'haskell-ansi-terminal' 
'haskell-blaze-html')
+makedepends=('ghc' 'alex' 'happy' 'uusi')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/GaloisInc/cryptol/archive/$pkgver.tar.gz;
+ghc9.patch)
+sha512sums=('4e8e9dec727c02e76043ee390b91d0a740df747a8f49b2551686ac7db3cc0c94c36e20316b59e7e50e28b838f3f9bf7202095cf6ce683d83fd47826702381649'
+
'cf201d5d633101343399bb43e264e482e9f7e4615512ff658455772add3055d14571954f20ddf2cb2e35704c5638e7d2a3dab494bbb981229c519dcf88867e17')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../ghc9.patch
+uusi -u sbv -u what4 $pkgname.cabal
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-static -f-relocatable --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 "${srcdir}/${pkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}

Copied: cryptol/repos/community-staging-x86_64/ghc9.patch (from rev 1079594, 
cryptol/trunk/ghc9.patch)
===
--- community-staging-x86_64/ghc9.patch (rev 0)
+++ community-staging-x86_64/ghc9.patch 2021-12-20 06:40:54 UTC (rev 1079595)
@@ -0,0 +1,841 @@
+From 889bfd65116b8817bd97b18e8a1e66db57c135cf Mon Sep 17 00:00:00 2001
+From: Rob Dockins 
+Date: Wed, 14 Jul 2021 22:44:53 -0700
+Subject: [PATCH 1/2] First take at GHC 9.* compatibility.
+
+There's a lot here that can be cleaned up, and we need
+some backward compatiblity layer, but this is just a first
+try.
+
+Something in the PrimeEC module is causing hard crashes
+during the test suite, so I'll have to figure out what's
+going on there.
+---
+ cryptol-remote-api/cryptol-remote-api.cabal |   7 +-
+ cryptol.cabal   |   5 +-
+ cryptol/OptParser.hs|   1 -
+ src/Cryptol/Backend/Concrete.hs |  13 +-
+ src/Cryptol/Backend/SBV.hs  |   9 +-
+ src/Cryptol/Backend/What4.hs|   9 +-
+ src/Cryptol/Eval/Concrete.hs|   4 +-
+ src/Cryptol/Eval/Reference.lhs  |  10 +-
+ src/Cryptol/ModuleSystem/Name.hs|   4 +-
+ src/Cryptol/PrimeEC.hs  | 259 
+ src/Cryptol/TypeCheck/Solver/Numeric.hs |   8 +-
+ 11 files changed, 138 insertions(+), 191 deletions(-)
+
+diff --git a/cryptol-remote-api/cryptol-remote-api.cabal 
b/cryptol-remote-api/cryptol-remote-api.cabal
+index f0f75d18e..4cd02c5e6 100644
+--- 

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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:40:45
  Author: felixonmars
Revision: 1079594

upgpkg: cryptol 2.11.0-98: rebuild with attoparsec 0.14.2

Modified:
  cryptol/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 06:36:14 UTC (rev 1079593)
+++ PKGBUILD2021-12-20 06:40:45 UTC (rev 1079594)
@@ -2,7 +2,7 @@
 
 pkgname=cryptol
 pkgver=2.11.0
-pkgrel=97
+pkgrel=98
 pkgdesc="The Language of Cryptography"
 url="https://www.cryptol.net;
 license=("BSD")



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:36:14
  Author: felixonmars
Revision: 1079593

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-persistent-sqlite/repos/community-staging-x86_64/
  haskell-persistent-sqlite/repos/community-staging-x86_64/PKGBUILD
(from rev 1079592, haskell-persistent-sqlite/trunk/PKGBUILD)

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

Copied: haskell-persistent-sqlite/repos/community-staging-x86_64/PKGBUILD (from 
rev 1079592, haskell-persistent-sqlite/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 06:36:14 UTC (rev 1079593)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=persistent-sqlite
+pkgname=haskell-persistent-sqlite
+pkgver=2.13.0.3
+pkgrel=67
+pkgdesc="Backend for the persistent library using sqlite3"
+url="https://www.yesodweb.com/book/persistent;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'sqlite' 'haskell-aeson' 'haskell-conduit' 
'haskell-microlens-th'
+ 'haskell-monad-logger' 'haskell-persistent' 'haskell-resource-pool' 
'haskell-resourcet'
+ 'haskell-unliftio-core' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-fast-logger' 'haskell-hspec' 'haskell-hunit' 
'haskell-microlens'
+ 'haskell-persistent-test' 'haskell-quickcheck' 
'haskell-system-fileio'
+ 'haskell-system-filepath' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('d47b4e38929272df432f61e027767caa369875450509d2c7b7a0f266c663f0493dd3b493543523b49a49c3a7c24b4c65970870d365c73857c63cbece85af8ac5')
+
+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=-fllvm \
+-f-build-sanity-exe -fsystemlib -fuse-pkgconfig
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --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-persistent-sqlite/trunk (PKGBUILD)

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:36:07
  Author: felixonmars
Revision: 1079592

upgpkg: haskell-persistent-sqlite 2.13.0.3-67: rebuild with attoparsec 0.14.2

Modified:
  haskell-persistent-sqlite/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 06:34:38 UTC (rev 1079591)
+++ PKGBUILD2021-12-20 06:36:07 UTC (rev 1079592)
@@ -4,7 +4,7 @@
 _hkgname=persistent-sqlite
 pkgname=haskell-persistent-sqlite
 pkgver=2.13.0.3
-pkgrel=66
+pkgrel=67
 pkgdesc="Backend for the persistent library using sqlite3"
 url="https://www.yesodweb.com/book/persistent;
 license=("MIT")



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:34:38
  Author: felixonmars
Revision: 1079591

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-lsp-types/repos/community-staging-x86_64/PKGBUILD (from rev 
1079590, haskell-lsp-types/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 06:34:38 UTC (rev 1079591)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=lsp-types
+pkgname=haskell-lsp-types
+pkgver=1.3.0.1
+pkgrel=14
+pkgdesc="Haskell library for the Microsoft Language Server Protocol, data 
types"
+url="https://github.com/haskell/lsp;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-data-default' 
'haskell-dependent-sum'
+ 'haskell-dependent-sum-template' 'haskell-diff' 'haskell-dlist' 
'haskell-hashable'
+ 'haskell-hslogger' 'haskell-lens' 'haskell-network-uri' 
'haskell-rope-utf16-splay'
+ 'haskell-scientific' 'haskell-some' 'haskell-temporary' 
'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('074a2a383efefd3754ed1c835af913e1ab5fee9f634cb343f392bc8148f1a62030777dbb1104cd0e60cec1405d2cc5067c8fb00f2e902a3ffa52601ff7b02c2b')
+
+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=-fllvm \
+--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-lsp-types/trunk (PKGBUILD)

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:34:30
  Author: felixonmars
Revision: 1079590

upgpkg: haskell-lsp-types 1.3.0.1-14: rebuild with attoparsec 0.14.2

Modified:
  haskell-lsp-types/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 06:30:21 UTC (rev 1079589)
+++ PKGBUILD2021-12-20 06:34:30 UTC (rev 1079590)
@@ -3,7 +3,7 @@
 _hkgname=lsp-types
 pkgname=haskell-lsp-types
 pkgver=1.3.0.1
-pkgrel=13
+pkgrel=14
 pkgdesc="Haskell library for the Microsoft Language Server Protocol, data 
types"
 url="https://github.com/haskell/lsp;
 license=("MIT")



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:30:21
  Author: felixonmars
Revision: 1079589

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ipynb/repos/community-staging-x86_64/PKGBUILD (from rev 
1079588, haskell-ipynb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 06:30:21 UTC (rev 1079589)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ipynb
+pkgname=haskell-ipynb
+pkgver=0.1.0.1
+pkgrel=253
+pkgdesc="Data structure for working with Jupyter notebooks (ipynb)"
+url="https://github.com/jgm/ipynb;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base64-bytestring' 
'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-aeson-diff' 'haskell-microlens' 
'haskell-microlens-aeson'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-vector')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b1e547ac9353c84619832c723586146d2fd72c85c75d11b9ff99c16852ae2dfd1a2d61382ab9cc54bc9ad2bf8e1c3c0a8dc50d49c034d525e7a3393057a0275b')
+
+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=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-ipynb/trunk (PKGBUILD)

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:30:14
  Author: felixonmars
Revision: 1079588

upgpkg: haskell-ipynb 0.1.0.1-253: rebuild with attoparsec 0.14.2

Modified:
  haskell-ipynb/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 06:29:18 UTC (rev 1079587)
+++ PKGBUILD2021-12-20 06:30:14 UTC (rev 1079588)
@@ -3,7 +3,7 @@
 _hkgname=ipynb
 pkgname=haskell-ipynb
 pkgver=0.1.0.1
-pkgrel=252
+pkgrel=253
 pkgdesc="Data structure for working with Jupyter notebooks (ipynb)"
 url="https://github.com/jgm/ipynb;
 license=('BSD')



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:29:18
  Author: felixonmars
Revision: 1079587

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-lsp0-test/repos/community-staging-x86_64/PKGBUILD (from rev 
1079586, haskell-lsp0-test/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 06:29:18 UTC (rev 1079587)
@@ -0,0 +1,65 @@
+# Maintainer: Felix Yan 
+
+_hkgname=lsp-test
+pkgname=haskell-lsp0-test
+pkgver=0.11.0.7
+pkgrel=81
+pkgdesc="Functional test framework for LSP servers (Legacy 0.x version)"
+url="https://github.com/bubba/lsp-test#readme;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 
'haskell-aeson-pretty'
+ 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 
'haskell-conduit-parse'
+ 'haskell-data-default' 'haskell-lsp0' 'haskell-lens' 
'haskell-parser-combinators'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi' 'haskell-hspec')
+# Hackage source is missing test data
+source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -u haskell-lsp $_hkgname.cabal
+
+  sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs
+
+  # haskell-lsp 0.24.0.0
+  sed -i 's/"deleteThis" Nothing))/"deleteThis" Nothing)) Nothing Nothing/' 
test/dummy-server/Main.hs
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  # We need to enable dummy-server here for tests, but it shouldn't be 
installed...
+  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=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' \
+-fdummyserver
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --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
+
+  # Remove dummy-server
+  rm -r "$pkgdir"/usr/libexec
+}



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:29:11
  Author: felixonmars
Revision: 1079586

upgpkg: haskell-lsp0-test 0.11.0.7-81: rebuild with attoparsec 0.14.2

Modified:
  haskell-lsp0-test/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 06:26:42 UTC (rev 1079585)
+++ PKGBUILD2021-12-20 06:29:11 UTC (rev 1079586)
@@ -3,7 +3,7 @@
 _hkgname=lsp-test
 pkgname=haskell-lsp0-test
 pkgver=0.11.0.7
-pkgrel=80
+pkgrel=81
 pkgdesc="Functional test framework for LSP servers (Legacy 0.x version)"
 url="https://github.com/bubba/lsp-test#readme;
 license=("BSD")



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:26:42
  Author: felixonmars
Revision: 1079585

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 1079584, haskell-floskell/trunk/PKGBUILD)

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

Copied: haskell-floskell/repos/community-staging-x86_64/PKGBUILD (from rev 
1079584, haskell-floskell/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 06:26:42 UTC (rev 1079585)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=floskell
+pkgname=haskell-floskell
+pkgver=0.10.5
+pkgrel=146
+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=-fllvm \
+--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-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:26:35
  Author: felixonmars
Revision: 1079584

upgpkg: haskell-floskell 0.10.5-146: rebuild with attoparsec 0.14.2

Modified:
  haskell-floskell/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 06:23:59 UTC (rev 1079583)
+++ PKGBUILD2021-12-20 06:26:35 UTC (rev 1079584)
@@ -3,7 +3,7 @@
 _hkgname=floskell
 pkgname=haskell-floskell
 pkgver=0.10.5
-pkgrel=145
+pkgrel=146
 pkgdesc="A flexible Haskell source code pretty printer"
 url="https://github.com/ennocramer/floskell;
 license=("BSD")



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:23:59
  Author: felixonmars
Revision: 1079583

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-cracknum/repos/community-staging-x86_64/PKGBUILD (from rev 
1079582, haskell-cracknum/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 06:23:59 UTC (rev 1079583)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=crackNum
+pkgname=haskell-cracknum
+pkgver=3.2
+pkgrel=37
+pkgdesc="Crack various integer and floating-point data formats"
+url="https://github.com/LeventErkok/crackNum;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-libbf' 'haskell-sbv' 'haskell-tasty' 
'haskell-tasty-golden')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('1721a70cbebb89cf795882d1e3635e4d4aac5971bb41a2817c188257e459d558809059efc1de0840830f2aa753fa3b54d74ad8da6cbbd3766f6a089f592912d0')
+
+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=-fllvm
+runhaskell Setup build $MAKEFLAGS
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:23:52
  Author: felixonmars
Revision: 1079582

upgpkg: haskell-cracknum 3.2-37: rebuild with attoparsec 0.14.2

Modified:
  haskell-cracknum/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 06:23:07 UTC (rev 1079581)
+++ PKGBUILD2021-12-20 06:23:52 UTC (rev 1079582)
@@ -4,7 +4,7 @@
 _hkgname=crackNum
 pkgname=haskell-cracknum
 pkgver=3.2
-pkgrel=36
+pkgrel=37
 pkgdesc="Crack various integer and floating-point data formats"
 url="https://github.com/LeventErkok/crackNum;
 license=("BSD")



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:23:07
  Author: felixonmars
Revision: 1079581

archrelease: copy trunk to community-staging-x86_64

Added:
  hledger/repos/community-staging-x86_64/
  hledger/repos/community-staging-x86_64/PKGBUILD
(from rev 1079580, hledger/trunk/PKGBUILD)

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

Copied: hledger/repos/community-staging-x86_64/PKGBUILD (from rev 1079580, 
hledger/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 06:23:07 UTC (rev 1079581)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hledger
+pkgver=1.22.2
+pkgrel=50
+pkgdesc="Command-line interface for the hledger accounting system"
+url="http://hledger.org;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-terminal' 
'haskell-base-compat-batteries'
+ 'haskell-cmdargs' 'haskell-data-default' 'haskell-decimal' 
'haskell-diff' 'haskell-githash'
+ 'haskell-hashable' 'haskell-hledger-lib' 'haskell-lucid' 
'haskell-math-functions'
+ 'haskell-megaparsec' 'haskell-old-time' 'haskell-regex-tdfa'
+ 'haskell-safe' 'haskell-shakespeare' 'haskell-split' 
'haskell-tabular' 'haskell-tasty'
+ 'haskell-temporary' 'haskell-unordered-containers' 
'haskell-utf8-string'
+ 'haskell-utility-ht' 'haskell-wizards')
+makedepends=('ghc' 'uusi' 'haskell-extra' 'haskell-timeit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('dc60c6f4ac7e9934ccb09293c447cb7af0f91f8ebae32233046d07e2e1358da5b6c7e8281d34e2a093e7ed2ad937d816ae731bfdde0c40b8a23cbdae0a0e9a52')
+
+prepare() {
+cd $pkgname-$pkgver
+uusi -u megaparsec $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=-fllvm \
+-fterminfo -fthreaded --ghc-option='-pie'
+LC_CTYPE=en_US.UTF-8 runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $pkgname-$pkgver
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+
+install -Dm644 hledger.1 -t "$pkgdir"/usr/share/man/man1/
+install -Dm644 shell-completion/hledger-completion.bash 
"$pkgdir"/usr/share/bash-completion/completions/hledger
+}



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:22:59
  Author: felixonmars
Revision: 1079580

upgpkg: hledger 1.22.2-50: rebuild with attoparsec 0.14.2

Modified:
  hledger/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 06:21:41 UTC (rev 1079579)
+++ PKGBUILD2021-12-20 06:22:59 UTC (rev 1079580)
@@ -3,7 +3,7 @@
 
 pkgname=hledger
 pkgver=1.22.2
-pkgrel=49
+pkgrel=50
 pkgdesc="Command-line interface for the hledger accounting system"
 url="http://hledger.org;
 license=("GPL")



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:21:41
  Author: felixonmars
Revision: 1079579

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-optparse-simple/repos/community-staging-x86_64/PKGBUILD (from 
rev 1079578, haskell-optparse-simple/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 06:21:41 UTC (rev 1079579)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=optparse-simple
+pkgname=haskell-optparse-simple
+pkgver=0.1.1.4
+pkgrel=54
+pkgdesc="Simple interface to optparse-applicative"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-githash' 'haskell-optparse-applicative' 
'haskell-th-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('1e49f60eead8553d7dd4cc162b5a2a07a99eda2519a53947808d7b4c909e37cfa7734d4c8dce3cf83cbf1efbdeed6037bf480b768b7f9ee7add5e5afbe006557')
+
+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=-fllvm \
+ -f-build-example
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+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-optparse-simple/trunk (PKGBUILD)

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:21:33
  Author: felixonmars
Revision: 1079578

upgpkg: haskell-optparse-simple 0.1.1.4-54: rebuild with attoparsec 0.14.2

Modified:
  haskell-optparse-simple/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 06:20:58 UTC (rev 1079577)
+++ PKGBUILD2021-12-20 06:21:33 UTC (rev 1079578)
@@ -4,7 +4,7 @@
 _hkgname=optparse-simple
 pkgname=haskell-optparse-simple
 pkgver=0.1.1.4
-pkgrel=53
+pkgrel=54
 pkgdesc="Simple interface to optparse-applicative"
 url="https://hackage.haskell.org/package/${_hkgname};
 license=("BSD")



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:20:58
  Author: felixonmars
Revision: 1079577

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-yesod-core/repos/community-staging-x86_64/PKGBUILD (from rev 
1079576, haskell-yesod-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 06:20:58 UTC (rev 1079577)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod-core
+pkgname=haskell-yesod-core
+pkgver=1.6.21.0
+pkgrel=56
+pkgdesc="Creation of type-safe, RESTful web applications."
+url="http://www.yesodweb.com/;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-auto-update' 'haskell-blaze-html'
+ 'haskell-blaze-markup' 'haskell-case-insensitive' 'haskell-cereal'
+ 'haskell-clientsession' 'haskell-conduit' 'haskell-conduit-extra' 
'haskell-cookie'
+ 'haskell-entropy' 'haskell-fast-logger' 'haskell-http-types' 
'haskell-memory'
+ 'haskell-monad-logger' 'haskell-old-locale' 'haskell-path-pieces' 
'haskell-primitive'
+ 'haskell-random' 'haskell-resourcet' 'haskell-shakespeare' 
'haskell-unix-compat'
+ 'haskell-unliftio' 'haskell-unordered-containers' 'haskell-vector' 
'haskell-wai'
+ 'haskell-wai-extra' 'haskell-wai-logger' 'haskell-warp' 
'haskell-word8')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0d51214b28aa0fd193b5f251541648dbfa28c8752d5067241078e92a5e90f8af09cfcc8f76a45c00bd173693e1eaa69ef3df7894895a309d2df90cdb12f61fc8')
+
+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=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+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-yesod-core/trunk (PKGBUILD)

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:20:51
  Author: felixonmars
Revision: 1079576

upgpkg: haskell-yesod-core 1.6.21.0-56: rebuild with attoparsec 0.14.2

Modified:
  haskell-yesod-core/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 06:19:34 UTC (rev 1079575)
+++ PKGBUILD2021-12-20 06:20:51 UTC (rev 1079576)
@@ -4,7 +4,7 @@
 _hkgname=yesod-core
 pkgname=haskell-yesod-core
 pkgver=1.6.21.0
-pkgrel=55
+pkgrel=56
 pkgdesc="Creation of type-safe, RESTful web applications."
 url="http://www.yesodweb.com/;
 license=("MIT")



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:19:34
  Author: felixonmars
Revision: 1079575

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-cheapskate/repos/community-staging-x86_64/PKGBUILD (from rev 
1079574, haskell-cheapskate/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 06:19:34 UTC (rev 1079575)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cheapskate
+pkgname=haskell-cheapskate
+pkgver=0.1.1.2
+pkgrel=364
+pkgdesc="Experimental markdown processor."
+url="https://github.com/jgm/cheapskate;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-aeson" "haskell-blaze-html" 
"haskell-data-default" "haskell-http-types"
+ "haskell-syb" "haskell-uniplate" "haskell-wai"
+ "haskell-wai-extra" "haskell-xss-sanitize")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('b671ada413b8bd90f28b008c7bada4b744dedac2c7711090f1148dfa1643f7843f44e56c9a5a99fd0f71ded8393a0095b04fbdf73f70a707698dc9fb76ed1b45')
+
+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=-fllvm \
+-fdingus
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --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-cheapskate/trunk (PKGBUILD)

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:19:27
  Author: felixonmars
Revision: 1079574

upgpkg: haskell-cheapskate 0.1.1.2-364: rebuild with attoparsec 0.14.2

Modified:
  haskell-cheapskate/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 06:18:12 UTC (rev 1079573)
+++ PKGBUILD2021-12-20 06:19:27 UTC (rev 1079574)
@@ -4,7 +4,7 @@
 _hkgname=cheapskate
 pkgname=haskell-cheapskate
 pkgver=0.1.1.2
-pkgrel=363
+pkgrel=364
 pkgdesc="Experimental markdown processor."
 url="https://github.com/jgm/cheapskate;
 license=("BSD")



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:18:12
  Author: felixonmars
Revision: 1079573

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hspec-wai/repos/community-staging-x86_64/PKGBUILD (from rev 
1079572, haskell-hspec-wai/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 06:18:12 UTC (rev 1079573)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=hspec-wai
+pkgname=haskell-hspec-wai
+pkgver=0.11.1
+pkgrel=150
+pkgdesc="Experimental Hspec support for testing WAI applications"
+url="https://github.com/hspec/hspec-wai;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-base-compat' 
'haskell-case-insensitive'
+ 'haskell-hspec' 'haskell-hspec-core' 'haskell-hspec-expectations' 
'haskell-http-types'
+ 'haskell-wai' 'haskell-wai-extra')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('c5c72dee572f6fd7bd80f3beb4e668697d58f3bb045dabb321e65098f4fc3b1d577aa32e5fe607cab3e18433627538582b6c7acc7bb4728a99daeb20afe41b0a')
+
+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=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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/trunk (PKGBUILD)

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:18:05
  Author: felixonmars
Revision: 1079572

upgpkg: haskell-hspec-wai 0.11.1-150: rebuild with attoparsec 0.14.2

Modified:
  haskell-hspec-wai/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 06:17:24 UTC (rev 1079571)
+++ PKGBUILD2021-12-20 06:18:05 UTC (rev 1079572)
@@ -4,7 +4,7 @@
 _hkgname=hspec-wai
 pkgname=haskell-hspec-wai
 pkgver=0.11.1
-pkgrel=149
+pkgrel=150
 pkgdesc="Experimental Hspec support for testing WAI applications"
 url="https://github.com/hspec/hspec-wai;
 license=("MIT")



[arch-commits] Commit in haskell-wai-app-static/repos (2 files)

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:17:24
  Author: felixonmars
Revision: 1079571

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-wai-app-static/repos/community-staging-x86_64/
  haskell-wai-app-static/repos/community-staging-x86_64/PKGBUILD
(from rev 1079570, haskell-wai-app-static/trunk/PKGBUILD)

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

Copied: haskell-wai-app-static/repos/community-staging-x86_64/PKGBUILD (from 
rev 1079570, haskell-wai-app-static/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 06:17:24 UTC (rev 1079571)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=wai-app-static
+pkgname=haskell-wai-app-static
+pkgver=3.1.7.2
+pkgrel=256
+pkgdesc="WAI application for static serving"
+url="https://www.yesodweb.com/book/web-application-interface;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-blaze-html' 'haskell-blaze-markup' 
'haskell-cryptonite'
+ 'haskell-file-embed' 'haskell-http-date' 'haskell-http-types' 
'haskell-memory'
+ 'haskell-mime-types' 'haskell-old-locale' 
'haskell-optparse-applicative'
+ 'haskell-unix-compat' 'haskell-unordered-containers' 'haskell-wai' 
'haskell-wai-extra'
+ 'haskell-warp' 'haskell-zlib')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-mockery' 'haskell-network' 
'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e073d85efc201eab94b9c8be4e40ee71567d07ed2e2907504a946477211bc21aaf2250213cac67525ae58be499b164b09880600c0a6f62b0b1742fb9d730d6d9')
+
+prepare() {
+  uusi $_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 
--ghc-option=-fllvm \
+-f-print
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --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-wai-app-static/trunk (PKGBUILD)

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:17:17
  Author: felixonmars
Revision: 1079570

upgpkg: haskell-wai-app-static 3.1.7.2-256: rebuild with attoparsec 0.14.2

Modified:
  haskell-wai-app-static/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 06:16:25 UTC (rev 1079569)
+++ PKGBUILD2021-12-20 06:17:17 UTC (rev 1079570)
@@ -4,7 +4,7 @@
 _hkgname=wai-app-static
 pkgname=haskell-wai-app-static
 pkgver=3.1.7.2
-pkgrel=255
+pkgrel=256
 pkgdesc="WAI application for static serving"
 url="https://www.yesodweb.com/book/web-application-interface;
 license=("MIT")



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:16:25
  Author: felixonmars
Revision: 1079569

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-warp-tls/repos/community-staging-x86_64/
  haskell-warp-tls/repos/community-staging-x86_64/PKGBUILD
(from rev 1079568, haskell-warp-tls/trunk/PKGBUILD)

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

Copied: haskell-warp-tls/repos/community-staging-x86_64/PKGBUILD (from rev 
1079568, haskell-warp-tls/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 06:16:25 UTC (rev 1079569)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp-tls
+pkgname=haskell-warp-tls
+pkgver=3.3.2
+pkgrel=24
+pkgdesc="HTTP over TLS support for Warp via the TLS package"
+url="https://github.com/yesodweb/wai;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-cryptonite" "haskell-data-default-class" 
"haskell-network"
+ "haskell-streaming-commons" "haskell-tls" 
"haskell-tls-session-manager" "haskell-unliftio"
+ "haskell-wai" "haskell-warp")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('4ac7c2c4161502c4167ee5c941c6147146f453467c77fb84da8bdd2810719b099b908b67c4bcce248d6bc0d26657f91f1cc6812cedd0497516a7594b243fb783')
+
+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=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+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-warp-tls/trunk (PKGBUILD)

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:16:18
  Author: felixonmars
Revision: 1079568

upgpkg: haskell-warp-tls 3.3.2-24: rebuild with attoparsec 0.14.2

Modified:
  haskell-warp-tls/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 06:15:43 UTC (rev 1079567)
+++ PKGBUILD2021-12-20 06:16:18 UTC (rev 1079568)
@@ -4,7 +4,7 @@
 _hkgname=warp-tls
 pkgname=haskell-warp-tls
 pkgver=3.3.2
-pkgrel=23
+pkgrel=24
 pkgdesc="HTTP over TLS support for Warp via the TLS package"
 url="https://github.com/yesodweb/wai;
 license=("MIT")



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:15:43
  Author: felixonmars
Revision: 1079567

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 1079566, 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 1079566, haskell-wai-handler-launch/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 06:15:43 UTC (rev 1079567)
@@ -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=335
+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 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+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-wai-handler-launch/trunk (PKGBUILD)

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:15:35
  Author: felixonmars
Revision: 1079566

upgpkg: haskell-wai-handler-launch 3.0.3.1-335: rebuild with attoparsec 0.14.2

Modified:
  haskell-wai-handler-launch/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 06:15:01 UTC (rev 1079565)
+++ PKGBUILD2021-12-20 06:15:35 UTC (rev 1079566)
@@ -4,7 +4,7 @@
 _hkgname=wai-handler-launch
 pkgname=haskell-wai-handler-launch
 pkgver=3.0.3.1
-pkgrel=334
+pkgrel=335
 pkgdesc="Launch a web app in the default browser."
 url="https://github.com/yesodweb/wai;
 license=("MIT")



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:15:01
  Author: felixonmars
Revision: 1079565

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 1079564, haskell-http/trunk/PKGBUILD)

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

Copied: haskell-http/repos/community-staging-x86_64/PKGBUILD (from rev 1079564, 
haskell-http/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 06:15:01 UTC (rev 1079565)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=HTTP
+pkgname=haskell-http
+pkgver=4000.3.16
+pkgrel=95
+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 
--ghc-option=-fllvm \
+-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-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:14:54
  Author: felixonmars
Revision: 1079564

upgpkg: haskell-http 4000.3.16-95: rebuild with attoparsec 0.14.2

Modified:
  haskell-http/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 06:13:51 UTC (rev 1079563)
+++ PKGBUILD2021-12-20 06:14:54 UTC (rev 1079564)
@@ -4,7 +4,7 @@
 _hkgname=HTTP
 pkgname=haskell-http
 pkgver=4000.3.16
-pkgrel=94
+pkgrel=95
 pkgdesc="A library for client-side HTTP"
 url="https://hackage.haskell.org/package/${_hkgname};
 license=('BSD')



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:13:51
  Author: felixonmars
Revision: 1079563

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 1079562, haskell-postgresql-binary/trunk/PKGBUILD)

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

Copied: haskell-postgresql-binary/repos/community-staging-x86_64/PKGBUILD (from 
rev 1079562, haskell-postgresql-binary/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 06:13:51 UTC (rev 1079563)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=postgresql-binary
+pkgname=haskell-postgresql-binary
+pkgver=0.12.4.1
+pkgrel=26
+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=('dd1357c1c282d7f906ef1e5af8d47403a24cc31169abee4b559fd2f605bf00a32c710e49fe5f23fc5695662968ea70b2c4ad7339bee43de41cecaa1c4172820f')
+
+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 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+
+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-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:13:44
  Author: felixonmars
Revision: 1079562

upgpkg: haskell-postgresql-binary 0.12.4.1-26: rebuild with attoparsec 0.14.2

Modified:
  haskell-postgresql-binary/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 06:12:27 UTC (rev 1079561)
+++ PKGBUILD2021-12-20 06:13:44 UTC (rev 1079562)
@@ -4,7 +4,7 @@
 _hkgname=postgresql-binary
 pkgname=haskell-postgresql-binary
 pkgver=0.12.4.1
-pkgrel=25
+pkgrel=26
 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-hopenpgp/repos (4 files)

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:12:27
  Author: felixonmars
Revision: 1079561

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hopenpgp/repos/community-staging-x86_64/
  haskell-hopenpgp/repos/community-staging-x86_64/PKGBUILD
(from rev 1079560, haskell-hopenpgp/trunk/PKGBUILD)
  haskell-hopenpgp/repos/community-staging-x86_64/ghc9.patch
(from rev 1079560, haskell-hopenpgp/trunk/ghc9.patch)
  haskell-hopenpgp/repos/community-staging-x86_64/hashable-1.3.4.patch
(from rev 1079560, haskell-hopenpgp/trunk/hashable-1.3.4.patch)

--+
 PKGBUILD |   55 +
 ghc9.patch   |   13 +++
 hashable-1.3.4.patch |   23 
 3 files changed, 91 insertions(+)

Copied: haskell-hopenpgp/repos/community-staging-x86_64/PKGBUILD (from rev 
1079560, haskell-hopenpgp/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 06:12:27 UTC (rev 1079561)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hOpenPGP
+pkgname=haskell-hopenpgp
+pkgver=2.9.5
+pkgrel=201
+pkgdesc="Native Haskell implementation of OpenPGP (RFC4880)"
+url="http://floss.scru.org/hOpenPGP/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-asn1-encoding' 
'haskell-attoparsec'
+ 'haskell-base16-bytestring' 'haskell-bifunctors' 'haskell-bz2' 
'haskell-binary-conduit'
+ 'haskell-conduit' 'haskell-conduit-extra' 'haskell-cryptonite'
+ 'haskell-crypto-cipher-types' 'haskell-errors' 'haskell-hashable'
+ 'haskell-incremental-parser' 'haskell-ixset-typed' 'haskell-lens' 
'haskell-memory'
+ 'haskell-monad-loops' 'haskell-nettle' 'haskell-network-uri'
+ 'haskell-openpgp-asciiarmor' 'haskell-prettyprinter' 
'haskell-resourcet' 'haskell-split'
+ 'haskell-time-locale-compat' 'haskell-unliftio-core' 
'haskell-unordered-containers'
+ 'haskell-zlib')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+ghc9.patch
+hashable-1.3.4.patch)
+sha512sums=('7e0ecc73054c5315093e7f64f92bc7c62a7f9ff1b2c985595db427a063460b3fc692343079676631987c9a651212d1d739289f9b1e2ecb1c086b2c9bd5a4ba0e'
+
'9a1cf92845c1120b006b39f31496af5badfc42eb460794d3bcf8ba393eb63e7989c1c3934179fd96b9b0a23d87b078412662ebbba0d7278240eba7fe0d48ce8e'
+
'71a712dc52d7d26896da4869a499e2eb6d2943f3848c374047f57241dbe200765a8cef809854f7b66bbf948f6f89839793ded3a8aa827b40920c818ba09d70bb')
+
+prepare() {
+patch -d $_hkgname-$pkgver -p1 < ghc9.patch
+patch -d $_hkgname-$pkgver -p1 < hashable-1.3.4.patch
+}
+
+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=-fllvm \
+-fnetwork-uri
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}

Copied: haskell-hopenpgp/repos/community-staging-x86_64/ghc9.patch (from rev 
1079560, haskell-hopenpgp/trunk/ghc9.patch)
===
--- community-staging-x86_64/ghc9.patch (rev 0)
+++ community-staging-x86_64/ghc9.patch 2021-12-20 06:12:27 UTC (rev 1079561)
@@ -0,0 +1,13 @@
+diff --git a/Codec/Encryption/OpenPGP/Types/Internal/Base.hs 
b/Codec/Encryption/OpenPGP/Types/Internal/Base.hs
+index 861b7a5..f3dcc4a 100644
+--- a/Codec/Encryption/OpenPGP/Types/Internal/Base.hs
 b/Codec/Encryption/OpenPGP/Types/Internal/Base.hs
+@@ -1003,7 +1003,8 @@ instance Pretty SigSubPacket where
+ 
+ instance Hashable SigSubPacket
+ 
+-$(ATH.deriveJSON ATH.defaultOptions ''SigSubPacket)
++instance A.ToJSON SigSubPacket
++instance A.FromJSON SigSubPacket
+ 
+ $(makeLenses ''SigSubPacket)

Copied: haskell-hopenpgp/repos/community-staging-x86_64/hashable-1.3.4.patch 
(from rev 1079560, haskell-hopenpgp/trunk/hashable-1.3.4.patch)
===
--- community-staging-x86_64/hashable-1.3.4.patch   

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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:12:17
  Author: felixonmars
Revision: 1079560

upgpkg: haskell-hopenpgp 2.9.5-201: rebuild with attoparsec 0.14.2

Modified:
  haskell-hopenpgp/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 06:09:16 UTC (rev 1079559)
+++ PKGBUILD2021-12-20 06:12:17 UTC (rev 1079560)
@@ -3,7 +3,7 @@
 _hkgname=hOpenPGP
 pkgname=haskell-hopenpgp
 pkgver=2.9.5
-pkgrel=200
+pkgrel=201
 pkgdesc="Native Haskell implementation of OpenPGP (RFC4880)"
 url="http://floss.scru.org/hOpenPGP/;
 license=('MIT')



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

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:09:16
  Author: felixonmars
Revision: 1079559

archrelease: copy trunk to community-staging-x86_64

Added:
  clash-ghc/repos/community-staging-x86_64/
  clash-ghc/repos/community-staging-x86_64/PKGBUILD
(from rev 1079558, clash-ghc/trunk/PKGBUILD)

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

Copied: clash-ghc/repos/community-staging-x86_64/PKGBUILD (from rev 1079558, 
clash-ghc/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 06:09:16 UTC (rev 1079559)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+pkgname=clash-ghc
+pkgver=1.4.3
+pkgrel=41
+pkgdesc="CAES Language for Synchronous Hardware"
+url="https://clash-lang.org/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-bifunctors' 'haskell-clash-lib' 
'haskell-clash-prelude'
+ 'haskell-concurrent-supply' 'haskell-extra' 'haskell-ghc' 
'haskell-ghc-typelits-extra'
+ 'haskell-ghc-typelits-knownnat' 'haskell-ghc-typelits-natnormalise' 
'haskell-hashable'
+ 'haskell-lens' 'haskell-primitive' 'haskell-reflection' 
'haskell-split' 'haskell-uniplate'
+ 'haskell-unordered-containers' 'haskell-utf8-string' 'haskell-vector')
+makedepends=('ghc')
+conflicts=('clash')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha512sums=('1805df7a57ec2b9f291f0561a35e55d776dab67717afb10293e0c29aa7607433b7f1fee30172450f93d3d6fc795b6245648b1241f6c46c79242cd0c6e2d14d4f')
+
+build() {
+  cd $pkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 $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 clash-ghc/trunk (PKGBUILD)

2021-12-19 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 06:09:09
  Author: felixonmars
Revision: 1079558

upgpkg: clash-ghc 1.4.3-41: rebuild with attoparsec 0.14.2

Modified:
  clash-ghc/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-12-20 06:06:11 UTC (rev 1079557)
+++ PKGBUILD2021-12-20 06:09:09 UTC (rev 1079558)
@@ -2,7 +2,7 @@
 
 pkgname=clash-ghc
 pkgver=1.4.3
-pkgrel=40
+pkgrel=41
 pkgdesc="CAES Language for Synchronous Hardware"
 url="https://clash-lang.org/;
 license=("BSD")



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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-summoner/repos/community-staging-x86_64/PKGBUILD (from rev 
1079556, haskell-summoner/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 06:06:11 UTC (rev 1079557)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=summoner
+pkgname=haskell-summoner
+pkgver=2.0.1.1
+pkgrel=232
+pkgdesc="Tool for scaffolding fully configured batteries-included 
production-level Haskell projects."
+url="https://github.com/kowainik/summoner;
+license=('MPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-colourista' 
'haskell-generic-data' 'haskell-gitrev'
+ 'haskell-neat-interpolation' 'haskell-optparse-applicative' 
'haskell-relude'
+ 'haskell-shellmet' 'haskell-tomland' 'haskell-validation-selective')
+makedepends=('ghc' 'uusi' 'haskell-hedgehog' 'haskell-hspec' 
'haskell-hspec-hedgehog' 'haskell-tree-diff')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('5b6eee2848e2fb0b65d34f4a980ecd6e7766629a42394348dc2166e2216fc496')
+
+prepare(){
+  cd $_hkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+  uusi $_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=-fllvm \
+--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 || :
+}
+
+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   >